Malicious Code Injection in riyanto-poke65: A Threat to npm Ecosystem
Summary
MAL-2025-165175: Malicious code in riyanto-poke65 (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-poke65 is part of the npm ecosystem, which is a popular platform for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package's primary function is to facilitate the distribution of code, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in riyanto-poke65 arises from the inclusion of malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is designed to create numerous derivative packages that clutter the npm registry and can lead to security risks for developers who unknowingly use these compromised packages. The origin of this vulnerability is traced back to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke65
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 measure, avoid using the riyanto-poke65 package and monitor your project's dependencies for any signs of compromise. You can also use tools like Vulert to check for vulnerabilities in your package-lock.json file. To check if your application is affected by this vulnerability, you can visit the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The riyanto-poke65 package has been identified as a source of malicious code that poses a significant threat to the npm ecosystem. It is crucial for developers to be vigilant, remove compromised packages, and utilize tools like Vulert to monitor their projects for vulnerabilities. By taking proactive measures, developers can safeguard their applications against such threats.
See every vulnerability recorded for riyanto-poke65 →
FAQ
Riyanto-poke65 is an npm package that has been compromised to include malicious scripts aimed at manipulating package metadata and inflating developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall riyanto-poke65' and check your project for any other vulnerabilities.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit https://vulert.com for more information.
Regularly update your dependencies, use trusted sources for packages, and utilize vulnerability scanning tools to identify potential risks.