secure_getenv

c · standard library
sourceDerived from model facts
RoleSource
WeaknessCWE-20
WatchesReturnValue
Kinduntrusted-input
Confidencelow
Corroboration1

Source boundary: The operation receives data whose origin is outside the current trust boundary.

Argument map · what each slot does

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

No positional argument is specified; inspect the return value or named access path in the model facts below.
The weakness
CWE-20
Improper Input Validation

Input is accepted without validating the properties required for safe and correct processing.

What goes wrong
Attacker's-eye view · untrusted-input

A caller-controlled value travels through the program until a later operation gives it authority.

// modeled boundary: ReturnValue secure_getenv(attacker_influenced_value);
To decide if this call is a bug, check
1Name the source and trust boundary.
2Validate at the point of use.
3Trace all downstream consumers.
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 ReturnValue as a untrusted-input source. 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 · untrusted-input
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sourceuntrusted-inputReturnValuec.std.securegetenv.retlow · corrob. 1