search_s

python · ldap · Connection
sinkDerived from model facts
RoleSink
WeaknessCWE-90
WatchesArgument[2]
Kindldap-injection
Confidencemedium
Corroboration2

Sink boundary: Input reaches LDAP query grammar and can alter the directory search.

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[2]Argument[2]The access path Atropos marks for this model.▲ sink
The weakness
CWE-90
LDAP Injection

External input changes the structure or meaning of an LDAP query.

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

Special LDAP characters change the filter or distinguished name and broaden or redirect the query.

// modeled boundary: Argument[2] search_s(attacker_influenced_value);
To decide if this call is a bug, check
1Use the library's escaping or parameter API.
2Keep filter structure fixed.
3Validate identifiers for their expected domain.
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[2] as a ldap-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 · ldap-injection
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sinkldap-injectionArgument[2]python.ldap.searchs.a2medium · corrob. 2