Malicious Code Injection in riyanto-poke44: A Threat to npm Ecosystem
Summary
MAL-2025-165152: Malicious code in riyanto-poke44 (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 riyanto-poke44 package is part of a larger ecosystem within npm, primarily associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality, while seemingly innocuous, has been compromised by malicious code that alters its behavior.
Vulnerability Detail
The vulnerability in riyanto-poke44 originates from its association with malicious scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can cause significant disruptions in the npm ecosystem, affecting developers and users alike by introducing unreliable and potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke44
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, you can avoid using the riyanto-poke44 package and any packages that depend on it. Regularly monitor your package-lock.json file for any unauthorized changes or additions. You can also utilize tools like Vulert to monitor your project for vulnerabilities without requiring code access.
Conclusion
The riyanto-poke44 package presents a significant vulnerability due to its malicious code that alters package behavior and pollutes the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for riyanto-poke44 →
FAQ
Riyanto-poke44 is an npm package associated with a token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the introduction of malicious packages into your project, potentially compromising its security and integrity.
You should uninstall the package immediately using npm uninstall riyanto-poke44 and check for any dependencies that may be affected.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.