Malicious Code Injection in trevora-eissa-cir7: A Threat to npm Ecosystem
Summary
MAL-2025-169304: Malicious code in trevora-eissa-cir7 (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-eissa-cir7' 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. The primary function of such packages is to manipulate the npm registry by generating and publishing derivative packages, thereby inflating developer reputation scores for token rewards. This behavior poses significant risks to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'trevora-eissa-cir7' originates from its malicious code designed to modify the package.json file. It removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This not only compromises the integrity of the npm ecosystem but also exposes users to potential security risks from unverified packages. The malicious payload is part of a broader scheme to exploit the npm registry for token rewards, making it imperative for developers to be vigilant about the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-eissa-cir7
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 monitor your project's dependencies using tools like Vulert. Vulert allows you to check for vulnerabilities in your package-lock.json file without requiring code access or installation. You can use the Vulert playground at https://vulert.com/scanner to assess if your application is affected by this vulnerability.
Conclusion
The 'trevora-eissa-cir7' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is essential for developers to be proactive in managing their dependencies and to utilize tools like Vulert for real-time vulnerability monitoring.
See every vulnerability recorded for trevora-eissa-cir7 →
FAQ
'trevora-eissa-cir7' is an npm package associated with a token reward campaign that has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project's dependencies and potentially exposing it to security risks.
You should uninstall the 'trevora-eissa-cir7' package immediately and review your project's dependencies for any other potentially malicious packages.
Regularly update your dependencies, use trusted packages, and utilize tools like Vulert to monitor your project's dependencies for vulnerabilities.
There is no patch for 'trevora-eissa-cir7' as it is recommended to remove the package entirely from your project.