npm / fast-json-stable-stringify / 2.1.0

fast-json-stable-stringify 2.1.0

Source
https://github.com/epoberezkin/fast-json-stable-stringify
Tag scanned
v2.1.0
Compared with
v2.0.0 (0 signals introduced since)
Files
13 scanned, 2 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.1 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:39

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 dynamically requires packages named in a local lookup table to compare stringify libraries.
    Reasoning

    The require(name) call sits in a benchmark harness that iterates over a fixed, developer-authored map of package names (stringifyPackages) to load comparison libraries. The name comes from a local constant table, not untrusted input, so the dynamic require is a normal pattern for loading benchmark targets.

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/epoberezkin/fast-json-stable-stringify fast-json-stable-stringify && cd fast-json-stable-stringify
git checkout v2.1.0
disclude scan --severity info --diff v2.0.0 .