Malicious Code Injection in riyanto-poke57 Package
Summary
MAL-2025-165166: Malicious code in riyanto-poke57 (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-poke57 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the riyanto-poke57 package originates from its association with a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially harm developers and users relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke57
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-poke57 package and monitor your package-lock.json file for any dependencies that may include it. If you find it, remove it immediately.
Conclusion
The riyanto-poke57 package contains malicious code that poses a significant risk to developers and users by polluting the npm registry. It is crucial to uninstall this package and monitor your project for any dependencies that may include it. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for riyanto-poke57 →
FAQ
The riyanto-poke57 package is an npm package associated with a token reward campaign that has been identified to contain malicious code.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
You should uninstall the riyanto-poke57 package immediately using 'npm uninstall riyanto-poke57' and check for any dependencies that may rely on it.
There is no patch available for the riyanto-poke57 package as it is recommended to remove it entirely from your project.
You can use Vulert, which monitors and alerts in real-time 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.