Malicious Code Injection in tiara-ragi51-ruro Package
Summary
MAL-2025-109679: Malicious code in tiara-ragi51-ruro (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 tiara-ragi51-ruro package is part of the tea.xyz token reward campaign that has been flooding the npm ecosystem. It is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This package, like others in the campaign, contains scripts that automate the publishing process, making it susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability in the tiara-ragi51-ruro package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates 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 origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs these tactics to manipulate npm's reputation system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tiara-ragi51-ruro
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 workaround, you can avoid using the tiara-ragi51-ruro package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The tiara-ragi51-ruro package poses a significant risk due to its malicious code designed to manipulate npm's reputation system. It is essential to remove this package from your project and monitor your dependencies for vulnerabilities to maintain the security and integrity of your software.
See every vulnerability recorded for tiara-ragi51-ruro →
FAQ
The tiara-ragi51-ruro package is part of a campaign that generates and publishes derivative npm packages to inflate developer reputation scores for token rewards.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially introducing further security risks.
You should uninstall the tiara-ragi51-ruro package immediately using 'npm uninstall tiara-ragi51-ruro' and audit your project for any other affected packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring access to your code.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.