CWE-89 · CWE-89

CWE-89 (SQL Injection): Code Remediation & Guardrails

Apply fail-closed server-side controls and schema checks for CWE-89 across the Untrusted input -> Database engine query trust boundary.

Primary AegisSec skill
owasp-web-audit ->
Companion: zap-active-daemon-triage
Coverage ledger tracking key
standard:cwe-89::phase:remediation::skill:owasp-web-audit
ZAP 40018 SQL Injection
Risk boundary
// Boundary risk for CWE-89
// Trust boundary crossed: Untrusted input -> Database engine query
Hardened guard
// Phase action (Code Remediation & Guardrails)
// Primary skill: owasp-web-audit | Companion: zap-active-daemon-triage

Verification steps

  1. 01Run owasp-web-audit focused on Untrusted input -> Database engine query.
  2. 02Pair any dynamic signal (ZAP 40018 SQL Injection) with exact source file:line verification.
  3. 03Promote only proven candidates to confirmed in findings.json and SARIF 2.1.0.