PyPI / redis / 8.1.0

redis 8.1.0

Source
https://github.com/redis/redis-py
Artifact scanned
redis-8.1.0-py3-none-any.whl (wheel · 547.5 KB · SHA-256 a4fe1aac3d3b…)
Compared with
redis-8.0.1-py3-none-any.whl (0 signals introduced since)
Files
120 scanned, 5 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.9 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-10-23 06:19

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 redis/http/http_client.py:419:24

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

                if "gzip" in encoding:
                    return gzip.decompress(content)
                if "deflate" in encoding:
                    # Try raw deflate, then zlib-wrapped
    likely benign LLM, confidence 0.95 Redis client decompresses gzip/deflate HTTP response bodies based on the Content-Encoding header, which is ordinary HTTP handling.
    Reasoning

    The snippet shows standard HTTP Content-Encoding handling: when the response encoding is gzip or deflate, the client decompresses the response body. The 'payload' is the HTTP response content, not an embedded blob, and the code path is a normal part of an HTTP client library. The decoder-decompress-payload signal is a false positive driven by the import of base64/gzip/zlib.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. 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.3.0
curl -fsSL -o redis-8.1.0-py3-none-any.whl https://files.pythonhosted.org/packages/66/9d/c5731f6e3608663d4d3656fd8d3aecee8b509c3082818f5a13eae925baea/redis-8.1.0-py3-none-any.whl
printf '%s  %s\n' a4fe1aac3d3b3cc791d4b3d5931c5a956045dc951ee74d1c913ee3ac4d2ee9fb redis-8.1.0-py3-none-any.whl | shasum -a 256 -c -
unzip -q redis-8.1.0-py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg