Skip to main content
MalwarePublished

constitutional_swordfish_z3n (npm) · Malicious Code

Affects constitutional_swordfish_z3nSource GCVE Database

0

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

Data as of 11 Nov 2026, 23:13 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-132616

What to do

Remove constitutional_swordfish_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
npmconstitutional_swordfish_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 npm package constitutional_swordfish_z3n is part of a token reward campaign flooding the npm registry with malicious packages. These packages contain autopublish scripts that automatically generate and publish derivative packages with randomized names to inflate developer reputation scores for the tea protocol token rewards. The malicious payload modifies package.json files to remove private flags, change version numbers, and generate random Indonesian-themed or English package names, continuously republishing variants to pollute the npm registry.

Community reviews

Loading reviews…