Malicious Code Injection in trevora-cir59: A Threat to npm Ecosystem
Summary
MAL-2025-169255: Malicious code in trevora-cir59 (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-cir59 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, trevora-cir59 has been identified as part of a malicious campaign that floods the npm registry with derivative packages, potentially compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in trevora-cir59 originates from its association with the tea.xyz token reward campaign. This package contains scripts designed to automatically generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir59
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, consider using the following command to uninstall the vulnerable package: npm uninstall trevora-cir59. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities without requiring access to the code or installation.
Conclusion
The trevora-cir59 package poses a significant risk to the npm ecosystem due to its malicious nature. It is crucial for developers to be aware of such vulnerabilities and take necessary actions to protect their projects. Regular monitoring and updates are essential to maintain security.
See every vulnerability recorded for trevora-cir59 →
FAQ
trevora-cir59 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially introducing malicious packages into your project, which can compromise security and functionality.
You should uninstall the trevora-cir59 package immediately and monitor your project for any other vulnerabilities.
You can use Vulert's playground to check if your application is affected by this vulnerability without needing to sign up. Visit Vulert Scanner for more information.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.