mal-2026-12303
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (7eba320ce2333e7bd477470ded20a2be52a334069c482ab957b41772f347f63d)
On require of the package, index.js loads compat.js which reconstructs Cloudflare workers.dev hostnames via split-string array concatenation (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback under *.dl.well1.site, downloads a platform-specific binary via https.get, writes it to /var/tmp or the Windows temp directory under a masquerading name (.cache on Unix, dotnet_diag_.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd /c start. Misleading comments referencing an 'Analytics SDK', a 'DISABLE_TELEMETRY opt-out', and a 'SHA-256 integrity check' are present in the source; no such integrity check is implemented. A second copy of the same write-chmod-spawn dropper is staged in lib/telemetry.js (81 KB), reachable via dynamic loading. The require("child_"+"process") and fs["chmod"+"Sync"] patterns further evidence deliberate string-level evasion.
Source: ghsa-malware (3c78c39b3463beb1a218d783fb7bf3ce5a21092ae6fb1a1a4e6631e60fae4ea7)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
{
"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"
}
],
"indicators": {
"evidence_files": [
{
"path": "_compat.js",
"sha256": "7d8a19c43d6637c45ae0c6bce69228aa1134a377435ddff706f405b44bb8582e",
"tlsh": "00a1769a12aa711847b0ebe5c61b4416f65af663338082c8f79c65985fb2124c2b1efc"
},
{
"path": "lib/telemetry.js",
"sha256": "7e7a246ba48a66eb998465ed25426615d08e466a36cffa1a0e470ff3acc23803",
"tlsh": "88835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
}
],
"package_integrity": [
{
"filename": "twork-mf-e2e-nitro-20.8.5.tgz",
"hashes": {
"sha1": "ec93ad40b1e51fb1ea317ee52d3857a0bbf079f8",
"sha512_sri": "sha512-xXn+3BPYKoSkkDRzl8ibRFmV+10UPg4XSGrZ7HD3sp2hkG8vaGdgkMKATMiUF8ge4UvIZyw//3E9FrgG0MfsKA=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "twork-mf-e2e-nitro"
},
"versions": [
"20.8.5"
]
}
],
"aliases": [
"GHSA-3x7v-w9ww-h4vm"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-014611",
"import_time": "2026-08-05T09:28:30.407396753Z",
"modified_time": "2026-08-05T09:15:32Z",
"sha256": "7eba320ce2333e7bd477470ded20a2be52a334069c482ab957b41772f347f63d",
"source": "amazon-inspector",
"versions": [
"20.8.5"
]
},
{
"id": "GHSA-3x7v-w9ww-h4vm",
"import_time": "2026-08-25T17:25:28.065852522Z",
"modified_time": "2026-08-25T16:31:27Z",
"sha256": "3c78c39b3463beb1a218d783fb7bf3ce5a21092ae6fb1a1a4e6631e60fae4ea7",
"source": "ghsa-malware",
"versions": [
"20.8.5"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7eba320ce2333e7bd477470ded20a2be52a334069c482ab957b41772f347f63d)\nOn require of the package, index.js loads _compat.js which reconstructs Cloudflare workers.dev hostnames via split-string array concatenation (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback under *.dl.well1.site, downloads a platform-specific binary via https.get, writes it to /var/tmp or the Windows temp directory under a masquerading name (.cache_\u003chex\u003e on Unix, dotnet_diag_\u003chex\u003e.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd /c start. Misleading comments referencing an \u0027Analytics SDK\u0027, a \u0027DISABLE_TELEMETRY opt-out\u0027, and a \u0027SHA-256 integrity check\u0027 are present in the source; no such integrity check is implemented. A second copy of the same write-chmod-spawn dropper is staged in lib/telemetry.js (81 KB), reachable via dynamic loading. The require(\"child_\"+\"process\") and fs[\"chmod\"+\"Sync\"] patterns further evidence deliberate string-level evasion.\n\n## Source: ghsa-malware (3c78c39b3463beb1a218d783fb7bf3ce5a21092ae6fb1a1a4e6631e60fae4ea7)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n",
"id": "MAL-2026-12303",
"modified": "2026-08-25T17:27:31.941564262Z",
"published": "2026-08-05T09:15:32Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/twork-mf-e2e-nitro/v/20.8.5"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-3x7v-w9ww-h4vm"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in twork-mf-e2e-nitro (npm)"
}
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.
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.