crates.io / cookie / 0.19.0-rc.0
cookie 0.19.0-rc.0
- Source
- https://github.com/SergioBenitez/cookie-rs
- Tag scanned
0.19.0-rc.0- Compared with
0.18.3(2 signals introduced since)- Files
- 20 scanned, 6 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 4 info
- Scan time
- 4.8 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 4 of 4 warn and critical signals; 4 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-11-24 10:31
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
jar.add; jar.add;likely benign Base64 valid and invalid cookie fixtures for private jar authentication tests.Reasoning
The cookies named valid and invalid hold base64 ciphertext in a test that checks private jar decryption accepts a valid value and rejects a tampered one. The blob is test data, not an obfuscated payload, and the raw-pass signal does not indicate malicious intent.
-
jar.add; let private = jar.private;likely benign Base64 invalid cookie fixture used to test rejection of bad ciphertext.Reasoning
This is the invalid cookie fixture from the same test, deliberately corrupted so that decryption fails. The base64 is intentional test input, and the file context is a cookie library's test suite.
-
jar.add; jar.add;likely benign Base64 ciphertext test vectors for private cookie jar decryption tests.Reasoning
The snippet sits in a Rust cookie-jar test that adds pre-encrypted cookie values named encrypted_with_ring014 and encrypted_with_ring016 before decrypting them with jar.private(&key). These are fixed ciphertext test vectors for a compatibility test, not a payload. The raw pass flags base64 in general, and this is a legitimate use of it.
-
jar.add; let private = jar.private;likely benign Another base64 encrypted cookie fixture used in the private jar test.Reasoning
Same test function as the other finding: the blob is a stored encrypted cookie value added to a jar and then read back through the private jar. It is a fixed fixture for verifying decryption, and the raw-pass base64 signal is a false positive here.
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.
&&