Skip to content
Heist/ feed
Unrated

Malicious code in async-mutex-v3 (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (699abe52cb380ae997f200e0615bfce84cd52d11b98a54244ce5b30478fab336) Package name typosquats `async-mutex` but ships unrelated functionality. The default export `getPlugin` in index.js issues an HTTP request to a hardcoded bare IP endpoint (http://46.183.25.232:45000/icons/108) and passes the response's `credits` field into `new Function('require','module',...,'Promise', data.credits)`, executing attacker-controlled JavaScript with Node privileges (access to require, process, Buffer). Cover-story variable names (`IconProvider`, `iconDomain` referencing cloudflare/fastly/akamai/gcore, path `/ajax/libs/font-awesome/...`, header `bearrtoken: 'logo'`) frame the code as an icon CDN helper, while the actually-used path hits the bare IP. Declared dependencies (better-sqlite3, @primno/dpapi, node-machine-id) are consistent with a credential-stealer post-exploitation pipeline. Any consumer that requires this package and invokes the default export executes whatever JavaScript the remote server returns.

Announced Source revision 1
Original source ↗

MAL-2026-12514

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-12514

async-mutex-v3

Source reference: /affected/0/package/name

Affected versions
3.1.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "async-mutex-v3",
      "purl": "pkg:npm/async-mutex-v3",
      "ecosystem": "npm"
    },
    "versions": [
      "3.1.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/async-mutex-v3/MAL-2026-12514.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "30c1616546fa31a36a67e4eef30f10027165e313365de971f48e42902fca568e5f24e8",
            "sha256": "ce2c680ca6b7355d73cbc131465fc6b2f2508f367b57ecb27a3b05e6e247213f"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "f4adff48d931d29fc8bd875bab153d0cf039bbe2",
              "sha512_sri": "sha512-5gHn8hGVKY84Z+ldKvzIGUrxshf6miV5VMmXSZAsH+smtNWJZNKlOpmt9asxDfQ3fMKLIYm5ySf79mhQfcENbQ=="
            },
            "filename": "async-mutex-v3-3.1.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#10916 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement