CWE-78 · CWE-78

CWE-78 (OS Command Injection): Code Remediation & Guardrails

Apply fail-closed server-side controls and schema checks for CWE-78 across the User argument -> Shell sub-process trust boundary.

Primary AegisSec skill
owasp-web-audit ->
Companion: native-memory-protocols-dos
Coverage ledger tracking key
standard:cwe-78::phase:remediation::skill:owasp-web-audit
ZAP 90020 Remote OS Command Injection
Risk boundary
// Boundary risk for CWE-78
// Trust boundary crossed: User argument -> Shell sub-process
Hardened guard
// Phase action (Code Remediation & Guardrails)
// Primary skill: owasp-web-audit | Companion: native-memory-protocols-dos

Verification steps

  1. 01Run owasp-web-audit focused on User argument -> Shell sub-process.
  2. 02Pair any dynamic signal (ZAP 90020 Remote OS Command Injection) with exact source file:line verification.
  3. 03Promote only proven candidates to confirmed in findings.json and SARIF 2.1.0.