PyPI / authlib / 1.9.1

authlib 1.9.1

Source
https://github.com/authlib/authlib
Artifact scanned
authlib-1.9.1-py2.py3-none-any.whl (wheel · 259.8 KB · SHA-256 8b9be8b1e517…)
Compared with
authlib-1.9.0-py2.py3-none-any.whl (0 signals introduced since)
Files
216 scanned, 4 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
3.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 10:00

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 authlib/jose/rfc7518/jwe_zips.py:24:28

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

            if s.startswith(GZIP_HEAD):
                decompressor = zlib.decompressobj()
            else:
                decompressor = zlib.decompressobj(-zlib.MAX_WBITS)
    likely benign LLM, confidence 0.95 JWE compression helper in the Authlib library that inflates DEF-compressed payloads using zlib.
    Reasoning

    The snippet shows zlib.decompressobj being chosen based on a gzip header check or raw deflate mode, which is the standard way to decompress JWE payloads when the JWE zip header parameter is DEF. This is a legitimate JOSE/RFC 7516 compression feature in a well-known authentication library, not an embedded hidden payload being executed.

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 authlib-1.9.1-py2.py3-none-any.whl https://files.pythonhosted.org/packages/39/44/a46089266de32a0d809023b6bf31b80a1f26a46954446a7ce695a565cbea/authlib-1.9.1-py2.py3-none-any.whl
printf '%s  %s\n' 8b9be8b1e5174dcbf5520e984f1a22dc2edae5b6e40a61d4cedbf86b97e9e69b authlib-1.9.1-py2.py3-none-any.whl | shasum -a 256 -c -
unzip -q authlib-1.9.1-py2.py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg