Malicious Code Injection in trevora-cir62: A Threat to npm Ecosystem
Summary
MAL-2025-169259: Malicious code in trevora-cir62 (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-cir62 is part of a series of malicious npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. The primary functionality of trevora-cir62 is to inflate developer reputation scores for token rewards, but this comes at the cost of security and integrity within the npm ecosystem.
Vulnerability Detail
The vulnerability in trevora-cir62 originates from its malicious intent to modify the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the affected packages but also poses a risk to developers who may unknowingly use these malicious packages in their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir62
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-cir62 package and any other packages associated with the tea.xyz token reward campaign. You can also utilize tools like Vulert to monitor your project for vulnerabilities. To check if your application is affected by this vulnerability, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The trevora-cir62 package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package configurations and republishing variants. It is crucial for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to safeguard their projects from similar vulnerabilities.
See every vulnerability recorded for trevora-cir62 →
FAQ
Trevor-cir62 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the publication of derivative packages.
Using trevora-cir62 can compromise the integrity of your project by introducing malicious code that modifies package configurations and floods the npm registry.
You should uninstall trevora-cir62 immediately using the command 'npm uninstall trevora-cir62' and check your project for any other affected packages.
Regularly update your dependencies, use trusted packages, and monitor your project for vulnerabilities using tools like Vulert.
Vulert is a tool that monitors your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any potential risks without requiring code access or installation.