All rules →
Rules / Kotlin
SHIELD-KOTLIN-004

Command injection via ProcessBuilder with variable

criticalKotlinCWE-78CVSS 9.1

What it detects

ProcessBuilder constructed with an interpolated or concatenated variable can execute attacker-controlled commands.

How to fix

Pass a static list of arguments and never build the command line from untrusted data.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-004: Command injection via ProcessBuilder with variable — Zennoxa Shield