npm / es-module-lexer / 3.0.4
es-module-lexer 3.0.4
- Source
- https://github.com/guybedford/es-module-lexer
- Artifact scanned
es-module-lexer-3.0.4.tgz- Compared with
es-module-lexer-3.0.3.tgz(12 signals introduced since)- Files
- 10 scanned, 1 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 12 info
- Scan time
- 7.3 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 6 of 6 warn and critical signals; 6 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 20:30
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
const e=!1;let a,i,r,s=2<<19;const f=1===?:,c="xportportlassrometavoyiedeleinstantyreturdebuggeawaithrwlikely benign Minified asm.js build of a JavaScript module lexer, with a long single line.Reasoning
A 67 KB minified line of asm.js-style JavaScript, with a keyword lookup string and a UTF-16/byte copy helper, is typical of a bundled parser lexer build. The raw long-line signal is a formatting artifact and nothing in the snippet shows exfiltration or dropper behaviour.
-
of Buffer?Buffer.:Uint8Array.;var A};let H;const ;exports.=init;constlikely benign Base64-embedded WebAssembly module decoded with atob and instantiated for a lexer's init function.Reasoning
The atob decode feeds WebAssembly.compile/Module of an embedded module blob, which is the normal way a bundled WASM lexer initialises. The decoded bytes go only to WebAssembly, not to eval or a shell or network call, and the surrounding code is a standard init pattern.
-
of Buffer?Buffer.:Uint8Array.;var A};let H;;constlikely benign ES-module build that decodes an embedded base64 WebAssembly binary and instantiates it.Reasoning
Same pattern as the CJS build: atob decodes an embedded base64 WASM binary that is compiled and instantiated through WebAssembly APIs. There is no eval, process spawn or network fetch of decoded content.
-
let e,a,r,i=2<<19;const s=1===?:,f="xportportlassrometavoyiedeleinstantyreturdebuggeawaithrwhileforifcalikely benign Minified asm.js lexer build with a keyword string table on one long line.Reasoning
Minified asm.js lexer with a keyword table and byte-copy helpers. Long lines are common in generated bundles, and the code contains no dangerous sinks.
-
of Buffer?Buffer.:Uint8Array.;var A};let w;const ;exports.=init;constlikely benign Minimal CJS lexer that decodes an embedded base64 WebAssembly module with atob.Reasoning
The minimal CJS build uses the same atob-to-WebAssembly.compile init path for an embedded module. The decoded data is only used as WASM bytes, which is consistent with a legitimate WASM-backed parser.
-
of Buffer?Buffer.:Uint8Array.;var A};let w;;constlikely benign Minimal ESM lexer with an embedded base64 WebAssembly module decoded at init.Reasoning
The minimal ESM build repeats the embedded-WASM init pattern: atob, then WebAssembly.compile and instantiate. No eval, shell or network sink is reached from the decoded blob.
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|
&&