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
- 85 scanned, 90 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 16 info
- Scan time
- 5.0 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 5 of 5 warn and critical signals; 5 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-16 19:10
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= =likely benign Size-limited decompression of an index HTTP response in distlib's locator.Reasoning
This is distlib's index-fetching code applying a size-limited zlib/gzip decompress to an HTTP response body with a limit check; it is a defensive decompression bomb guard, not a hidden payload. The pattern is legitimate.
-
= =likely benign Importing a package by name to locate its resource path in distlib's resource finder.Reasoning
Dynamic __import__ of a package name is the standard way to load a package before reading its __path__ in a resource finder; the package name comes from the caller's module name, not attacker-controlled network input. Severity is overstated for this legitimate library pattern.
-
= =likely benign Dotted-name resolver in distlib's util module importing a module by name.Reasoning
This is the standard resolve_name helper that imports a dotted module path to resolve a string reference, a common and expected utility in packaging libraries. No encoded payload or suspicious source is involved.
-
⟨U+00A0⟩⟨U+00A0⟩ └── nested_resource.binlikely benign Non-breaking space characters in the indentation of a documentation tree diagram.Reasoning
A non-breaking space in an RST directory-tree diagram's indentation is a common copy-paste artifact in documentation. It is harmless and has no code effect.
-
-
-
# 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 executing a generated test script through a shell via subprocess.Popen.Reasoning
This is a unit test running a script generated by the test's own maker fixture via shell=True. The command is test-controlled and the file is a test, so it is not a malicious runtime shell invocation, though shell=True with a generated path is a minor hygiene concern.
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.
&&