All rules →
Rules / Java
SHIELD-JAVA-003

OS Command Injection via ProcessBuilder

criticalJavaCWE-78CVSS 9.8

What it detects

ProcessBuilder constructed with concatenated arguments permits command injection.

How to fix

Use a fixed argument list and validate or allowlist any user-controlled arguments.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JAVA-003: OS Command Injection via ProcessBuilder — Zennoxa Shield