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

Dangerous eval() usage

criticalJavaScript / TypeScriptCWE-95CVSS 9

What it detects

eval() executes arbitrary code and is a common attack vector.

How to fix

Remove eval(). Use JSON.parse() for data or refactor to avoid dynamic code execution.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JS-005: Dangerous eval() usage — Zennoxa Shield