npm / keyv / 6.1.0

keyv 6.1.0

Source
https://github.com/jaredwray/keyv
Tag scanned
v6.1.0
Directory
core/keyv (only this part of the repository was scanned)
Compared with
nothing (first release scanned in full)
Files
35 scanned, 2 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 2 info
Scan time
6.3 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 19:03

Signals

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

  1. info dynamic-execution core/keyv/src/json-serializer.ts:29:9

    `btoa` encodes a value as base64 at runtime — used in exfiltration patterns (ast pass, confidence 0.55)

    
    	return btoa(binary);
    }
  2. info warn → info by review dynamic-execution core/keyv/src/json-serializer.ts:38:17

    `atob` decodes a base64 value at runtime — common step before dynamic fetch or eval (ast pass, confidence 0.75)

    
    	const binary = atob(value);
    	const bytes = new Uint8Array(binary.length);
    	for (let index = 0; index < binary.length; index++) {
    likely benign LLM, confidence 0.90 Client-side base64-to-bytes decoding helper in a JSON serializer module using atob and Uint8Array.
    Reasoning

    The snippet shows atob used to decode a base64 string into bytes via a loop over charCodes into a Uint8Array, a standard binary decoding routine for serializing binary data. There is no evaluation, fetch, or execution of the decoded data, so the flagged dynamic-execution signal is a pattern-match false positive on a common legitimate operation.

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/jaredwray/keyv keyv && cd keyv
git checkout v6.1.0
disclude scan --severity info core/keyv