{"id":"MAL-2026-13955","revision":null,"records":[{"revision":"860ed655111942829e3f3a17c227b5b2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13955","aliases":["GHSA-2gqm-6m3p-62g5"],"title":"Malicious code in mutex-forge (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d3e6d6c8a6e7f9463fa8a07604b4699b1dba8415ee6759e3145b0cab183f4421)\nThe package presents itself as a mutex/semaphore library but contains a hidden second-stage loader in lib/Mutex.js. When runExclusive is invoked with a callback carrying meta.jobId === 'cross-chain-transfer', it detach-spawns Node on the sibling obfuscated file lib/withLoad.min.js. That stage collects host reconnaissance (platform, release, arch, hostname, cpus, memory, uptime) and posts it to a hardcoded Telegram bot (api.telegram.org, chat -1003952553968) and a hardcoded Slack channel (slack.com chat.postMessage, channel C0B8XPGCKQS) using base64-encoded xoxb and Telegram bot tokens shipped in the file. It then connects to Ethereum Sepolia via Alchemy (eth-sepolia.g.alchemy.com) and Infura (sepolia.infura.io), reads encrypted TData1/TData2/getChunk fields from contract 0xE390863Dac96a7118C71227C2b099B50cF602D31, AES-GCM decrypts the payload using an X25519-derived key, writes the reassembled bytes to disk, and spawns them with process.execPath detached. A third stage (lib/tryLoad.min.d.js) polls slack.com/api/conversations.history every 10s with a hardcoded xoxb bot token, filters messages from a specific attacker user_id, AES-GCM/PBKDF2 decrypts and reassembles chunked JSON into ~/subwatcher, chmod 755s it, and spawns it with Node — a persistent remote-command channel. The loader then unlinks lib/withLoad.min.js, lib/withLoad.min.d.js, and lib/tryLoad.min.d.js, rewrites lib/Mutex.js to strip the malicious branch (lines 25..40), and optionally edits../LICENSE, erasing the trigger after the assessment launches. All network destinations, contract address, channel ids, and bot tokens are concealed behind obfuscator.io-style rotated string arrays and base64. Live third-party Slack (xoxb-11307403103236-..., xoxb-11301867762550-...) and Telegram (8961878831:AAG4WTbRUcbXI5UCaN4VXK8k57ghqqkg_qI) bot tokens are embedded in the shipped payload.\n\n## Source: ghsa-malware (3de0a9fa65df037ea65a1ecebdf98528c3733f77e524b21f4c28358262f7cd12)\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","state":0,"publishedAt":"2026-08-13T16:20:23+00:00","modifiedAt":"2026-08-14T15:00:55.3348956+00:00","affected":[{"ecosystem":"npm","name":"mutex-forge","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.0.1","2.0.2","2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/mutex-forge/v/2.0.1","https://www.npmjs.com/package/mutex-forge/v/2.0.2","https://github.com/advisories/GHSA-2gqm-6m3p-62g5","https://www.npmjs.com/package/mutex-forge/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13955","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13955","identifiers":["MAL-2026-13955","GHSA-2gqm-6m3p-62g5"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-22T01:25:39.6647132+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T01:25:39.6647132+00:00","lastSuccessAt":"2026-11-22T01:25:39.8332435+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.8332445+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":430360,"lastAttemptAt":"2026-11-22T01:25:39.2446556+00:00","lastSuccessAt":"2026-11-22T01:25:35.2015713+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.2446556+00:00","snapshotPublishedAt":"2026-11-22T00:34:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-60c80451a48541f3a7a619f41737b884","complete":false,"records":13927,"lastAttemptAt":"2026-11-22T01:33:20.9225703+00:00","lastSuccessAt":"2026-11-22T01:33:20.916+00:00","error":"139 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T01:33:20.916+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13729,"expectedIdentifiers":13975,"failedIdentifiers":139},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-22T01:25:39.6647132+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T01:25:39.6647132+00:00","lastSuccessAt":"2026-11-22T01:25:39.8342802+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.8342809+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b1edd4eceb95489f963c5eaabafcc54b","complete":true,"records":13939,"lastAttemptAt":"2026-11-22T01:25:43.3832012+00:00","lastSuccessAt":"2026-11-22T00:26:00.267+00:00","error":null,"lastVerifiedAt":"2026-11-22T00:26:00.267+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T01:25:39.5170322+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.5170322+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T01:25:39.3052818+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.3052818+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-22T01:25:39.6286637+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.6286637+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-51ee6316df1f127212a04a5d14e44bd5b8320ce3e4eef0c5252608edb6cd3602","complete":true,"records":232850,"lastAttemptAt":"2026-11-22T01:25:39.4073394+00:00","lastSuccessAt":"2026-11-21T23:27:19.9062791+00:00","error":null,"lastVerifiedAt":"2026-11-22T01:25:39.4073394+00:00","snapshotPublishedAt":"2026-11-21T23:18:21+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}