resolve 1.22.13
- Source
- https://github.com/browserify/resolve
- Tag scanned
v1.22.13- Compared with
v1.22.12(0 signals introduced since)- Files
- 94 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 4 info
- Scan time
- 4.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 4 of 4 warn and critical signals; 4 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 14:09
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
// note: this must be require, not require.resolve, due to https://github.com/nodejs/node/issues/43274 var ; // eslint-disable-line no-loop-func t.;likely benign Test helper that dynamically requires each Node core module name to check it resolves.Reasoning
This is a test that loops over Node core module names and requires each one to confirm it loads. The eslint-disable comments and the nodejs issue link show a deliberate, known test pattern. The non-literal specifier is the point of the test and carries no sign of hiding code.
-
st.;likely benign Assertion that requiring each core module does not throw.Reasoning
Same pattern as the other core.js findings: a doesNotThrow assertion around require(mod) across the list of core modules. It is a legitimate assertion in a test suite.
-
st.;likely benign Assertion that requiring each core module does not throw, in a second test block.Reasoning
A second doesNotThrow assertion over core module names, with the same test-harness structure and eslint annotations. Nothing suggests obfuscation or malicious intent.
-
var dir = path.; var tester = ; // eslint-disable-line global-requirelikely benign Test loader that requires a fixture main.js from a fixed directory under __dirname.Reasoning
The require target is path.join of __dirname and a fixed fixture directory with main.js. It is a test fixture loader with an eslint global-require disable, which is ordinary test code and not an attacker-controlled specifier.
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.
&&