PyPI / defusedxml / 0.7.1
defusedxml 0.7.1
- Source
- https://github.com/tiran/defusedxml
- Tag scanned
v0.7.1- Compared with
v0.7.0(0 signals introduced since)- Files
- 22 scanned, 23 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 1 info
- Scan time
- 3.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 03:28
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= = =likely benign defusedxml's internal helper that dynamically imports the wrapped stdlib XML module by its stored origin name.Reasoning
The stdlib name comes from `defused_mod.__origin__`, a module attribute set by the package itself, and the code then reads the same module back from sys.modules to collect its names. This is a standard compatibility pattern for wrapping stdlib XML modules, not an attacker-controlled import. The finding is a critical AST dynamic-import hit, but the snippet shows nothing that is hidden, encoded, or fed by external input.
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&