Browse Source

Add security scanning to CI pipeline
- Add pip-audit check to PR workflow (non-blocking warning)
- Add npm audit check to PR workflow (non-blocking, high severity only)
- Create scheduled weekly security audit workflow that:
- Runs strict pip-audit and npm audit
- Creates/updates GitHub issues when vulnerabilities found
- Uploads audit results as artifacts
- Supports manual trigger via workflow_dispatch

maziggy 4 months ago
parent
commit
580225a38d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/ci.yml
  2. 1 1
      .github/workflows/security.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -146,7 +146,7 @@ jobs:
 
       - name: Run npm audit
         working-directory: frontend
-        run: npm audit --audit-level=moderate
+        run: npm audit --audit-level=high
 
   frontend-typecheck:
     name: Frontend Type Check

+ 1 - 1
.github/workflows/security.yml

@@ -130,7 +130,7 @@ jobs:
         working-directory: frontend
         run: |
           npm audit --json > npm-audit-results.json || echo "vulnerabilities_found=true" >> $GITHUB_OUTPUT
-          npm audit --audit-level=moderate || true
+          npm audit --audit-level=high || true
 
       - name: Upload audit results
         if: always()