Malicious Code Detected in canva-test Package - Security Alert
Summary
MAL-2025-192720: Malicious code in canva-test (npm). Affects canva-test versions 1.0.0. 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 canva-test package is an npm module designed for testing purposes within the Canva ecosystem. It is utilized by developers to create and manage design-related functionalities. However, the package has been found to contain malicious code, posing a significant security risk to users who integrate it into their applications.
Vulnerability Detail
The vulnerability in the canva-test package arises from the inclusion of malicious code that can compromise the security of applications using this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious code was identified in version 1.0.0 of the package, and it is crucial for users to be aware of its potential ramifications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall canva-test
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 avoid using the canva-test package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The canva-test package has been identified as containing malicious code, posing a serious security threat to users. It is essential to remove this package from your projects and monitor for any updates or patches that may address this vulnerability. Utilizing tools like Vulert can help in real-time monitoring of open-source vulnerabilities.
See every vulnerability recorded for canva-test →
FAQ
The canva-test package is an npm module used for testing functionalities within the Canva ecosystem.
The vulnerability involves malicious code that can compromise the security of applications using the package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should remove the canva-test package from your project immediately and look for alternative solutions.
Currently, there is no patched version available for the canva-test package.