npm / globals / 17.13.0

globals 17.13.0

Source
https://github.com/sindresorhus/globals
Tag scanned
v17.13.0
Compared with
v17.12.0 (0 signals introduced since)
Files
88 scanned, 3 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 2 info
Scan time
3.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.1.0
Scanned (UTC)
2026-10-22 12:32

Signals

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

  1. line length 1947 characters (raw pass, confidence 0.50)

    	<link href="data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2. info warn → info by review dynamic-import utilities.mjs:10:28

    dynamic `import(...)` with a non-literal specifier (ast pass, confidence 0.65)

    	try {
    		({default: data} = await import(file));
    	} catch (error) {
    		if (ignoreNonExits && error.code === 'ERR_MODULE_NOT_FOUND') {
    likely benign LLM, confidence 0.82 A dynamic import of a file path inside a try/catch that ignores missing-module errors, typical of a configuration or module loader utility.
    Reasoning

    The snippet shows a dynamic import of a caller-supplied file path inside a try block, with the catch specifically ignoring ERR_MODULE_NOT_FOUND when an ignoreNonExits flag is set. That is the standard shape of a module or config loader that tolerates missing optional files. Nothing shown is encoded, obfuscated, or network-facing, and the AST signal alone only reflects a non-literal specifier. The main doubt is that the file argument's origin is not visible, so a remote or attacker-influenced path cannot be fully ruled out.

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/sindresorhus/globals globals && cd globals
git checkout v17.13.0
disclude scan --severity info --diff v17.12.0 .