MAL-2025-171262
Dashboard / Malicious Package / MAL-2025-171262
MAL-2025-171262
Summary: Malicious code in ghanihaider (npm)
Details: Source: amazon-inspector (df5345f7027afa41bd72321ddedeb53ac07fc5a12b03bb3463f4c016de086f56) 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 (some variants are also in English), and continuously republishes variants to pollute the npm registry.
References:
Affected packages
Package
Name: ghanihaider
Purl: pkg:npm/ghanihaider
Affected ranges
Type: SEMVER
Events:
