Malicious Code Detected in canvasino Package - Vulnerability MAL-2025-16504
Summary
MAL-2025-16504: Malicious code in canvasino (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 canvasino package is a Node.js library designed for creating and manipulating canvas elements in web applications. It provides developers with a range of functionalities for drawing graphics, images, and text on HTML5 canvas. However, this package has been found to contain malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the canvasino package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall canvasino
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 canvasino package from your project until a secure version is released. You can do this by running the following command: npm uninstall canvasino. Additionally, review your codebase for any dependencies that may rely on this package and assess their security.
Conclusion
The canvasino package has been identified as containing malicious code, posing a significant risk to applications that utilize it. Developers are urged to update or remove the package to mitigate potential security threats. Utilizing tools like Vulert can help maintain awareness of vulnerabilities in your projects.
See every vulnerability recorded for canvasino →
FAQ
canvasino is a Node.js library used for creating and manipulating HTML5 canvas elements in web applications.
The vulnerability involves malicious code that can compromise application security, potentially leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Immediately update the canvasino package to the latest patched version or remove it from your project until a secure version is available.
Yes, using tools like Vulert allows you to monitor your project's dependencies for vulnerabilities in real-time, ensuring you are alerted to any issues as they arise.