Malicious Code Injection in trevora-cir76: A Threat to npm Users
Summary
MAL-2025-169274: Malicious code in trevora-cir76 (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-cir76 is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that automate the generation and publication of derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in trevora-cir76 originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards, leading to pollution of the npm registry and potential security risks for users who unknowingly install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir76
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-cir76 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall trevora-cir76.
Conclusion
The trevora-cir76 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. Users are advised to remove the package and monitor their projects for similar vulnerabilities using tools like Vulert.
See every vulnerability recorded for trevora-cir76 →
FAQ
trevora-cir76 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the installation of malicious code that modifies your project's package.json, potentially compromising its security and integrity.
You should uninstall the package immediately using the command: npm uninstall trevora-cir76 and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing 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 requiring any signup.