All rules →
Rules / PHP
SHIELD-PHP-003

OS command injection via shell execution functions

criticalPHPCWE-78CVSS 9.8

What it detects

A variable is passed to a shell command execution function enabling arbitrary command execution.

How to fix

Avoid shell calls with user data; use escapeshellarg/escapeshellcmd or safe library APIs.

Scan your repo freeFull documentation
Back to all rules
SHIELD-PHP-003: OS command injection via shell execution functions — Zennoxa Shield