Skip to main content
MalwarePublished

break-after (npm) · Malicious Code

Affects break-afterSource GCVE Database

0

Malicious package : remove break-after and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 16:57 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12518

What to do

Remove break-after 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
npmbreak-afterAffected
  • =9999.0.0
Fixed in–

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

Description

The break-after npm package version 9999.0.0 contains malicious code in its preinstall script that executes automatically during npm install. This script collects sensitive environment information including hostname, username, current working directory, npm registry configuration, and CI/repository environment variables. It then exfiltrates this data via an HTTP GET request to a hardcoded IP address. This behavior is consistent with a dependency confusion reconnaissance payload designed to identify victim organizations and their private repository names.

References

Community reviews

Loading reviews…