Malicious Code Detected in @capacitor-bmo/biometric Package - Vulnerability MAL-2025-6883
Summary
MAL-2025-6883: Malicious code in @capacitor-bmo/biometric (npm). Affects @capacitor-bmo/biometric versions 9999.0.0 – 9999.0.1. 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 @capacitor-bmo/biometric package is a library designed for biometric authentication in applications built with Capacitor. It allows developers to integrate fingerprint and facial recognition features into their apps. However, this package has been flagged for containing malicious code that communicates with a domain associated with harmful activities, posing a significant risk to users and their data.
Vulnerability Detail
The vulnerability identified as MAL-2025-6883 originates from the OpenSSF Package Analysis project, which flagged version 9999.0.1 of the @capacitor-bmo/biometric package as malicious. The package's malicious behavior includes unauthorized communication with a domain linked to malicious activities, which could lead to data breaches, unauthorized access, or other security incidents. Users of this package are at risk of exposing sensitive information and compromising application integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @capacitor-bmo/biometric
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 measure, consider removing the @capacitor-bmo/biometric package from your project until a secure version is available. You can do this by running the following command: npm uninstall @capacitor-bmo/biometric.
Conclusion
The @capacitor-bmo/biometric package has been identified as malicious, posing significant risks to applications that utilize it. It is essential for developers to take immediate action by removing the affected version and monitoring for updates or alternatives. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for @capacitor-bmo/biometric →
FAQ
The vulnerability involves malicious code that communicates with a domain associated with harmful activities, posing risks to user data and application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.
You should uninstall the affected version and look for a secure alternative or wait for a patched version to be released.
While specific alternatives may vary, consider researching other biometric authentication libraries that are well-reviewed and actively maintained.
Regularly check for updates in your dependencies and consider using tools like Vulert to monitor your projects for vulnerabilities.