Malicious Code Injection in riyanto-poke86: A Threat to npm Ecosystem
Summary
MAL-2025-165198: Malicious code in riyanto-poke86 (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-poke86 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in riyanto-poke86 stems from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to reputational damage for developers and pollution of the npm registry. This behavior is designed to inflate developer reputation scores for token rewards, making it a significant threat to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke86
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 temporarily avoid using the riyanto-poke86 package by removing it from your dependencies. You can do this by running the following command: npm uninstall riyanto-poke86. Additionally, consider using Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The riyanto-poke86 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. Developers are advised to remove the package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for riyanto-poke86 →
FAQ
The riyanto-poke86 package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the pollution of the npm registry and potential reputational damage for developers using the affected package.
You should uninstall the package immediately using the command: npm uninstall riyanto-poke86.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without requiring access to the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.