Malicious Code Injection in riyanto-poke46: A Threat to npm Users
Summary
MAL-2025-165154: Malicious code in riyanto-poke46 (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 package riyanto-poke46 is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant risks to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in riyanto-poke46 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to security risks for developers who rely on npm for package management. The malicious payload is designed to exploit the npm ecosystem, making it crucial for users to be aware of such threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke46
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, users can avoid using the riyanto-poke46 package altogether until a patched version is confirmed. Additionally, consider using tools like Vulert to monitor your project's dependencies for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The riyanto-poke46 package poses a significant threat due to its malicious code designed to manipulate the npm registry. Users are advised to update or remove the package and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their projects.
See every vulnerability recorded for riyanto-poke46 →
FAQ
Riyanto-poke46 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and integrity by modifying package configurations and publishing unauthorized versions.
If you have installed riyanto-poke46, you should immediately update the package to the latest version or remove it from your project to prevent any potential security risks.
Yes, Vulert can monitor your project's dependencies for open-source vulnerabilities in real-time using just your package-lock.json file, providing alerts for any detected issues.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.