async-mutex-v2
A fast, lightweight, Promise-based mutex for JavaScript and TypeScript applications.
This report shows the evidence for async-mutex-v2@2.1.0, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiDirect source inspection confirms a remotely controlled arbitrary-code execution path exposed by the package runtime API. The absent lifecycle hook limits install-time behavior but does not mitigate the concrete runtime RCE.
Decision evidence
public snapshot- `index.js` fetches a remote response from `https://svganchordev.net/icons/108`.
- `index.js` passes remote `data.credits` directly to `new Function(...)`.
- The evaluated payload receives `require`, `process`, `global`, `Buffer`, and filesystem-relative paths.
- The package exports this remote-loader instead of the documented `Mutex` API.
- `package.json` has no lifecycle hook, but runtime invocation enables arbitrary remote code.
- No install, preinstall, or postinstall lifecycle script is declared.
- No direct credential collection or file writes are present in the inspected source before remote payload execution.
Source & flagged code
2 flagged · loading sourceSource fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to async-mutex-v2@2.1.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing async-mutex-v2@2.1.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.