Malicious Code Injection in trevora-cir50: A Threat to npm Ecosystem
Summary
MAL-2025-169246: Malicious code in trevora-cir50 (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
trevora-cir50 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. It is intended for developers looking to enhance their reputation scores within the npm ecosystem. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in trevora-cir50 originates from its association with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The malicious code within trevora-cir50 modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a significant risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir50
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, avoid using the trevora-cir50 package in your projects. If you have already integrated it, consider replacing it with a trusted alternative package that provides similar functionality without the associated risks.
Conclusion
The trevora-cir50 package poses a significant security risk due to its malicious code that alters package configurations and pollutes the npm registry. Developers are advised to uninstall this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can help in identifying and managing such risks effectively.
See every vulnerability recorded for trevora-cir50 →
FAQ
trevora-cir50 is an npm package associated with the tea.xyz token reward campaign, designed to enhance developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities in your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Uninstall the package immediately using 'npm uninstall trevora-cir50' and check for any dependencies that may be affected.
Currently, there is no patched version available. It is recommended to remove the package and monitor for updates.