registry  /  async-mutex-v2  /  2.1.0

async-mutex-v2@2.1.0

A fast, lightweight, Promise-based mutex for JavaScript and TypeScript applications.

OSV Malicious Advisory

scanned 2h ago · by OpenSSF/OSV

OpenSSF/OSV advisory MAL-2026-10582 confirms this npm version as malicious. Package 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...

Advisory
MAL-2026-10582
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in async-mutex-v2 (npm)
Details
Package 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms async-mutex-v2@2.1.0 as malicious (MAL-2026-10582): Malicious code in async-mutex-v2 (npm)

Source & flagged code

0 flagged
No flagged code excerpts are attached to this scan.

Findings

1 High
HighOsv Malicious Advisory