Malicious Code Injection in trevora-cir125: A Threat to npm Packages
Summary
MAL-2025-169179: Malicious code in trevora-cir125 (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-cir125 is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in trevora-cir125 originates from its malicious intent to modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir125
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-cir125 package and monitor your project for any dependencies that may indirectly include it. Regularly check your package-lock.json file for any unexpected changes.
Conclusion
The trevora-cir125 package poses a significant threat to the integrity of npm packages due to its malicious code that alters package metadata. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for trevora-cir125 →
FAQ
trevora-cir125 is an npm package that has been identified as malicious, designed to manipulate package metadata for fraudulent purposes.
Using trevora-cir125 can compromise your application's security by introducing malicious code that alters package metadata and potentially exposes your project to further vulnerabilities.
Immediately uninstall the package using 'npm uninstall trevora-cir125' and review your project for any other potentially compromised packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
Yes, tools like Vulert can help you monitor your dependencies for vulnerabilities and alert you in real-time.