Malicious code in allied-red-damselfly (npm)
Malware
Published
Aug 31, 2026
to the GitHub Advisory Database
•
Updated Aug 31, 2026
Description
Published to the GitHub Advisory Database
Aug 31, 2026
Reviewed
Aug 31, 2026
Last updated
Aug 31, 2026
Source: amazon-inspector (0377768fdf7cb59c1039d9b5f755fcd1201539096199e2062212203a3c30f654)
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.
Credit: OpenSSF (source)
References