Malicious Code Injection in riyanto-poke17: A Threat to npm Users
Summary
MAL-2025-165122: Malicious code in riyanto-poke17 (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-poke17 package is part of the npm ecosystem, primarily used for JavaScript development. It is designed to facilitate various functionalities within applications. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful packages, which can compromise the integrity of applications that depend on it.
Vulnerability Detail
The vulnerability in riyanto-poke17 stems from its association with a malicious campaign that modifies package.json files to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to significant security risks, including unauthorized access to sensitive data and the potential for further exploitation of affected applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke17
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-poke17 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The riyanto-poke17 package poses a significant security risk due to its malicious code injection. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for riyanto-poke17 →
FAQ
The riyanto-poke17 package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing your application to security risks.
You should immediately uninstall the package using npm uninstall riyanto-poke17 to mitigate any potential risks.
Yes, tools like Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.