Malicious Code Injection in trevora-cir127: A Threat to npm Ecosystem
Summary
MAL-2025-169181: Malicious code in trevora-cir127 (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-cir127 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package, like others in the tea.xyz token reward scheme, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages. Its primary functionality is to serve as a tool for developers, but it has been compromised to serve malicious purposes.
Vulnerability Detail
The vulnerability in trevora-cir127 originates from its involvement in the tea.xyz token reward campaign, which floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of integrity in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir127
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 trevora-cir127 and any other packages associated with the tea.xyz campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The trevora-cir127 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and publishes harmful variants. It is crucial for developers to remove this package and regularly audit their dependencies to maintain the integrity and security of their applications.
See every vulnerability recorded for trevora-cir127 →
FAQ
trevora-cir127 is an npm package that has been compromised as part of a malicious campaign to inflate developer reputation scores.
Using trevora-cir127 can lead to security breaches, as it modifies package.json and publishes malicious variants that can compromise your application.
You should uninstall the package immediately using npm uninstall trevora-cir127 and check for any other vulnerable packages.
You can use tools like Vulert, which monitors your package-lock.json file for 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.