Malicious Code Injection in riyanto-poke81: A Threat to npm Users
Summary
MAL-2025-165193: Malicious code in riyanto-poke81 (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-poke81 is part of a series of malicious npm packages linked to the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating numerous derivative packages with randomized names. This behavior not only inflates developer reputation scores but also poses a significant risk to users by polluting the npm ecosystem.
Vulnerability Detail
The vulnerability in riyanto-poke81 stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This activity can compromise the integrity of the npm registry and potentially introduce harmful dependencies into projects that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke81
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-poke81 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The riyanto-poke81 package poses a significant threat to npm users due to its malicious code that manipulates package metadata and floods the npm registry. It is essential to remove this package from your projects and monitor for any vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for riyanto-poke81 →
FAQ
Riyanto-poke81 is an npm package that has been identified as malicious, designed to manipulate the npm registry and inflate developer reputation scores.
The vulnerability can lead to the introduction of harmful dependencies, compromising the security and integrity of your project.
You should uninstall the package immediately using 'npm uninstall riyanto-poke81' and check for any dependencies that may rely on it.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.