Malicious Code Detected in capacitor-voice-recorder-wav Package
Summary
MAL-2025-190921: Malicious code in capacitor-voice-recorder-wav (npm). Affects capacitor-voice-recorder-wav versions 6.0.3. 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-voice-recorder-wav package is an npm library designed for recording audio in WAV format using Capacitor. It provides developers with a simple interface to capture audio recordings in their applications. However, this package has been identified to contain malicious code, posing a significant risk to users and their applications.
Vulnerability Detail
The vulnerability originates from the package capacitor-voice-recorder-wav, which has been found to include malicious code that could compromise the security of applications utilizing this library. The malicious code can potentially lead to unauthorized access, data breaches, or other harmful actions within the application environment. This issue was reported by Amazon Inspector, highlighting the importance of scrutinizing third-party packages for security flaws.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall capacitor-voice-recorder-wav
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, you can remove the capacitor-voice-recorder-wav package from your project until a secure version is released. You can do this by executing the following command: npm uninstall capacitor-voice-recorder-wav.
Conclusion
The capacitor-voice-recorder-wav package has been identified to contain malicious code, posing a serious security risk. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for capacitor-voice-recorder-wav →
FAQ
It is an npm library used for recording audio in WAV format within Capacitor applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
You should update the package to the latest version or remove it from your project until a secure version is available.
The malicious code can lead to unauthorized access, data breaches, and other harmful actions within your application.
The vulnerability was reported by Amazon Inspector, a service that helps identify security issues in software packages.