Malicious Code Injection in trevora-cir101: A Threat to npm Packages
Summary
MAL-2025-169153: Malicious code in trevora-cir101 (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-cir101 is an npm package that has been implicated in a malicious campaign associated with the tea.xyz token reward initiative. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores in exchange for token rewards. The functionality of this package, while seemingly innocuous, has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in trevora-cir101 stems from its involvement in a malicious scheme that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is orchestrated through autopublish scripts that continuously republish variants, ultimately polluting the npm registry. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and the proliferation of malicious packages that can affect other developers and applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir101
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-cir101 package and monitor your project for any unauthorized changes. Implementing strict access controls and regularly auditing your package dependencies can help mitigate risks until a more permanent solution is applied.
Conclusion
The trevora-cir101 package poses a significant security risk due to its malicious code that modifies package configurations and repopulates the npm registry with harmful variants. It is crucial for developers to remain vigilant, uninstall this package, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for trevora-cir101 →
FAQ
trevora-cir101 is an npm package involved in a malicious campaign that automatically generates and publishes derivative packages to inflate developer reputation scores.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing sensitive data and allowing malicious code to infiltrate your project.
You should uninstall the trevora-cir101 package immediately using the command npm uninstall trevora-cir101 and review your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
No patches are available for trevora-cir101 as it is recommended to uninstall the package entirely due to its malicious nature.