Malicious Code Injection in riyanto-poke34 Package - npm Vulnerability
Summary
MAL-2025-165141: Malicious code in riyanto-poke34 (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-poke34 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been compromised to include malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the riyanto-poke34 package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, thereby polluting the npm registry and potentially compromising other projects that depend on these packages. The ramifications include loss of control over package integrity and potential exploitation of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riyanto-poke34
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-poke34 package and replace it with a trusted alternative. Additionally, you can monitor your dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The riyanto-poke34 package has been identified as containing malicious code that compromises the integrity of npm projects. It is essential to remove this package from your dependencies and monitor your project for vulnerabilities using tools like Vulert. Taking these steps will help safeguard your application from potential exploitation.
See every vulnerability recorded for riyanto-poke34 →
FAQ
The riyanto-poke34 package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the modification of your project's package.json file, potentially compromising the integrity of your application and leading to security risks.
You should immediately uninstall the riyanto-poke34 package and check your package-lock.json for any references to it. Remove any lingering dependencies.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.