MAL-2026-12303Malicious code in twork-mf-e2e-nitro (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | twork-mf-e2e-nitro | 20.8.5 |
{"schema_version":"1.7.4","id":"MAL-2026-12303","published":"2026-08-05T09:15:32Z","modified":"2026-08-25T17:27:31.941564262Z","aliases":["GHSA-3x7v-w9ww-h4vm"],"summary":"Malicious code in twork-mf-e2e-nitro (npm)","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_<hex> on Unix, dotnet_diag_<hex>.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.\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","affected":[{"package":{"name":"twork-mf-e2e-nitro","ecosystem":"npm"},"versions":["20.8.5"],"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=="}}]}}}],"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"}],"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"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0