distlib 0.4.4
- Source
- https://github.com/pypa/distlib
- Tag scanned
0.4.4- Compared with
0.4.3(0 signals introduced since)- Files
- 87 scanned, 88 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 16 info
- Scan time
- 4.9 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 5 of 5 warn and critical signals; 5 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 03:01
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= =likely benign Bounded decompression of an index HTTP response in distlib's package locator.Reasoning
The snippet shows decompress with a size limit (decode_size_limit) on an index response, a defensive bounded decompression pattern common in HTTP response handling. The decompressor usage is legitimate and the bomb-guard is visible.
-
= =likely benign Importing a package by name to locate its resources via __path__.Reasoning
Dynamic __import__ of a package name is the standard way distlib's resource finder loads a package by name before reading its __path__. Flagged as critical by the rule, but this is a known legitimate idiom in a packaging library; the package name is a caller-supplied module name, not attacker-controlled payload.
-
= =likely benign Dynamic module import while resolving a dotted path to an object in distlib util.Reasoning
Resolving a dotted path by importing module_name via __import__ is the usual resolver pattern for string-named callables in utility code. No encoding or hidden source is present; the module name is a configuration input.
-
⟨U+00A0⟩⟨U+00A0⟩ └── nested_resource.bindismissed A non-breaking space character in indentation of a documentation tree listing.Reasoning
A non-breaking space in the indentation of an RST tree diagram is a common copy-paste artifact in documentation. It has no code effect and is not a hidden instruction or payload.
-
-
-
# Try to bootstrap pip if it isn't found. if ! ; then # shellcheck disable=SC2155 -
-
-
# Install virtualenv as venv isn't available in all Python versions. ( -
( -
# Upgrade pip and setuptools. -
# Upgrade pip and setuptools. # Build wheels to the wheels subdirectory. -
# Build wheels to the wheels subdirectory. for; -
MINIMEXT_EMBED_EXTENSIONS_METADATA= \ -
= = , =likely benign Test code running a generated script file through subprocess with shell=True.Reasoning
This is a test exercising generated script execution via a shell; the command is a filename produced by the test's own maker fixture, not external input. Shell=True in a test harness is poor practice but not malicious here.
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.
&&