Malicious Code Injection in trevora-bbissa-cir7: A Threat to npm Ecosystem
Summary
MAL-2025-169147: Malicious code in trevora-bbissa-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-bbissa-cir7' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts that publish numerous variants of the package with altered names and metadata.
Vulnerability Detail
The vulnerability in 'trevora-bbissa-cir7' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The ramifications include the risk of developers inadvertently using these malicious packages, which could lead to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-bbissa-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 temporary workaround, avoid using the 'trevora-bbissa-cir7' package and monitor your project for any dependencies that may inadvertently include it. Regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The 'trevora-bbissa-cir7' package poses a significant risk due to its malicious code designed to exploit the npm registry. It is essential for developers to remove this package and monitor their dependencies to maintain the security of their applications. Utilizing tools like Vulert can aid in identifying vulnerabilities effectively.
See every vulnerability recorded for trevora-bbissa-cir7 →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising security and integrity.
You should uninstall the package immediately using 'npm uninstall trevora-bbissa-cir7' and check for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source 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 any signup.