Malicious Code Injection in mathematical_bedbug-appteadev Package
Summary
MAL-2025-105658: Malicious code in mathematical_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 mathematical_bedbug-appteadev package is part of the npm ecosystem, typically used for various mathematical applications. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to inflate developer reputation scores through automated scripts that publish derivative packages with randomized names.
Vulnerability Detail
The vulnerability originates from the package being part of a token reward campaign that employs malicious scripts to modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently introduce malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mathematical_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 mathematical_bedbug-appteadev package until a secure version is released. Additionally, consider using the following command to audit your npm packages for vulnerabilities: npm audit.
Conclusion
The mathematical_bedbug-appteadev package poses a significant security risk due to its malicious code injection. Developers should take immediate action to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in real-time.
See every vulnerability recorded for mathematical_bedbug-appteadev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
Using this package may introduce malicious code into your application, potentially compromising security.
You should update the package to a patched version or remove it from your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.