Malicious Code Injection in rino-poke2: A Threat to npm Users
Summary
MAL-2025-164663: Malicious code in rino-poke2 (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
rino-poke2 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in rino-poke2 originates from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, leading to potential security risks for users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rino-poke2
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 rino-poke2 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages to ensure no malicious packages are included in your project.
Conclusion
The rino-poke2 package has been identified as containing malicious code that poses a significant risk to npm users. It is crucial to remove this package and any associated dependencies from your projects to maintain security and integrity. Regular monitoring and auditing of your dependencies can help prevent future vulnerabilities.
See every vulnerability recorded for rino-poke2 →
FAQ
rino-poke2 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file and can lead to the installation of additional compromised packages, potentially compromising your project's security.
You should uninstall rino-poke2 immediately using the command npm uninstall rino-poke2 and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup at Vulert Scanner.
All versions of rino-poke2 are affected, as the vulnerability was introduced from the start (version 0).