All rules →
Rules / JavaScript / TypeScript
SHIELD-JS-009

Command injection via exec/spawn

criticalJavaScript / TypeScriptCWE-78CVSS 9.8

What it detects

Executing shell commands with unsanitized user input allows command injection.

How to fix

Avoid passing user input to shell commands. Use execFile with an argument array instead of exec.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JS-009: Command injection via exec/spawn — Zennoxa Shield