npm · Malicious package advisory
Malwareallied_catfish_z3n
GHSA-c6hr-f9f6-2gqj
Malicious code in allied_catfish_z3n (npm)
Details
**Severity:** Critical **Affected versions:** `> 0` ## Source: amazon-inspector (e1aaec58cff559893896457c2715ace05d249fefff7676c84feb4dfb386f6259) This package appears to be part of the tea.xyz token reward campaign that flooded npm. These packages typically contain autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js) designed to automatically generate and publish derivative packages with randomized names to inflate developer reputation scores for tea protocol token rewards. The malicious payload modifies package.json to remove private flags, changes version numbers, generates random Indonesian-themed package names, and continuously republishes variants to pollute the npm registry. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/allied_catfish_z3n/MAL-2025-55159.json)) **References:** - https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/allied_catfish_z3n/MAL-2025-55159.json - https://github.com/advisories/GHSA-c6hr-f9f6-2gqj
Compromised versions (1)
- > 0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.