npm / baseline-browser-mapping / 2.11.30

baseline-browser-mapping 2.11.30

Source
https://github.com/web-platform-dx/baseline-browser-mapping
Tag scanned
v2.11.30
Compared with
v2.11.29 (0 signals introduced since)
Files
23 scanned, 16 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.2 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-20 22:25

Signals

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

  1. info warn → info by review dynamic-import spec/legacy-tests/legacy-test.cjs:7:13

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

    
      var lib = require(distPath);
      var getCompatibleVersions = lib.getCompatibleVersions;
    likely benign LLM, confidence 0.80 A legacy CJS test file loads a library from a variable path (distPath) via require.
    Reasoning

    The require call uses a variable path (distPath), which is a common pattern in test files that load a built distribution. The file is in a spec/legacy-tests directory, suggesting a test harness loading a local build artifact. The snippet alone does not show distPath being built from untrusted input, so the non-literal specifier is most likely a benign test-loading pattern, though it could in principle load arbitrary code.

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/web-platform-dx/baseline-browser-mapping baseline-browser-mapping && cd baseline-browser-mapping
git checkout v2.11.30
disclude scan --severity info --diff v2.11.29 .