Malicious Code Injection in trevora-cir100: A Threat to npm Users
Summary
MAL-2025-169152: Malicious code in trevora-cir100 (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-cir100 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in trevora-cir100 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for the tea protocol token rewards. The continuous republishing of these variants can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-cir100
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 avoid using trevora-cir100 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks from malicious packages.
Conclusion
The trevora-cir100 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unauthorized variants. It is crucial for developers to remove this package and regularly audit their dependencies to maintain the security of their applications.
See every vulnerability recorded for trevora-cir100 →
FAQ
trevora-cir100 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and compromising the integrity of your project.
You should uninstall trevora-cir100 immediately using the command npm uninstall trevora-cir100 and check your package-lock.json for any references to it.
Currently, there is no patched version available for trevora-cir100. The best action is to remove the package entirely.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signing up at the Vulert playground.