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