Malicious Code Injection in trevora-cir113: A Threat to npm Packages
Summary
MAL-2025-169166: Malicious code in trevora-cir113 (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-cir113 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The trevora-cir113 package is designed to manipulate package metadata and publish derivative packages, posing a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in trevora-cir113 originates from its design as part of a malicious campaign that includes scripts to automatically generate and publish derivative packages. These scripts modify the package.json file by removing private flags, changing version numbers, and creating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry with potentially harmful packages, making it difficult for developers to trust the integrity of the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir113
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 prevent the installation of the trevora-cir113 package by using npm's package-lock.json to monitor dependencies. You can also use the following command to uninstall the package if it is already installed: npm uninstall trevora-cir113.
Conclusion
The trevora-cir113 package poses a significant risk due to its malicious code designed to manipulate npm package metadata. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for trevora-cir113 →
FAQ
trevora-cir113 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the installation of malicious packages that may compromise your application's security and integrity.
You should uninstall the package immediately using the command: npm uninstall trevora-cir113.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.