Malicious Code Injection in trevora-cir53: A Threat to npm Ecosystem
Summary
MAL-2025-169249: Malicious code in trevora-cir53 (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-cir53 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The trevora-cir53 package is designed to manipulate npm's package management system, potentially harming developers and users by altering package metadata and publishing malicious variants.
Vulnerability Detail
The vulnerability in trevora-cir53 originates from its design to include malicious scripts that automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, change version numbers, and create random package names, leading to pollution of the npm registry. This behavior can inflate developer reputation scores fraudulently and may introduce security risks to applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir53
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, avoid using the trevora-cir53 package and monitor your project for any dependencies that may indirectly rely on it. You can also utilize tools like Vulert to scan your package-lock.json for vulnerabilities.
Conclusion
The trevora-cir53 package poses a significant threat due to its malicious functionality aimed at manipulating the npm ecosystem. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can protect your projects from potential harm.
See every vulnerability recorded for trevora-cir53 →
FAQ
trevora-cir53 is an npm package that has been identified as malicious, designed to manipulate package metadata and publish harmful variants.
You can check your project for vulnerabilities by using Vulert, which analyzes your package-lock.json file for known issues.
Using trevora-cir53 can lead to security vulnerabilities, including the potential for malicious code execution and pollution of the npm registry.
Regularly audit your dependencies and utilize tools like Vulert to monitor for vulnerabilities in real-time.
Immediately uninstall the package and review your project for any potential impacts or dependencies that may have been affected.