Files
hulud_check/entrypoint.sh
2025-11-26 12:31:46 +01:00

8 lines
347 B
Bash
Executable File

#!/bin/bash
echo "Get most recent defintions"
curl -s https://raw.githubusercontent.com/wiz-sec-public/wiz-research-iocs/refs/heads/main/reports/shai-hulud-2-packages.csv > sha1-hulud-2-packages.csv
echo "Format patterns"
tail -n +2 sha1-hulud-2-packages.csv | awk -F ',' '{print $1}' > patternfile
echo "Running check"
python3 -u check_gitlab.py