Malicious Code Injection in riyanto-poke68: A Threat to npm Users
Summary
MAL-2025-165178: Malicious code in riyanto-poke68 (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-poke68 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often contain scripts that manipulate package metadata and publish numerous derivative packages to inflate developer reputation scores, posing a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in riyanto-poke68 stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. This behavior not only compromises the security of the affected systems but also undermines the trustworthiness of the npm ecosystem as a whole.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke68
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-poke68 package and replace it with a trusted alternative. Additionally, you can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The riyanto-poke68 package poses a significant threat to npm users due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for riyanto-poke68 →
FAQ
Riyanto-poke68 is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry with harmful packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the package immediately using 'npm uninstall riyanto-poke68' and check for any other affected packages.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without requiring access to the code or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.