create_subprocess_exec

python · asyncio
sinkDerived from model facts
RoleSink
WeaknessCWE-78
WatchesArgument[0]
Kindcommand-injection
Confidencemedium
Corroboration2

Sink boundary: Input reaches command grammar where shell or process syntax can change what executes.

Argument map · what each slot does

The pack does not provide a callable signature for this record; the watched access path is shown directly.

ArgAccess pathPurposeWatched
Argument[0]Argument[0]The access path Atropos marks for this model.▲ sink
The weakness
CWE-78
OS Command Injection

External input alters the syntax or behavior of an operating-system command.

What goes wrong
Attacker's-eye view · command-injection

An attacker adds separators, substitutions, or flags that turn a value into a second command or alter the first.

// modeled boundary: Argument[0] create_subprocess_exec(attacker_influenced_value);
To decide if this call is a bug, check
1Use a fixed executable and argument array.
2Keep shell parsing disabled where possible.
3Validate executable and argument domains.
These checks require the surrounding codebase. The model names the boundary; it does not decide reachability or prove that a guard dominates every path.
Is this a bug in your code?Atropos stops here — by design

Atropos identifies Argument[0] as a command-injection sink. It cannot see whether untrusted data reaches this call in your repository.

Lachesis is the codebase-level step: it traces reachability and guards for this symbol.

Check this symbol in Lachesis
The family · command-injection
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sinkcommand-injectionArgument[0]python.asyncio.createsubprocessexec.a0.nsmedium · corrob. 2
sinkcommand-injectionArgument[1]python.asyncio.createsubprocessexec.a1.nsmedium · corrob. 2