npm / ignore / 7.0.12

ignore 7.0.12

Source
https://github.com/kaelzhang/node-ignore
Tag scanned
7.0.12
Compared with
7.0.11 (0 signals introduced since)
Files
18 scanned, 2 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.4 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.0.0
Scanned (UTC)
2026-10-14 19:09

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/worker.js:19:16

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

    
    const ignore = require(process.argv[2])
    
    const NS_PER_MS = 1e6
    likely benign LLM, confidence 0.85 Benchmark worker that requires a module whose path is taken from the first command-line argument.
    Reasoning

    The require specifier comes from process.argv[2], a command-line argument. In a benchmark worker this is a developer-run script loading a module path passed by the benchmark harness. It is a dynamic require from local input, not a remote payload or obfuscated dropper. Still, it is an unvalidated dynamic module load, so a small doubt remains about how the argument is supplied.

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.0.0
git clone https://github.com/kaelzhang/node-ignore node-ignore && cd node-ignore
git checkout 7.0.12
disclude scan --severity info --diff 7.0.11 .