Malicious Code Injection in trevora-cir65: A Threat to npm Packages
Summary
MAL-2025-169262: Malicious code in trevora-cir65 (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-cir65 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 the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores for token rewards, posing a significant risk to developers and users who rely on npm for secure package management.
Vulnerability Detail
The vulnerability in trevora-cir65 originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages. The ramifications include potential security risks for applications that depend on these packages, as well as a degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir65
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 prevent the installation of trevora-cir65 by using npm's package-lock.json to monitor your dependencies. If you are using Vulert, you can also check for vulnerabilities in your application without any installation. Use the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The trevora-cir65 package poses a significant risk due to its malicious code that exploits the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for trevora-cir65 →
FAQ
trevora-cir65 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of malicious packages, compromising the security and integrity of your application.
You should remove the package immediately and check for any updates or patches that may be available.
Yes, Vulert can monitor your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability.