npm · Malicious package advisory
Malwareexecute-char-char-stub-serialize
MAL-2025-186895
Malicious code in execute-char-char-stub-serialize (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7fe5d9354bb43f2724bc7efeec94e26f50bce0f7ac425402af053df136cd5c11) 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.