connect

python · sqlite3
sinkDerived from model facts
RoleSink
WeaknessCWE-22
WatchesArgument[0]
Kindpath-traversal
Confidencemedium
Corroboration2

Sink boundary: Input participates in a filesystem path that should remain inside a trusted directory.

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-22
Path Traversal

External input constructs a pathname that can escape its intended directory.

What goes wrong
Attacker's-eye view · path-traversal

Traversal segments, absolute paths, or links escape the intended root and reach another resource.

// modeled boundary: Argument[0] connect(attacker_influenced_value);
To decide if this call is a bug, check
1Resolve against a fixed root.
2Reject traversal and unexpected schemes.
3Check the resolved path before access.
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 path-traversal 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 · path-traversal
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sinkpath-traversalArgument[0]python.sqlite3.connect.a0medium · corrob. 2