Skip to main content
MalwarePublished

chain-await-dom (npm) · Malicious Code

Affects chain-await-domSource GCVE Database

0

Malicious package : remove chain-await-dom and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:58 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10202

What to do

Remove chain-await-dom from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmchain-await-domAffected
  • =1.3.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'chain-await-dom' version 1.3.4 contains malicious code that executes arbitrary remote JavaScript code with full Node.js privileges. The package exports a factory function that spawns a detached child process which fetches and executes code from remote endpoints, enabling remote code execution. The package also mimics the API of a legitimate logger to disguise its malicious behavior. Any project requiring this package triggers this execution, posing a severe security risk.

References

Community reviews

Loading reviews…