npm / mime-db / 1.54.0

mime-db 1.54.0

Source
https://github.com/jshttp/mime-db
Tag scanned
v1.54.0
Compared with
v1.53.0 (0 signals introduced since)
Files
13 scanned, 7 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
1.9 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:14

Signals

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

  1. info warn → info by review dynamic-import test/index.js:17:43

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

          if (!/-types\.json$/.test(file)) return
          types.push.apply(types, Object.keys(require(path + '/' + file)))
        })
    likely benign LLM, confidence 0.85 Test helper requires JSON type-fixture files discovered via directory listing and a filename regex.
    Reasoning

    The require call builds its specifier from a directory path and a filename that was filtered by a regex matching -types.json files inside a test. This is a common pattern for loading JSON fixtures from a directory listing. It is dynamic but not obfuscated and shows no sign of malicious intent; the path is internal to the test directory.

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/jshttp/mime-db mime-db && cd mime-db
git checkout v1.54.0
disclude scan --severity info --diff v1.53.0 .