PyPI / itsdangerous / 2.2.0

itsdangerous 2.2.0

Source
https://github.com/pallets/itsdangerous
Tag scanned
2.2.0
Compared with
2.1.2 (0 signals introduced since)
Files
34 scanned, 12 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.4 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.1.0
Scanned (UTC)
2026-10-22 05:12

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/itsdangerous/url_safe.py:46:24

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

                try:
                    json = zlib.decompress(json)
                except Exception as e:
                    raise BadPayload(
    likely benign LLM, confidence 0.95 Optional zlib decompression of a serialized token payload in the itsdangerous URL-safe serializer.
    Reasoning

    This is itsdangerous' URL-safe serializer, which optionally zlib-compresses the JSON payload after signing and base64 decoding. The decompress call is on data from a signed token and wrapped in try/except raising BadPayload. This is a standard legitimate compression path, not a hidden dropper or embedded payload.

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.1.0
git clone https://github.com/pallets/itsdangerous itsdangerous && cd itsdangerous
git checkout 2.2.0
disclude scan --severity info --diff 2.1.2 .