crates.io / cookie / 0.18.3

cookie 0.18.3

Source
https://github.com/SergioBenitez/cookie-rs
Tag scanned
0.18.3
Compared with
0.18.2 (0 signals introduced since)
Files
21 scanned, 6 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 2 info
Scan time
2.7 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 2 of 2 warn and critical signals; 2 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-11-24 10:32

Signals

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

  1. info warn → info by review encoding-base64 src/secure/private.rs:258:18

    base64-like blob (56 bytes, compression ratio 1.20) (raw pass, confidence 0.60)

            jar.add(Cookie::new("encrypted_with_ring014",
                    "lObeZJorGVyeSWUA8khTO/8UCzFVBY9g0MGU6/J3NN1R5x11dn2JIA=="));
            jar.add(Cookie::new("encrypted_with_ring016",
                    "SU1ujceILyMBg3fReqRmA9HUtAIoSPZceOM/CUpObROHEujXIjonkA=="));
    likely benign LLM, confidence 0.90 Base64 test fixture holding a pre-encrypted cookie value for the cookie crate's private jar tests.
    Reasoning

    The blob is a base64 test vector for encrypted cookie values in a Rust cookie crate's private jar test suite. It is static test data used to verify decryption with a known key, not a dropper or hidden payload. The raw pass flags any base64-looking string, which is a known high false-positive pattern here.

  2. info warn → info by review encoding-base64 src/secure/private.rs:260:18

    base64-like blob (56 bytes, compression ratio 1.20) (raw pass, confidence 0.60)

            jar.add(Cookie::new("encrypted_with_ring016",
                    "SU1ujceILyMBg3fReqRmA9HUtAIoSPZceOM/CUpObROHEujXIjonkA=="));
    
            let private = jar.private(&key);
    likely benign LLM, confidence 0.90 Base64 test fixture for an encrypted cookie value used in the private jar tests.
    Reasoning

    Same situation as the neighbouring finding: a base64 encrypted cookie test vector in a cookie library's test code, followed by jar.private(&key) decryption. The raw-pass encoding heuristic matches ordinary base64 test data and shows no obfuscation or malicious behaviour.

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.3.0
git clone https://github.com/SergioBenitez/cookie-rs cookie-rs && cd cookie-rs
git checkout 0.18.3
disclude scan --untrusted --severity info --diff 0.18.2 .