bb-twl-k7x2 (npm) · Malicious Code
Affects bb-twl-k7x2Source GCVE Database
Malicious package : remove bb-twl-k7x2 and rotate any secrets on hosts that installed it.
Data as of 12 Aug 2026, 20:27 UTC
Malicious package
Published to npm · OSV MAL-2026-13920
What to do
Remove bb-twl-k7x2 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
| Product | Affected | Fixed in |
|---|---|---|
| npmbb-twl-k7x2 | Affected
| 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 bb-twl-k7x2 versions 1.0.0 and 1.0.1 contains malicious install and postinstall scripts that perform reconnaissance on the installer's machine. These scripts collect system information such as hostnames, network interfaces, directory listings, environment variables, and sensitive credential files including npm and AWS credentials. The collected data is exfiltrated via an unencrypted HTTP GET request to a hardcoded third-party server. Despite the package's self-description as a bug-bounty canary, it performs unauthorized credential-path reconnaissance and host enumeration during installation.