Initial commit

This commit is contained in:
2025-11-26 11:27:27 +01:00
commit 079f573fd6
4 changed files with 200 additions and 0 deletions

16
Containerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.13-slim-trixie
WORKDIR /opt/hulud_check
RUN apt-get update && apt-get install -y ripgrep git
ADD check_gitlab.py .
ADD pyproject.toml
RUN pip install .
COPY <<EOF /entrypoint.sh
#!/bin/bash
curl https://raw.githubusercontent.com/wiz-sec-public/wiz-research-iocs/refs/heads/main/reports/shai-hulud-2-packages.csv > sha1-hulud-2-packages.csv
tail -n +2 sha1-hulud-2-packages.csv | awk -F ',' '{print $1}' > patternfile
python3 check_gitlab.py
EOF
ENTRYPOINT []