MAL-2025-170972
Dashboard / Malicious Package / MAL-2025-170972
MAL-2025-170972
Summary: Malicious code in bhavikghosh (npm)
Details: Source: amazon-inspector (70a99b1561025e1b0b48c9379b6d4c5fc2fe4a898f8c4d620585453299335b0c) 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: bhavikghosh
Purl: pkg:npm/bhavikghosh
Affected ranges
Type: SEMVER
Events:
