CodeVetter
← All X-Rays
CodeVetter · local evidence export

Command injection via subprocess shell=True in Python

codevetter-public-benchmark/py-command-injection

detected · high confidence

Verification

Code reviewcompleted

Qualified static finding recorded.

Executable testnot verified

No exact-current runtime evidence is included.

Audiencenot run

No audience validation occurred.

Finding

highbenchmark ground truth

command injection

subprocess.run is called with shell=True and a string command containing user-controlled host, allowing shell metacharacters to inject arbitrary commands.

source.py:9