npm / fast-json-stable-stringify / 2.1.0

fast-json-stable-stringify 2.1.0

Source
https://github.com/epoberezkin/fast-json-stable-stringify
Artifact scanned
fast-json-stable-stringify-2.1.0.tgz (npm tarball · 6.2 KB · SHA-256 1e2df822c43e…)
Compared with
fast-json-stable-stringify-2.0.0.tgz (0 signals introduced since)
Files
16 scanned, 2 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
3.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.3.0
Scanned (UTC)
2026-10-23 22:42

Signals

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

  1. info warn → info by review dynamic-import benchmark/index.js:19:29

    `require` called with a non-literal specifier (ast pass, confidence 0.60)

      let func = stringifyPackages[name];
      if (func === true) func = require(name);
    
      suite.add(name, function() {
    likely benign LLM, confidence 0.90 A benchmark script calls require with a variable package name taken from a local table of stringifier packages.
    Reasoning

    The require call uses the loop variable name, which iterates over a fixed set of benchmark package names defined in the benchmark harness. This is a dev-only benchmark script loading known stringifier packages; no decoding, network, or process execution is involved. Dynamic require here is a normal benchmarking pattern rather than obfuscation or malicious behavior.

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 fast-json-stable-stringify-2.1.0.tgz https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz
printf '%s  %s\n' 1e2df822c43e0a2b448e5df79bf8e6d3e085c86e30456cd383a2f96215fd1687 fast-json-stable-stringify-2.1.0.tgz | shasum -a 256 -c -
mkdir pkg && tar -xzf fast-json-stable-stringify-2.1.0.tgz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg