Malicious Code Injection in trevora-cir70: A Threat to npm Users
Summary
MAL-2025-169268: Malicious code in trevora-cir70 (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 trevora-cir70 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality and streamline development processes. However, trevora-cir70 has been identified as part of a malicious campaign that floods the npm registry with harmful packages, potentially compromising the integrity of applications that depend on it.
Vulnerability Detail
The vulnerability in trevora-cir70 stems from its association with the tea.xyz token reward campaign, which aims to manipulate npm's reputation system. The malicious code embedded within this package modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir70
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 trevora-cir70 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The trevora-cir70 package poses a significant threat to npm users due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your projects and stay vigilant by using tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can protect your applications from potential security breaches.
See every vulnerability recorded for trevora-cir70 →
FAQ
trevora-cir70 is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, potentially exposing your application to security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the package immediately using the command npm uninstall trevora-cir70 and consider using alternative packages.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages effectively.