Malicious Code Injection in trevora-cir84 Package: A Threat to npm Users
Summary
MAL-2025-169283: Malicious code in trevora-cir84 (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 trevora-cir84 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit developers by inflating reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package poses a significant risk to users who may unknowingly install it, leading to potential security breaches and compromised systems.
Vulnerability Detail
The vulnerability in the trevora-cir84 package originates from its association with the tea.xyz token reward campaign. It contains scripts designed to automatically publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants. This behavior not only affects the integrity of the npm registry but also poses risks to developers who may inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir84
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 trevora-cir84 package altogether. If you have already installed it, remove it from your project and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The trevora-cir84 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. Users are advised to uninstall this package immediately and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for trevora-cir84 →
FAQ
The trevora-cir84 package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
If you have the trevora-cir84 package installed, it can compromise your project's integrity by introducing malicious code and potentially affecting your system's security.
You should immediately uninstall the trevora-cir84 package using 'npm uninstall trevora-cir84' and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.