npm / @emnapi/runtime / 2.0.0-beta.2
@emnapi/runtime 2.0.0-beta.2
- Source
- https://github.com/toyobayashi/emnapi
- Artifact scanned
runtime-2.0.0-beta.2.tgz- Compared with
runtime-2.0.0-beta.1.tgz(0 signals introduced since)- Files
- 6 scanned, 2 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 2 info
- Scan time
- 3.7 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-24 00:30
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
makeDynamicFunction: , setFunctionName:likely benign A feature-gated helper in a bundled emnapi (Node-API for WebAssembly) library that creates functions via `new Function` with runtime-supplied arguments.Reasoning
The flagged call is `new Function(...args)` inside a `makeDynamicFunction` helper that is only set when `supportNewFunction` is true, otherwise undefined. This matches emnapi's N-API bridge, which builds named JS wrapper functions at runtime for WebAssembly-exported functions. The file is a dist bundle of a known WebAssembly/Node-API library, and the snippet shows no network access, process spawning, decoding of a payload, or obfuscated string construction. The dynamic execution is a feature-detected runtime helper, not evidence of a dropper. Residual doubt: the body is non-literal and the surrounding code is not shown, so the call sites cannot be checked.
-
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.
|
&&