Malicious Code Detected in carno-key-board Package
Summary
MAL-2025-16559: Malicious code in carno-key-board (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 carno-key-board package is an npm library designed for keyboard input management in web applications. It provides functionalities for handling keyboard events, enhancing user interaction. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the carno-key-board package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of the code was identified through security audits and monitoring, highlighting the need for immediate attention from developers using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall carno-key-board
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, consider removing the carno-key-board package from your project until a secure version is released. You can uninstall it using the command: 'npm uninstall carno-key-board'. This will help mitigate the risk while you seek alternative libraries or wait for a fix.
Conclusion
The carno-key-board package has been identified to contain malicious code, posing serious security risks. Developers using this package should take immediate action to update or remove it from their projects to safeguard their applications.
See every vulnerability recorded for carno-key-board →
FAQ
The carno-key-board package is an npm library for managing keyboard input in web applications.
The vulnerability involves malicious code that can compromise application security.
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.
Immediately update the package to the latest version or remove it from your project until a secure version is available.
Detailed information about the vulnerability can be found on the GitHub repository of the malicious package.