Malicious Code Injection in tiara-pecel7-ruro: A Threat to npm Users
Summary
MAL-2025-109678: Malicious code in tiara-pecel7-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 package tiara-pecel7-ruro is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in tiara-pecel7-ruro stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the installation of compromised packages by unsuspecting developers. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tiara-pecel7-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 temporary measure, you can avoid using the tiara-pecel7-ruro package and its derivatives. If you have already installed it, remove it from your project using the command: 'npm uninstall tiara-pecel7-ruro'. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The tiara-pecel7-ruro package poses a significant risk due to its malicious code that manipulates the npm registry. It is essential for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for tiara-pecel7-ruro →
FAQ
Tiara-pecel7-ruro is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the installation of compromised packages, potentially exposing your project to security risks and instability.
You should immediately uninstall the tiara-pecel7-ruro package using 'npm uninstall tiara-pecel7-ruro' and check your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Yes, consider using well-known and trusted packages that provide similar functionality but do not have a history of malicious behavior.