Malicious Code Injection in trevora-cir46: A Threat to npm Ecosystem
Summary
MAL-2025-169241: Malicious code in trevora-cir46 (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
trevora-cir46 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in trevora-cir46 originates from its association with a malicious campaign that floods the npm ecosystem with fake packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir46
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-cir46 package and monitor your project for any dependencies that may have been affected by this malicious package. Use the following command to check for outdated packages: 'npm outdated'.
Conclusion
The trevora-cir46 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and floods the registry with fake packages. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities.
See every vulnerability recorded for trevora-cir46 →
FAQ
trevora-cir46 is an npm package involved in a malicious campaign that generates fake packages to inflate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and continuously republishes variants, which can lead to dependency conflicts and pollution of the npm registry.
You should uninstall trevora-cir46 immediately using 'npm uninstall trevora-cir46' and check your project for any affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
No, there are currently no patches available for trevora-cir46, and it is recommended to remove the package entirely.