Malicious Code Injection in voip-callkit: A Critical Vulnerability
Summary
MAL-2025-47416: Malicious code in voip-callkit (npm). Affects voip-callkit versions 1.0.2 – 1.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 'voip-callkit' package is an npm library designed to facilitate voice over IP (VoIP) functionalities in applications. It provides developers with tools to implement call handling, audio processing, and user interface components for VoIP services. However, this package has been compromised, leading to the introduction of malicious code that poses significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the 'voip-callkit' package stems from its compromise by the Shai-Hulud NPM worm. This malicious payload is designed to steal sensitive tokens and credentials from users and subsequently publish them to GitHub. Furthermore, it propagates itself to other NPM packages owned by the affected users, amplifying the risk of widespread exploitation. The presence of embedded malicious code (CWE-506) makes this vulnerability particularly dangerous, as it can lead to unauthorized access and data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall voip-callkit
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 remove the 'voip-callkit' package from their project until a secure version is confirmed. This can be done by executing the following command: npm uninstall voip-callkit. Additionally, consider using alternative libraries that provide similar functionalities without the associated risks.
Conclusion
The 'voip-callkit' package has been compromised, leading to a critical vulnerability that allows malicious code to steal sensitive information. Users are urged to update the package immediately and consider alternative solutions while monitoring their applications for potential threats. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for voip-callkit →
FAQ
The malicious code is designed to steal tokens and credentials from users and publish them to GitHub, compromising user security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
If immediate updates are not possible, consider removing the package temporarily and using alternative libraries until a secure version is available.
The Shai-Hulud NPM worm propagates by infecting other NPM packages owned by the user, thereby increasing the risk of further exploitation.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure that you keep your packages updated to the latest secure versions.