Malicious Code Injection in rinto-poke51: A Threat to npm Users
Summary
MAL-2025-164824: Malicious code in rinto-poke51 (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
rinto-poke51 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate certain functionalities within the npm ecosystem. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. This behavior poses a significant risk to the integrity of the npm registry and its users.
Vulnerability Detail
The vulnerability in rinto-poke51 originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the security of the npm ecosystem but also misleads developers and users regarding the authenticity and reliability of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rinto-poke51
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 rinto-poke51 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like Vulert to monitor for vulnerabilities.
Conclusion
The rinto-poke51 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry with fake packages. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for rinto-poke51 →
FAQ
rinto-poke51 is an npm package that has been identified as malicious, designed to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project and potentially introducing security risks.
You should uninstall the package immediately using npm uninstall rinto-poke51 and check for any dependencies that may be affected.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities without signup at the Vulert playground.
Yes, you should look for alternative packages that provide similar functionality without the associated risks of malicious code.