Malicious Code Injection in slimy_bedbug_z3n Package
Summary
MAL-2025-96622: Malicious code in slimy_bedbug_z3n (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 slimy_bedbug_z3n package 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. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the slimy_bedbug_z3n package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's ecosystem for fraudulent gains. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and damage to the reputation of legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slimy_bedbug_z3n
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 manually inspect your package.json file for any unauthorized changes and revert them. Additionally, consider using npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The slimy_bedbug_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unauthorized packages. It is essential for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for slimy_bedbug_z3n →
FAQ
The slimy_bedbug_z3n package is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry with harmful packages.
This vulnerability can lead to unauthorized modifications in your project's package.json file, potentially compromising your project's integrity and security.
If you have installed the slimy_bedbug_z3n package, it is crucial to remove it immediately and check your package.json 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 also check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, tools like npm audit can help identify vulnerabilities in your dependencies, and Vulert can provide real-time alerts for open-source vulnerabilities.