Malicious Code Injection in riyanto-poke32: A Threat to npm Ecosystem
Summary
MAL-2025-165139: Malicious code in riyanto-poke32 (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-poke32 package is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in riyanto-poke32 stems from its inclusion in a malicious campaign that utilizes autopublish scripts to modify package.json files. This manipulation removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include potential exposure of sensitive data, pollution of the npm registry, and damage to developer reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke32
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 remove the riyanto-poke32 package from your project by executing 'npm uninstall riyanto-poke32'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The riyanto-poke32 package poses a significant threat due to its malicious code designed to manipulate npm package metadata. Users are advised to take immediate action by uninstalling the package and monitoring their projects for any signs of compromise. Utilizing tools like Vulert can enhance your security posture against such vulnerabilities.
See every vulnerability recorded for riyanto-poke32 →
FAQ
Riyanto-poke32 is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive information and affecting your project's integrity.
If you have installed riyanto-poke32, it is recommended to uninstall it immediately and monitor your project for any unusual behavior.
Yes, Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities, including this one. You can also use the Vulert playground to check your application without any signup.
Regularly update your dependencies, use tools like Vulert for monitoring vulnerabilities, and review package sources before installation.