Malicious Code Injection in trevora-cir141: A Threat to npm Packages
Summary
MAL-2025-169197: Malicious code in trevora-cir141 (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-cir141 is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks for developers and users relying on these packages.
Vulnerability Detail
The vulnerability in trevora-cir141 originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the packages, potentially leading to the installation of harmful code in applications that depend on these packages. The continuous republishing of variants increases the risk of exposure to malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir141
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-cir141 package and replace it with alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The trevora-cir141 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats in your open-source software.
See every vulnerability recorded for trevora-cir141 →
FAQ
trevora-cir141 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of malicious code, compromising the security and integrity of your application.
You should uninstall the package immediately using 'npm uninstall trevora-cir141' and check for any other affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.
Yes, consider using alternative packages that provide similar functionality but are verified and trusted within the community.