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+…⟩.
-
-
likely benign 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.
&&