CWE-94 · CWE-94
CWE-94 (Improper Control of Generation of Code): Code Remediation & Guardrails
Apply fail-closed server-side controls and schema checks for CWE-94 across the Template / prompt / expression -> Code execution trust boundary.
Coverage ledger tracking key
standard:cwe-94::phase:remediation::skill:owasp-web-audit
ZAP 90021 Server Side Code Injection
Risk boundary
// Boundary risk for CWE-94
// Trust boundary crossed: Template / prompt / expression -> Code executionHardened guard
// Phase action (Code Remediation & Guardrails)
// Primary skill: owasp-web-audit | Companion: ai-llm-mcp-securityVerification steps
- 01Run owasp-web-audit focused on Template / prompt / expression -> Code execution.
- 02Pair any dynamic signal (ZAP 90021 Server Side Code Injection) with exact source file:line verification.
- 03Promote only proven candidates to confirmed in findings.json and SARIF 2.1.0.