Malicious Code Detected in canopus-middleware-jsonp-slidev Package
Summary
MAL-2025-16500: Malicious code in canopus-middleware-jsonp-slidev (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 canopus-middleware-jsonp-slidev package is an npm library designed for middleware functionality in JavaScript applications. It allows developers to easily integrate JSONP support into their applications. However, this package has been found to contain malicious code, posing a significant risk to users who implement it in their projects.
Vulnerability Detail
The vulnerability in the canopus-middleware-jsonp-slidev package originates from the inclusion of malicious code that can compromise the security of applications using this library. The ramifications of this vulnerability include potential data breaches, unauthorized access to sensitive information, and exploitation of the affected systems. The malicious code was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall canopus-middleware-jsonp-slidev
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 workaround, users can temporarily disable any features that rely on the canopus-middleware-jsonp-slidev package until a secure alternative is implemented. Additionally, consider using other middleware libraries that do not have known vulnerabilities.
Conclusion
The canopus-middleware-jsonp-slidev package has been identified as containing malicious code, posing a serious security risk to applications that utilize it. Immediate action is required to remove the package and seek alternatives to ensure the safety of your software.
See every vulnerability recorded for canopus-middleware-jsonp-slidev →
FAQ
It is an npm library designed for middleware functionality, specifically for integrating JSONP support into JavaScript applications.
The package contains code that can compromise application security, potentially leading to data breaches and unauthorized access.
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.
You should remove the canopus-middleware-jsonp-slidev package and replace it with a secure alternative immediately.
Currently, there is no patched version available. Users are advised to remove the package until a secure alternative is found.