Malicious Code Injection in riyanto-poke50 Package
Summary
MAL-2025-165159: Malicious code in riyanto-poke50 (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-poke50 package is part of the npm ecosystem, often used in JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages typically contain scripts that automate the creation and publication of derivative packages, aimed at inflating developer reputation scores for token rewards. This behavior raises significant security concerns as it can lead to the proliferation of malicious code within the npm ecosystem.
Vulnerability Detail
The vulnerability in the riyanto-poke50 package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to continuously republish variants of the package, polluting the npm registry and potentially compromising other projects that depend on these packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's package management system to distribute harmful code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke50
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-poke50 package and replace it with a trusted alternative. Always review the packages you are using and ensure they come from reputable sources.
Conclusion
The riyanto-poke50 package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package from their projects and to monitor their dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for riyanto-poke50 →
FAQ
The riyanto-poke50 package is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code.
The malicious code modifies your package.json file, removes private flags, and can lead to the proliferation of harmful packages in the npm registry.
If you have installed the riyanto-poke50 package, you should uninstall it immediately using npm uninstall riyanto-poke50.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Yes, always look for well-reviewed and actively maintained packages in the npm registry that serve the same purpose as riyanto-poke50.