Malicious Code Injection in riyanto-poke95: A Threat to npm Users
Summary
MAL-2025-165208: Malicious code in riyanto-poke95 (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-poke95 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 led to the proliferation of malicious packages designed to inflate developer reputation scores. This package, like others in the campaign, contains scripts that automatically generate and publish derivative packages with altered metadata, posing a significant risk to users.
Vulnerability Detail
The vulnerability in riyanto-poke95 originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including the potential for users to unknowingly install compromised packages that may contain harmful code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke95
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-poke95 package and monitor their package-lock.json file for any unauthorized changes. Additionally, consider using tools like Vulert to monitor for vulnerabilities in your dependencies.
Conclusion
The riyanto-poke95 package poses a significant risk due to its malicious code that modifies package metadata and floods the npm registry with compromised variants. Users are advised to update or remove the package and utilize monitoring tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for riyanto-poke95 →
FAQ
Riyanto-poke95 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring any signup.
If you have installed riyanto-poke95, you should update it to the latest version or remove it from your project to mitigate potential risks.
Using compromised npm packages can lead to security vulnerabilities, including data breaches, unauthorized access to systems, and the introduction of malware into your applications.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.