Malicious Code Injection in trevora-cir17 Package
Summary
MAL-2025-169209: Malicious code in trevora-cir17 (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-cir17 package is part of the npm ecosystem, primarily used for JavaScript development. It is often involved in token reward campaigns, which can lead to the proliferation of derivative packages. This package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through automated publishing of compromised packages.
Vulnerability Detail
The vulnerability in the trevora-cir17 package stems from its association with the tea.xyz token reward campaign. It includes malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir17
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 prevent the installation of the trevora-cir17 package by using npm's package-lock.json to lock your dependencies. Additionally, consider using the following command to uninstall the package if it is already installed: npm uninstall trevora-cir17.
Conclusion
The trevora-cir17 package poses a significant risk due to its malicious code that modifies package configurations and repopulates the npm registry with compromised versions. It is essential to remove this package and monitor your dependencies to maintain the security of your projects.
See every vulnerability recorded for trevora-cir17 →
FAQ
trevora-cir17 is an npm package associated with token reward campaigns that can contain malicious code.
The vulnerability can lead to the automatic generation of malicious packages that may compromise your project's integrity and security.
You should uninstall the package immediately using the command 'npm uninstall trevora-cir17' and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.