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