All rules →
Rules / C/C++
SHIELD-CPP-008

Command injection via system

criticalC/C++CWE-78CVSS 9.8

What it detects

system called with a variable or concatenated string can execute attacker-controlled commands.

How to fix

Avoid the shell; use execve with a fixed argument vector and validated inputs.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CPP-008: Command injection via system — Zennoxa Shield