MAL-2026-20421
Vulnerability from ossf_malicious_packages – Published: 2026-11-24 04:14 – Updated: 2026-11-24 04:38 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| npm |
evt-dispatcher
|
1.0.51.0.21.0.41.0.61.0.3
|
Package presents as a ~10-line event emitter but index.js unconditionally loads a platform-selected native addon (native.napi.node on Linux/macOS, native_win.node on Windows) inside four repeated try/catch blocks, so merely require()ing the package runs the native code. The addon references the strings %s/.napi_cache, /tmp/.%u, %s.nc%lu.js, and node "%s", and imports fopen64/fread/fwrite/chmod/fork/setsid/execlp/_exit; the Windows build mirrors this via node.exe and CreateProcessA. A 1,328,481-byte sibling file .napi_cache is shipped at the package root with no printable strings — an opaque payload the loader decodes, writes to /tmp/.<n>.nc<n>.js, and executes with node. The addon also contains an evasion harness that checks for CI runners (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER), containers (/proc/1/cgroup, /proc/1/cmdline, dockerinit, /proc/meminfo, /proc/cpuinfo), and debuggers (TracerPid: in /proc/self/status, wireshark/httpdebug in /proc/self/maps, IsDebuggerPresent/CheckRemoteDebuggerPresent/CreateToolhelp32Snapshot on Windows) to gate execution so the dropper stays dormant in automated analysis environments and fires only on developer workstations. None of this behavior is required by, or related to, the advertised event-emitter API.
No description from this source.
No description from this source.
No description from this source.
No description from this source.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
native.napi.node
|
sha256
603b601b47d5783c947900baaa05eb76dc52ce87c8e0c49f8c78875ebe07fcf4tlsh
be72844bd3a0ed3ec4d86231598b527253a2d070ef30172f0f54a2bb2d933586e7ae52 |
| Evidence file |
.napi_cache
|
sha256
e32b41e2614984846110cb72547a046b3b4ed10c0b59c4aae8b63efbaf081262tlsh
3b557c0fca09931d3d2819ec2c8f18d530ccadd96469df52f9ac8967e2548b9314f6eb |
| Evidence file |
index.js
|
sha256
aa1b9ed6e669601d1cc67c8306cb228c16b56f2a8585dfc1658b0f0036e8ecf8tlsh
bb11804e63b4603c6eb813ea11f147467883e648158a161db9c8abf67ebccc91f90d77 |
| Package archive |
evt-dispatcher-1.0.5.tgz
|
sha1
69eeac5a98c10c650c7b9cd241c78c0eefcbfde3sha512_sri
sha512-xhM0S2tIvZpfRv4lcPt59xzh5REebMLGIe9tpPkHGoHVvfDcu6Hgs9qy7KPrQ3PJTLa/xUwgqcG9Ton+uV3cPQ== |
- CWE-506 - Embedded Malicious Code
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"path": "native.napi.node",
"sha256": "603b601b47d5783c947900baaa05eb76dc52ce87c8e0c49f8c78875ebe07fcf4",
"tlsh": "be72844bd3a0ed3ec4d86231598b527253a2d070ef30172f0f54a2bb2d933586e7ae52"
},
{
"path": ".napi_cache",
"sha256": "e32b41e2614984846110cb72547a046b3b4ed10c0b59c4aae8b63efbaf081262",
"tlsh": "3b557c0fca09931d3d2819ec2c8f18d530ccadd96469df52f9ac8967e2548b9314f6eb"
},
{
"path": "index.js",
"sha256": "aa1b9ed6e669601d1cc67c8306cb228c16b56f2a8585dfc1658b0f0036e8ecf8",
"tlsh": "bb11804e63b4603c6eb813ea11f147467883e648158a161db9c8abf67ebccc91f90d77"
}
],
"package_integrity": [
{
"filename": "evt-dispatcher-1.0.5.tgz",
"hashes": {
"sha1": "69eeac5a98c10c650c7b9cd241c78c0eefcbfde3",
"sha512_sri": "sha512-xhM0S2tIvZpfRv4lcPt59xzh5REebMLGIe9tpPkHGoHVvfDcu6Hgs9qy7KPrQ3PJTLa/xUwgqcG9Ton+uV3cPQ=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "evt-dispatcher"
},
"versions": [
"1.0.5",
"1.0.2",
"1.0.4",
"1.0.6",
"1.0.3"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-023075",
"import_time": "2026-11-24T04:37:06.501265882Z",
"modified_time": "2026-11-24T04:15:18Z",
"sha256": "1651e57ad7d57928d036520e53a98e0c6d1782349849ef77ea10b0d0c3a1c9e5",
"source": "amazon-inspector",
"versions": [
"1.0.5"
]
},
{
"id": "IN-MAL-2026-023073",
"import_time": "2026-11-24T04:37:06.253372013Z",
"modified_time": "2026-11-24T04:15:03Z",
"sha256": "3a77fa7dd4f3e60b14eafd6db3a21f082f3a304d4ae2dc9752f04225671e8d5e",
"source": "amazon-inspector",
"versions": [
"1.0.2"
]
},
{
"id": "IN-MAL-2026-023071",
"import_time": "2026-11-24T04:37:05.87677292Z",
"modified_time": "2026-11-24T04:14:48Z",
"sha256": "6606862f65d553a5686c7918df7a10dcd7af8062e262236db4814bf20eb673c5",
"source": "amazon-inspector",
"versions": [
"1.0.4"
]
},
{
"id": "IN-MAL-2026-023072",
"import_time": "2026-11-24T04:37:06.132671061Z",
"modified_time": "2026-11-24T04:14:57Z",
"sha256": "be108d02b7664da83f1f86a03ba9be247f385bd1a7d7dd82b9bc6cf96f658213",
"source": "amazon-inspector",
"versions": [
"1.0.6"
]
},
{
"id": "IN-MAL-2026-023074",
"import_time": "2026-11-24T04:37:06.383322441Z",
"modified_time": "2026-11-24T04:15:11Z",
"sha256": "fe178ae49d7280173364bc1cf09daa2472fb91e99e6775a647d6fbcdad0d61f6",
"source": "amazon-inspector",
"versions": [
"1.0.3"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1651e57ad7d57928d036520e53a98e0c6d1782349849ef77ea10b0d0c3a1c9e5)\nPackage presents as a ~10-line event emitter but index.js unconditionally loads a platform-selected native addon (`native.napi.node` on Linux/macOS, `native_win.node` on Windows) inside four repeated try/catch blocks, so merely `require()`ing the package runs the native code. The addon references the strings `%s/.napi_cache`, `/tmp/.%u`, `%s.nc%lu.js`, and `node \"%s\"`, and imports `fopen64`/`fread`/`fwrite`/`chmod`/`fork`/`setsid`/`execlp`/`_exit`; the Windows build mirrors this via `node.exe` and `CreateProcessA`. A 1,328,481-byte sibling file `.napi_cache` is shipped at the package root with no printable strings \u2014 an opaque payload the loader decodes, writes to `/tmp/.\u003cn\u003e.nc\u003cn\u003e.js`, and executes with `node`. The addon also contains an evasion harness that checks for CI runners (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER), containers (`/proc/1/cgroup`, `/proc/1/cmdline`, `dockerinit`, `/proc/meminfo`, `/proc/cpuinfo`), and debuggers (`TracerPid:` in `/proc/self/status`, `wireshark`/`httpdebug` in `/proc/self/maps`, `IsDebuggerPresent`/`CheckRemoteDebuggerPresent`/`CreateToolhelp32Snapshot` on Windows) to gate execution so the dropper stays dormant in automated analysis environments and fires only on developer workstations. None of this behavior is required by, or related to, the advertised event-emitter API.\n",
"id": "MAL-2026-20421",
"modified": "2026-11-24T04:38:36Z",
"published": "2026-11-24T04:14:48Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/evt-dispatcher/v/1.0.5"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/evt-dispatcher/v/1.0.2"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/evt-dispatcher/v/1.0.4"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/evt-dispatcher/v/1.0.6"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/evt-dispatcher/v/1.0.3"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in evt-dispatcher (npm)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.