All rules →
Rules / Rust
SHIELD-RUST-004

Command injection via interpolated argument

criticalRustCWE-78CVSS 9.1

What it detects

Passing a format!-built string as a process argument can inject commands or flags.

How to fix

Pass fixed arguments as separate .arg() values; never build args from untrusted input.

Scan your repo freeFull documentation
Back to all rules
SHIELD-RUST-004: Command injection via interpolated argument — Zennoxa Shield