Skip to main content
MalwarePublished

distinct_bat_z3n (npm) · Malicious Code

Affects distinct_bat_z3nSource GCVE Database

0

Malicious package : remove distinct_bat_z3n and rotate any secrets on hosts that installed it.

Data as of 10 Nov 2026, 16:42 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-55903

What to do

Remove distinct_bat_z3n 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
npmdistinct_bat_z3nAffected–Fixed in–

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

Description

The distinct_bat_z3n npm package is part of a malicious campaign linked to tea.xyz token rewards. It contains autopublish scripts that automatically generate and publish derivative packages with randomized names. The payload modifies package.json files to remove private flags, alters version numbers, and creates Indonesian-themed package names. This behavior results in continuous republishing of variants, polluting the npm registry with numerous malicious or spam packages.

Community reviews

Loading reviews…