npm · Malicious package advisory
Malwarelegislative_tiglon_z3n
GHSA-m589-pv4r-qq75
Malicious code in legislative_tiglon_z3n (npm)
Details
**Severity:** Critical **Affected versions:** `> 0` ## Source: amazon-inspector (fb9b3026fd21555a1d30b2ec705ca30368bee7f3c08f751d587a2e7d19b8ba3b) 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/934165475d54679a7cd445f025bb8c97422cc949/osv/malicious/npm/legislative_tiglon_z3n/MAL-2025-60744.json)) **References:** - https://github.com/ossf/malicious-packages/blob/934165475d54679a7cd445f025bb8c97422cc949/osv/malicious/npm/legislative_tiglon_z3n/MAL-2025-60744.json - https://github.com/advisories/GHSA-m589-pv4r-qq75
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.