posix_spawn

c · standard library
sinkDerived from model facts
RoleSink
WeaknessCWE-78
WatchesArgument[1]
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[1]Argument[1]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[1] posix_spawn(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[1] 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[1]c.std.posixspawn.a1medium · corrob. 2