Malicious Code Injection in trevora-cir60: A Threat to npm Packages
Summary
MAL-2025-169257: Malicious code in trevora-cir60 (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-cir60' is part of a broader campaign targeting npm, primarily associated with the tea.xyz token reward initiative. This package is designed to facilitate the automatic generation and publication of derivative packages, which can mislead developers and inflate reputation scores within the npm ecosystem. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in 'trevora-cir60' stems from its inclusion in a malicious campaign that deploys scripts (auto.js, autopublish.js, etc.) to alter package.json files. This manipulation removes private flags, modifies version numbers, and generates random package names, leading to the pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as reputational damage to the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir60
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-cir60' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The 'trevora-cir60' package presents a significant security risk due to its malicious code designed to manipulate npm packages. It is crucial for developers to be vigilant and remove this package from their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for trevora-cir60 →
FAQ
'trevora-cir60' is an npm package involved in a malicious campaign that generates and publishes derivative packages to inflate developer reputation scores.
Using 'trevora-cir60' can lead to security risks, including the potential for your project to be associated with malicious activities and the pollution of the npm registry.
You should uninstall 'trevora-cir60' immediately using 'npm uninstall trevora-cir60' and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.