MAL-2025-60742
Dashboard / Malicious Package / MAL-2025-60742
MAL-2025-60742
Summary: Malicious code in legal_heron_z3n (npm)
Details: Source: amazon-inspector (01312ce313b035f7407e8d7de4438088181514ebab7b29fa0bc45d897bed7726) 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.
References:
Affected packages
Package
Name: legal_heron_z3n
Purl: pkg:npm/legal_heron_z3n
Affected ranges
Type: SEMVER
Events:
