Malicious Code Injection in trevora-cir55: A Threat to npm Packages
Summary
MAL-2025-169251: Malicious code in trevora-cir55 (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-cir55 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized by developers to manage dependencies in their applications. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by creating derivative packages with random names, thereby inflating reputation scores for token rewards. This vulnerability poses a significant risk to developers who may unknowingly incorporate compromised packages into their projects.
Vulnerability Detail
The vulnerability in trevora-cir55 originates from its association with the tea.xyz token reward campaign. The package contains scripts designed to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file by removing private flags, altering version numbers, and continuously republishing variants to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also exposes developers to potential security risks and dependency issues.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir55
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-cir55 package altogether and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The trevora-cir55 package poses a significant threat due to its malicious code designed to manipulate the npm registry. Developers are advised to uninstall this package and monitor their dependencies closely. Utilizing tools like Vulert can help ensure that your applications remain secure from such vulnerabilities.
See every vulnerability recorded for trevora-cir55 →
FAQ
trevora-cir55 is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising security and stability.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using the command: npm uninstall trevora-cir55.
Yes, you should look for other reputable packages that provide similar functionality without the associated risks.