fromstring

python · defusedxml.ElementTree
sanitizerDerived from model facts
RoleSanitizer
WeaknessCWE-611
WatchesArgument[0] -> ReturnValue
Kindxxe
Confidencehigh
Corroboration2

Sanitizer boundary: XML parsing can resolve external entities from attacker-controlled documents.

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.▲ sanitizer
The weakness
CWE-611
XML External Entity Reference

XML entities can resolve to external documents outside the intended control sphere.

What goes wrong
Attacker's-eye view · xxe

A crafted entity reads local resources or triggers server-side network requests during parsing.

// modeled boundary: Argument[0] -> ReturnValue fromstring(attacker_influenced_value);
To decide if this call is a bug, check
1Disable external entity resolution.
2Use a hardened parser configuration.
3Bound document size and expansion.
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] -> ReturnValue as a xxe sanitizer. 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 · xxe
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sanitizerxxeArgument[0] -> ReturnValuepython.defusedxmlelementtree.fromstring.a0-rethigh · corrob. 2