---
canonical: "https://firewall.lpm.dev/npm/async-mutex-v2"
markdown: "https://firewall.lpm.dev/npm/async-mutex-v2/report.md"
package: "async-mutex-v2"
report_status: "published"
title: "async-mutex-v2@2.1.0 npm security report"
verdict: "malicious"
version: "2.1.0"
---

# async-mutex-v2@2.1.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked & quarantined** — A remote server can run arbitrary code in the consuming application's process, including loading modules and accessing local resources.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Block by default
- **Public report status:** Published
- **Threat category:** Remote Code Execution
- **Selected version:** 2.1.0
- **Selected version is latest:** Yes
- **Analysis source:** AI Security Review (lpm-firewall-ai)

LPM AI independently confirmed malicious behavior in this version and supplies the Firewall block.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

Direct 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.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-07-15T08:12:55.250Z
- **Finished:** 2026-07-15T08:13:43.627Z
- **Download time:** 262 ms
- **Static scan time:** 15 ms
- **AI review time:** 48099 ms
- **Total time:** 48377 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** The runtime export retrieves a remotely controlled JSON field and executes it as JavaScript with Node process capabilities. This is unrelated to the claimed mutex functionality and creates remote code execution for callers.

- **Trigger:** A consumer imports the package and invokes its default export.

- **Impact:** A remote server can run arbitrary code in the consuming application's process, including loading modules and accessing local resources.

- **Evidence paths:** index.js, package.json, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-07-15T08:13:43.627Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Remote payload fetch followed by \`new Function\` execution with privileged Node globals.

- **Attack narrative:** When a caller invokes the package's default export, \`index.js\` requests \`https://svganchordev.net/icons/108\`, parses JSON, and evaluates the server-controlled \`credits\` field through \`new Function\`. The payload is given \`require\`, \`process\`, global state, and timers, so the endpoint can supply arbitrary Node.js code. The documented mutex API is absent; the actual export is a remote code loader.

- **Rationale:** Direct 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.

- **Files touched:** index.js, package.json, README.md

- **Network endpoints:** https://svganchordev.net/icons/108

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** \`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.

- **Evidence against:** 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.

## Affected versions and remediation

This report applies to async-mutex-v2@2.1.0.

- 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.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Eval
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/async-mutex-v2@2.1.0/index.js>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L149: // Note: The code uses async/await, so we need to handle that
L150: const evalFn = new Function(
L151: 'require', 'module', 'exports', '__dirname', '__filename', 'console', 'process', 'global', 'Buffer', 'setTimeout', 'setInterval', 'clearTimeout', 'clearInterval', 'Promise',
```

### 3. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/async-mutex-v2@2.1.0/index.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = c06bd55d669269cb
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = font-hub@1.5.2
matchedPath = index.js
matchedIdentity = npm:Zm9udC1odWI:1.5.2
similarity = 1.000
shingleOverlap = 1
summary = package final verdict is malicious
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 9
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 9

### Published dependency entries
- @primno/dpapi ^2.0.1 (Dependency)
- axios ^1.11.0 (Dependency)
- better-sqlite3 ^12.2.0 (Dependency)
- express ^4.21.2 (Dependency)
- module-to-cdn ^3.1.5 (Dependency)
- node-machine-id ^1.1.12 (Dependency)
- request ^2.88.2 (Dependency)
- socket.io-client ^4.8.1 (Dependency)
- sqlite3 ^5.1.7 (Dependency)

## Package metadata
- **Package:** async-mutex-v2
- **Ecosystem:** npm
- **Version:** 2.1.0
- **License:** ISC
- **Version published:** 2026-07-14T10:30:13.625Z
- **Package first seen:** 2026-07-15T08:13:43.627Z
- **Package last seen:** 2026-07-15T08:13:43.627Z
- **Known versions:** 1
- **Latest version:** 2.1.0
- **Appeal under review:** No
- **Description:** A fast, lightweight, Promise-based mutex for JavaScript and TypeScript applications.
- **Author:** copperadev
- **Keywords:** react, helper, svg
- **Artifact files:** 3
- **Artifact unpacked size:** 12,588 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/async-mutex-v2>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-10582>)
- [PACKAGE](<https://www.npmjs.com/package/async-mutex-v2/v/2.1.0>)
- [ADVISORY](<https://github.com/advisories/GHSA-f829-g84r-2fq7>)
