dian-naget56-riris (npm) · Malicious Code
Affects dian-naget56-ririsSource GCVE Database
Malicious package : remove dian-naget56-riris and rotate any secrets on hosts that installed it.
Data as of 4 Nov 2026, 19:54 UTC
Malicious package
Published to npm · OSV MAL-2025-50244
What to do
Remove dian-naget56-riris from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmdian-naget56-riris | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package dian-naget56-riris contains malicious code linked to the tea.xyz token reward campaign that flooded npm with over 15,000 spam packages in 2024. This malware uses autopublish scripts to automatically generate and publish derivative packages with randomized Indonesian-themed names. The payload modifies package.json files to remove private flags, changes version numbers, and continuously republishes variants to pollute the npm registry and inflate developer reputation scores for token rewards.