Malicious Code Injection in trevora-cir67: A Threat to npm Users
Summary
MAL-2025-169264: Malicious code in trevora-cir67 (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-cir67 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to manage dependencies and streamline development processes. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in trevora-cir67 originates from its association with the tea.xyz token reward campaign, which exploits npm's publishing system. The malicious code embedded in this package modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages, posing risks to developers who unknowingly install these variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir67
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 measure, you can avoid using trevora-cir67 and any other packages associated with the tea.xyz campaign. Regularly audit your project's dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The trevora-cir67 package poses a significant threat due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities. Regular updates and audits of dependencies are essential to maintain a secure development environment.
See every vulnerability recorded for trevora-cir67 →
FAQ
trevora-cir67 is an npm package that has been identified as malicious, part of a campaign that manipulates the npm registry.
The malicious code modifies package metadata, potentially leading to the installation of harmful packages and compromising your project's integrity.
You should uninstall the package immediately using 'npm uninstall trevora-cir67' and check for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.