Malicious Code Injection in trevora-cir79: A Threat to npm Users
Summary
MAL-2025-169277: Malicious code in trevora-cir79 (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-cir79 is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of code. However, trevora-cir79 has been identified as part of a malicious campaign that floods the npm registry with harmful packages, potentially compromising the integrity of applications that rely on it.
Vulnerability Detail
The vulnerability in trevora-cir79 originates from its association with the tea.xyz token reward campaign. This package contains scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. The malicious payload alters the package.json file by removing private flags, changing version numbers, and continuously republishing variants, which pollutes the npm registry and can lead to security risks for users who unknowingly install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir79
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, you can avoid using trevora-cir79 and any other packages associated with the tea.xyz campaign. Regularly audit your package dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The trevora-cir79 package poses a significant threat due to its malicious code designed to manipulate the npm registry. Users are advised to uninstall this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for trevora-cir79 →
FAQ
Trevor-cir79 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the publication of harmful packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can help identify if your application is affected by this vulnerability.
The risks include the potential for malicious code execution, data breaches, and the pollution of the npm registry, which can affect the integrity of applications relying on affected packages.
There is no patch available for trevora-cir79. The recommended action is to uninstall the package and replace it with a secure alternative.
Regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.