All rules →
Rules / Swift
SHIELD-SWIFT-004

Command injection via system call

criticalSwiftCWE-78CVSS 9.8

What it detects

A shell command is executed through system() or a shell with interpolated data.

How to fix

Do not pass user data to a shell; use Process with an explicit argument array.

Scan your repo freeFull documentation
Back to all rules
SHIELD-SWIFT-004: Command injection via system call — Zennoxa Shield