CWE-942 · CWE-942
CWE-942 (Permissive Cross-Domain Policy): CI/CD Regression Prevention
Lock down regressions with Semgrep rules, tests, and SARIF gates for CWE-942 across the Untrusted origin -> Authenticated API response trust boundary.
Coverage ledger tracking key
standard:cwe-942::phase:ci-guard::skill:web-protocol-auth-audit
ZAP 40040 CORS check
Risk boundary
// Boundary risk for CWE-942
// Trust boundary crossed: Untrusted origin -> Authenticated API responseHardened guard
// Phase action (CI/CD Regression Prevention)
// Primary skill: web-protocol-auth-audit | Companion: zap-baseline-passiveVerification steps
- 01Run web-protocol-auth-audit focused on Untrusted origin -> Authenticated API response.
- 02Pair dynamic signal (ZAP 40040 CORS check) with exact source file:line proof.
- 03Promote only proven candidates to confirmed in findings.json and SARIF 2.1.0.