PyPI / httpx2 / 2.15.0

httpx2 2.15.0

Source
https://github.com/pydantic/httpx2
Tag scanned
v2.15.0
Directory
src/httpx2 (only this part of the repository was scanned)
Compared with
v2.14.0 (0 signals introduced since)
Files
31 scanned, 2 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
3.0 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.0.0
Scanned (UTC)
2026-10-19 21:25

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review decoder-decompress-payload src/httpx2/httpx2/_decoders.py:74:24

    file imports decoder module(s) codecs, zlib and calls `.decompress()` — embedded payload decompressed at runtime (ast pass, confidence 0.75)

        def decompress(self, data: bytes) -> typing.Iterator[bytes]:
            decompressed = self.decompressor.decompress(data, MAX_DECODE_CHUNK_SIZE)
            while decompressed:
                yield decompressed
    likely benign LLM, confidence 0.95 Streaming HTTP response decompression helper that decompresses network response data in bounded chunks.
    Reasoning

    This is an HTTP content-decoding routine in an httpx-style library. It calls zlib/codecs decompress on response body chunks with a bounded chunk size, which is the standard streaming decompression pattern for gzip/deflate Content-Encoding. The signal fires on a generic .decompress() call; no embedded payload, dropper pipeline, or dynamic execution is present in the snippet, and the file context matches a legitimate HTTP decoder module.

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.

cargo install disclude --version 4.0.0
git clone https://github.com/pydantic/httpx2 httpx2 && cd httpx2
git checkout v2.15.0
disclude scan --severity info --diff v2.14.0 src/httpx2