Malicious Code Injection in trevora-cir134: A Threat to npm Packages
Summary
MAL-2025-169189: Malicious code in trevora-cir134 (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-cir134 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often include scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in trevora-cir134 originates from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to compromised developer accounts, loss of trust in the npm ecosystem, and potential exploitation of users who unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir134
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 workaround, you can use the following command to check for any instances of trevora-cir134 in your project and remove it: npm ls trevora-cir134 followed by npm uninstall trevora-cir134.
Conclusion
The trevora-cir134 package poses a significant threat due to its malicious code designed to manipulate npm package metadata. Users are advised to uninstall this package immediately and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their projects.
See every vulnerability recorded for trevora-cir134 →
FAQ
trevora-cir134 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can compromise your project's integrity by introducing malicious code that alters package metadata and potentially exposes your application to further risks.
You should immediately uninstall the package using npm uninstall trevora-cir134 to mitigate any risks associated with its use.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.