Skip to content

Commit 7a47200

Browse files
authored
Merge pull request #534 from sir-gon/security
[Security] [python] CVE-2024-6345 | CWE-94 | SNYK-PYTHON-SETUPTOOLS-7…
2 parents f2d7c14 + 909954d commit 7a47200

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/snyk-code.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ jobs:
1919
env:
2020
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2121
with:
22-
args: --sarif-file-output=snyk-code.sarif
22+
args: >
23+
--print-deps
24+
--file=requirements.txt
25+
--command=python3
26+
--sarif-file-output=snyk-code.sarif
2327
- name: Upload result to GitHub Code Scanning
2428
uses: github/codeql-action/upload-sarif@v3
2529
with:

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ pylint==3.2.5
1919
pyright==1.1.372
2020
pytest==8.2.2
2121
pytest-cov==5.0.0
22-
setuptools==71.0.4 # not directly required, pinned by Snyk to avoid a vulnerability
2322
tomli==2.0.1
2423
tomlkit==0.13.0
2524
typing_extensions==4.12.2

0 commit comments

Comments
 (0)