All rules →
Rules / PHP
SHIELD-PHP-004

Command injection via backtick shell operator

criticalPHPCWE-78CVSS 9.1

What it detects

The backtick execution operator runs a shell command containing a variable.

How to fix

Do not use backtick execution with variables; validate input and use escapeshellarg.

Scan your repo freeFull documentation
Back to all rules
SHIELD-PHP-004: Command injection via backtick shell operator — Zennoxa Shield