Malicious Code Injection in trevora-cir8 Package
Summary
MAL-2025-169278: Malicious code in trevora-cir8 (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 trevora-cir8 package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability stems from the trevora-cir8 package being associated with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these compromised packages. The malicious payload is designed to continuously republish variants, polluting the npm ecosystem and potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir8
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-cir8 package by using the following command: npm uninstall trevora-cir8. Additionally, ensure that your project does not depend on any packages that may have been derived from this malicious package.
Conclusion
The trevora-cir8 package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their projects. It is crucial to take immediate action by updating or removing the package and monitoring your dependencies for any vulnerabilities.
See every vulnerability recorded for trevora-cir8 →
FAQ
The trevora-cir8 package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
The vulnerability can lead to the installation of compromised packages that may alter your project's dependencies and introduce security risks.
You should uninstall the trevora-cir8 package immediately and check for any other dependencies that may have been affected.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.