Malicious Code Injection in trevora-cir14: A Threat to npm Ecosystem
Summary
MAL-2025-169195: Malicious code in trevora-cir14 (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-cir14 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores by flooding the registry with derivative packages. The malicious nature of this package lies in its ability to modify its own metadata and republish itself under various names, potentially leading to widespread pollution of the npm ecosystem.
Vulnerability Detail
The vulnerability in trevora-cir14 stems from its inclusion in a campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants. The ramifications include the potential for developers to unknowingly install malicious packages, leading to security risks and compromised applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir14
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-cir14 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The trevora-cir14 package poses a significant threat to the npm ecosystem due to its malicious behavior of republishing itself and modifying its metadata. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for trevora-cir14 →
FAQ
trevora-cir14 is an npm package linked to a malicious campaign that floods the npm registry with derivative packages to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious packages, which may compromise your application's security and integrity.
You should uninstall the trevora-cir14 package immediately using 'npm uninstall trevora-cir14' and check for any other affected packages.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.