Repository navigation
v0.2.0 — Security Rules + SARIF
New Security Rules
- no-os-system —
os.system()is vulnerable to shell injection - no-subprocess-shell —
subprocess.run(shell=True)is a security risk - no-tempfile-race —
tempfile.mktemp()is deprecated and vulnerable to race conditions
SARIF Output
New --sarif flag outputs findings in SARIF 2.1.0 format for GitHub Code Scanning:
pycodegate . --sarif > results.sarifUpload to GitHub Actions with github/codeql-action/upload-sarif@v3 and get findings highlighted directly in your PR review UI.
Fixes
- CI workflow updated to use
pycodegatecommand (was still referencing oldpy-gatename) - 159 tests passing, self-score 100/100