Malicious Code Injection in riyanto-poke53: A Threat to npm Users
Summary
MAL-2025-165162: Malicious code in riyanto-poke53 (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-poke53 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and sharing of code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability originates from the riyanto-poke53 package being associated with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants to the npm registry, leading to pollution of the registry and potential security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke53
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 measure, avoid using the riyanto-poke53 package and consider using alternative packages that provide similar functionality without the associated risks. You can also use the following command to check for vulnerabilities in your project: npm audit.
Conclusion
The riyanto-poke53 package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. Users are advised to uninstall this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your npm packages.
See every vulnerability recorded for riyanto-poke53 →
FAQ
Riyanto-poke53 is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The malicious code modifies your package.json file, potentially exposing your project to security risks and polluting the npm registry with unwanted packages.
If you have installed the riyanto-poke53 package, you should uninstall it immediately using the command npm uninstall riyanto-poke53.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Yes, consider using other reputable npm packages that provide similar functionality without the associated risks of malicious code.