Malicious Code Injection in trevora-cir64: A Threat to npm Users
Summary
MAL-2025-169261: Malicious code in trevora-cir64 (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-cir64 package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish numerous variants to inflate developer reputation scores, posing a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in trevora-cir64 originates from its involvement in the tea.xyz token reward campaign. It includes malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can potentially compromise the security of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir64
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, consider removing the trevora-cir64 package from your project until a secure version is released. You can do this by executing: npm uninstall trevora-cir64. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The trevora-cir64 package poses a significant risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for trevora-cir64 →
FAQ
trevora-cir64 is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's integrity and security.
You should uninstall the package immediately and monitor your project for any unauthorized changes. Consider using npm audit to check for vulnerabilities.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, use tools like Vulert for monitoring, and conduct security audits on your packages to identify potential risks.