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