Malicious Code Injection in weekly_bedbug-appteadev Package
Summary
MAL-2025-110791: Malicious code in weekly_bedbug-appteadev (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 weekly_bedbug-appteadev package is part of the npm ecosystem, typically used for various development purposes. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores through automated scripts that generate and publish derivative packages, leading to potential security risks for users.
Vulnerability Detail
This vulnerability originates from the package being part of a malicious campaign associated with the tea.xyz token reward initiative. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses risks such as unauthorized access to sensitive data and exploitation of the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall weekly_bedbug-appteadev
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 weekly_bedbug-appteadev package and replace it with a similar, trusted package that does not exhibit malicious behavior. Always verify the integrity of packages before installation.
Conclusion
The weekly_bedbug-appteadev package poses significant security risks due to its malicious code designed to manipulate npm registry data. It is crucial for developers to be vigilant about the packages they use and to regularly audit their dependencies to ensure the security of their applications.
See every vulnerability recorded for weekly_bedbug-appteadev →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially exposing your application to security risks.
You should uninstall the package immediately and review your dependencies for any other potentially malicious packages.
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.