CWE-352 · CWE-352

CWE-352 (Cross-Site Request Forgery (CSRF)): Code Remediation & Guardrails

Apply fail-closed server-side controls and schema checks for CWE-352 across the Cross-site origin -> Privileged user state change trust boundary.

Primary AegisSec skill
web-protocol-auth-audit ->
Companion: owasp-web-audit
Coverage ledger tracking key
standard:cwe-352::phase:remediation::skill:web-protocol-auth-audit
ZAP 10202 Anti-CSRF
Risk boundary
// Boundary risk for CWE-352
// Trust boundary crossed: Cross-site origin -> Privileged user state change
Hardened guard
// Phase action (Code Remediation & Guardrails)
// Primary skill: web-protocol-auth-audit | Companion: owasp-web-audit

Verification steps

  1. 01Run web-protocol-auth-audit focused on Cross-site origin -> Privileged user state change.
  2. 02Pair any dynamic signal (ZAP 10202 Anti-CSRF) with exact source file:line verification.
  3. 03Promote only proven candidates to confirmed in findings.json and SARIF 2.1.0.