Malicious Code Injection in riyanto-poke54: A Threat to npm Users
Summary
MAL-2025-165163: Malicious code in riyanto-poke54 (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-poke54 package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm ecosystem by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in riyanto-poke54 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, which pollutes the npm registry and can lead to the distribution of harmful code to unsuspecting users. The malicious payload can compromise the security of applications relying on this package, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke54
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-poke54 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The riyanto-poke54 package poses a significant threat due to its malicious code designed to manipulate the npm registry. Users are advised to uninstall this package immediately and remain vigilant about the packages they use. Utilizing tools like Vulert can help in monitoring for vulnerabilities in real-time.
See every vulnerability recorded for riyanto-poke54 →
FAQ
The riyanto-poke54 package is part of a malicious campaign that aims to manipulate the npm registry by generating and publishing numerous derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should immediately uninstall the riyanto-poke54 package using npm uninstall riyanto-poke54 and check your application for any signs of compromise.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application using the Vulert playground without any signup.
Always verify the source and integrity of packages before installation, keep your dependencies updated, and utilize tools like Vulert for ongoing monitoring.