Skip to main content
MalwarePublished Updated

bt2-api-gateway-node-js (npm) · Malicious Code

Affects bt2-api-gateway-node-jsSource GCVE Database

0

Malicious package : remove bt2-api-gateway-node-js and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 22:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15813

What to do

Remove bt2-api-gateway-node-js 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
npmbt2-api-gateway-node-jsAffected
  • =999.0.1
  • =999.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 npm package 'bt2-api-gateway-node-js' versions 999.0.0 and 999.0.1 contains malicious code that executes during post-installation. This code collects sensitive secrets from the user's environment, including private keys and credentials from various cloud and development tools, environment variables with tokens and passwords, then exfiltrates this data encoded to a Telegram Bot API endpoint and a suspicious IP address over plain HTTP. The malicious behavior includes evasion techniques to avoid detection in CI environments and sandboxes. This package is identified as a dependency confusion lure targeting an internal package name.

References

Community reviews

Loading reviews…