Skip to content

Commit 4aecc69

Browse files
fix(ci): remove tpm2-tools from system dependencies in codeql-advanced.yml
1 parent 82d45cd commit 4aecc69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codeql-advanced.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,13 @@ jobs:
197197
echo "Scanning for AI/ML security vulnerabilities..."
198198
199199
# Check for hardcoded model paths
200-
grep -r "\.gguf|\.bin|\.pt|\.onnx" --include="*.py" --include="*.go" --include="*.rs" . || echo "No hardcoded model paths found"
200+
grep -r "\.gguf\|\.bin\|\.pt\|\.onnx" --include="*.py" --include="*.go" --include="*.rs" . || echo "No hardcoded model paths found"
201201
202202
# Check for insecure model loading
203-
grep -r "torch\.load|pickle\.load|joblib\.load" --include="*.py" . || echo "No insecure model loading found"
203+
grep -r "torch\.load\|pickle\.load\|joblib\.load" --include="*.py" . || echo "No insecure model loading found"
204204
205205
# Check for prompt injection vulnerabilities
206-
grep -r "eval|exec|subprocess" --include="*.py" --include="*.go" . || echo "No dangerous execution patterns found"
206+
grep -r "eval\|exec\|subprocess" --include="*.py" --include="*.go" . || echo "No dangerous execution patterns found"
207207
208208
- name: Upload security scan results
209209
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)