Malicious Code Injection in trevora-cir93: A Threat to npm Users
Summary
MAL-2025-169293: Malicious code in trevora-cir93 (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-cir93 is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages flooding the npm registry. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages, making them a significant threat to developers and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in trevora-cir93 stems from its malicious code that modifies 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 npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir93
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 the trevora-cir93 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The trevora-cir93 package poses a significant risk due to its malicious code that alters project files and publishes compromised packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for trevora-cir93 →
FAQ
trevora-cir93 is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry with compromised packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and compromising the integrity of your dependencies.
You should uninstall the package immediately using npm uninstall trevora-cir93 and check for any other compromised packages in your project.
You can use tools like npm audit to scan your project for vulnerabilities. Additionally, Vulert can monitor your package-lock.json file for real-time alerts on open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.