Malicious Code Injection in trevora-cir16: A Threat to npm Users
Summary
MAL-2025-169208: Malicious code in trevora-cir16 (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-cir16 is an npm package that has been identified as part of a malicious campaign associated with the tea.xyz token reward system. This package is designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in trevora-cir16 stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the security and reliability of applications relying on these packages. The origin of this issue is linked to the tea.xyz token reward campaign, which has flooded the npm repository with such malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir16
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 trevora-cir16 by adding it to your project's package.json file under 'devDependencies' with a version that does not include the malicious code. For example: { 'devDependencies': { 'trevora-cir16': '0.0.1' } } This will ensure that the malicious version is not installed.
Conclusion
The trevora-cir16 package poses a significant threat to npm users due to its malicious code that manipulates package metadata and pollutes the npm registry. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for trevora-cir16 →
FAQ
trevora-cir16 is an npm package involved in a malicious campaign aimed at inflating developer reputation scores through the creation of numerous derivative packages.
The malicious code modifies your package.json, removes private flags, and continuously republishes variants, which can lead to security vulnerabilities and instability in your application.
You should immediately remove the trevora-cir16 package from your project and update your dependencies to ensure your application is secure.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.