Malicious Code Injection in trevora-cir15: A Threat to npm Packages
Summary
MAL-2025-169206: Malicious code in trevora-cir15 (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-cir15 is part of a broader campaign targeting npm, specifically linked to the tea.xyz token reward initiative. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in trevora-cir15 originates from its association with a malicious campaign that employs scripts to alter package.json files. These scripts remove private flags, modify version numbers, and generate random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as they may inadvertently publish or rely on tainted versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir15
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 remove the trevora-cir15 package from your project by executing: 'npm uninstall trevora-cir15'. This will prevent the execution of any malicious scripts associated with the package until a fix is applied.
Conclusion
The trevora-cir15 package poses a significant risk due to its malicious code that alters package metadata and publishes compromised versions. It is essential to take immediate action by uninstalling the package and monitoring your project for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for trevora-cir15 →
FAQ
trevora-cir15 is an npm package involved in a malicious campaign that generates and publishes derivative packages to manipulate developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising security and functionality.
You should uninstall the package immediately and check your package-lock.json for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.