Malicious Code Injection in riyanto-poke55: A Threat to npm Users
Summary
MAL-2025-165164: Malicious code in riyanto-poke55 (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The riyanto-poke55 package is part of a broader campaign targeting npm users, specifically linked to the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in riyanto-poke55 stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the security of applications that depend on this package. The origin of this vulnerability is linked to a campaign that exploits npm's publishing mechanisms to gain undue advantages in reputation scoring.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke55
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, you can avoid using the riyanto-poke55 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like Vulert to monitor for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The riyanto-poke55 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the security and integrity of their applications.
See every vulnerability recorded for riyanto-poke55 →
FAQ
Riyanto-poke55 is an npm package linked to a token reward campaign that generates and publishes derivative packages to inflate developer reputation scores.
The malicious code modifies your package.json, potentially leading to security risks and pollution of the npm registry with unwanted packages.
You should uninstall the package immediately using npm uninstall riyanto-poke55 and check your project for any other affected packages.
Yes, regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.