MAL-2026-10582Malicious code in async-mutex-v2 (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | async-mutex-v2 | * |
| npm | async-mutex-v2 | 2.1.0 |
{"schema_version":"1.7.4","id":"MAL-2026-10582","published":"2026-07-14T14:01:47Z","modified":"2026-08-18T00:21:54.827918142Z","aliases":["GHSA-f829-g84r-2fq7"],"summary":"Malicious code in async-mutex-v2 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7df420be80a00abb5efead6e83b37885cc37a347641386c0633719197dcb3dc5)\nPackage published as 'async-mutex-v2' advertises itself as a Promise-based mutex but ships no mutex implementation. The main entry (index.js) exports getPlugin(), which performs an HTTPS request to https://svganchordev.net/icons/108 and passes the response field data.credits into `new Function('require','module',...,'Promise', data.credits)`, executing attacker-supplied JavaScript with full Node capabilities (require, process, Buffer, etc.) on the caller's host. A separate setDefaultModule routine referencing font-awesome/cdnjs strings acts as a decoy consistent with the icon-themed exfil host. Declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are not used by any shipped code and are the standard toolkit for Windows DPAPI decryption, Chromium 'Login Data'/'Cookies' SQLite extraction, and host fingerprinting — capabilities that only make sense when invoked by the remotely-fetched payload. The package name, description ('Promise-based mutex'), and keywords (react, helper, svg) do not match the shipped code or dependencies, indicating a lookalike/cover-story around async-mutex.\n\n## Source: ghsa-malware (a35836104bfc05d034a1b5a01f3c0dca5a22b1b81ade49a0cd500e1caa60ab00)\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":"async-mutex-v2","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.1.0"],"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":"index.js","sha256":"bbf2e5eb654fae0b706618a4172fda87c34834fb2bfeb503bb5a262dd8d3b0b8","tlsh":"ebc1616546fa31a36a67e4eef30f10027165e3133759e971f48e42902fca568e5f24e8"},{"path":"package.json","sha256":"26ea17b79795f3d1f2efd1a470a8e4fb6e92235811e8b744f07a4aaed772158e","tlsh":"6ef04411ce21deb314d625a7a828809aa150d95b8d00fc0c339a8a6d4f0e56f3afb26c"}],"package_integrity":[{"filename":"async-mutex-v2-2.1.0.tgz","hashes":{"sha1":"6c0f7ea2407409f3eef834092155c4d2dedf529c","sha512_sri":"sha512-AjhIyeXu3pExlsrAe/7ucyN6vMVUdf3uYKRJWVfu9JMwJUIUOWcRFaNOBLeFa9MfFMktN/x8sXaS74gM3zneNw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/async-mutex-v2/v/2.1.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f829-g84r-2fq7"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010523","import_time":"2026-07-14T14:37:53.111393223Z","modified_time":"2026-07-14T14:01:47Z","sha256":"7df420be80a00abb5efead6e83b37885cc37a347641386c0633719197dcb3dc5","source":"amazon-inspector","versions":["2.1.0"]},{"id":"GHSA-f829-g84r-2fq7","import_time":"2026-08-18T00:20:04.632162128Z","modified_time":"2026-08-17T14:12:19Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a35836104bfc05d034a1b5a01f3c0dca5a22b1b81ade49a0cd500e1caa60ab00","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0