Malicious Code Injection in riyanto-poke85: A Threat to npm Ecosystem
Summary
MAL-2025-165197: Malicious code in riyanto-poke85 (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-poke85 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that exploits npm's publishing capabilities. It is designed to generate and publish derivative packages with randomized names, aiming to inflate developer reputation scores for token rewards in the tea.xyz protocol. The presence of such malicious packages poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in riyanto-poke85 originates 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 variants that pollute the npm registry. This behavior can compromise the integrity of the npm ecosystem, making it difficult for developers to trust the packages they are using. The malicious payload can also lead to unintended consequences, such as the installation of compromised packages by unsuspecting users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke85
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 workaround, you can avoid using the riyanto-poke85 package altogether. If it is a dependency of another package, consider looking for alternative packages that do not have known vulnerabilities. You can also use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The riyanto-poke85 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help in monitoring for vulnerabilities and ensuring the security of your applications.
See every vulnerability recorded for riyanto-poke85 →
FAQ
The riyanto-poke85 package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the generation of derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You should uninstall the riyanto-poke85 package immediately using the command: npm uninstall riyanto-poke85.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.