Malicious Code Injection in trevora-cir94: A Threat to npm Packages
Summary
MAL-2025-169294: Malicious code in trevora-cir94 (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-cir94 is part of the npm ecosystem and has been implicated in a malicious campaign associated with the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata, which can mislead developers and inflate reputation scores for token rewards.
Vulnerability Detail
The vulnerability in trevora-cir94 stems from its inclusion in a malicious package campaign that utilizes scripts to automatically modify package.json files. These modifications include removing private flags, altering version numbers, and generating random package names, which can lead to the pollution of the npm registry. The malicious payload can compromise the integrity of the npm ecosystem, making it difficult for developers to trust the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir94
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 workaround, you can avoid using the trevora-cir94 package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your project's dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The trevora-cir94 package poses a significant risk due to its malicious code injection capabilities. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure the security of their applications. Immediate action should be taken to remove any affected packages and to monitor for future vulnerabilities.
See every vulnerability recorded for trevora-cir94 →
FAQ
trevora-cir94 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should remove the package from your project immediately 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.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.