Malicious Code Detected in fbdemo Package - Security Alert
Summary
MAL-2025-20273: Malicious code in fbdemo (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 fbdemo package is an npm library designed for demonstration purposes, often used in various applications to showcase features or functionalities. However, it has been identified as containing malicious code that poses significant security risks to users and their applications. This vulnerability can lead to unauthorized access or data breaches.
Vulnerability Detail
The vulnerability in the fbdemo package originates from the inclusion of malicious code, which was intentionally embedded by the package maintainer. This code can execute harmful actions on the user's system, potentially compromising sensitive information or allowing unauthorized control over the application. Users of this package should be aware of the risks associated with its use, as it can lead to severe consequences such as data loss or system integrity issues.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fbdemo
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, users can isolate the fbdemo package from critical parts of their application or limit its permissions to reduce potential damage. However, this is not a permanent solution and should not replace the removal or update of the package.
Conclusion
The fbdemo package has been identified as containing malicious code, posing significant security risks to users. It is crucial to remove this package from any projects and consider alternatives to safeguard your applications. Regular monitoring for vulnerabilities using tools like Vulert can help maintain security.
See every vulnerability recorded for fbdemo →
FAQ
The fbdemo package is an npm library used primarily for demonstration purposes in various applications.
The malicious code can execute harmful actions, potentially compromising user data and system integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Currently, there is no mention of a patched version. Users are advised to remove the package or switch to a safer alternative.
Immediately remove the fbdemo package from your project and consider using a different package that does not pose security risks.