Malicious Code Injection in trevora-cir129: A Threat to npm Users
Summary
MAL-2025-169183: Malicious code in trevora-cir129 (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-cir129 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package compromises the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the trevora-cir129 package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names, often themed around Indonesian culture. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potentially affecting other developers who rely on npm for package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir129
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, avoid using the trevora-cir129 package and monitor your project's dependencies for any signs of malicious activity. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The trevora-cir129 package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial for developers to remove this package and stay vigilant about their dependencies. Utilizing tools like Vulert can enhance your security posture by providing real-time vulnerability alerts.
See every vulnerability recorded for trevora-cir129 →
FAQ
trevora-cir129 is an npm package linked to a malicious campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages.
The malicious code modifies your package.json file, removes private flags, and continuously republishes variants, which can lead to pollution of the npm registry and potential security risks.
You should uninstall the trevora-cir129 package immediately using 'npm uninstall trevora-cir129' and monitor your project for any unusual activity.
Regularly audit your dependencies, use trusted packages, and utilize tools like Vulert to monitor your package-lock.json for vulnerabilities.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check for vulnerabilities in your application using the Vulert playground without any signup.