disciplinary_swallow_z3n (npm) · Malicious Code
Affects disciplinary_swallow_z3nSource GCVE Database
Malicious package : remove disciplinary_swallow_z3n and rotate any secrets on hosts that installed it.
Data as of 11 Nov 2026, 23:31 UTC
Malicious package
Published to npm · OSV MAL-2025-132857
What to do
Remove disciplinary_swallow_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
| Product | Affected | Fixed in |
|---|---|---|
| npmdisciplinary_swallow_z3n | 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 disciplinary_swallow_z3n is associated with a malicious campaign linked to tea.xyz token rewards. It contains autopublish scripts that automatically generate and publish derivative packages with randomized names to inflate developer reputation scores. The malicious payload alters package.json files to remove private flags, changes version numbers, and continuously republishes variants, polluting the npm registry with numerous packages.