Critical Malicious Code Vulnerability in @opposhop/nuxt-ssr-cache Package
Summary
MAL-2026-795: Malicious code in @opposhop/nuxt-ssr-cache (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 @opposhop/nuxt-ssr-cache package is an npm module designed to enhance server-side rendering performance in Nuxt.js applications by caching responses. It is commonly used in web development to optimize loading times and improve user experience. However, this package has been identified as containing malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @opposhop/nuxt-ssr-cache package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that simply removing the package may not eliminate all traces of the compromise, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @opposhop/nuxt-ssr-cache
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, it is recommended to avoid using the @opposhop/nuxt-ssr-cache package altogether. Instead, consider using alternative caching solutions that do not pose security risks. Always ensure to review the security of third-party packages before integrating them into your projects.
Conclusion
The @opposhop/nuxt-ssr-cache package contains malicious code that poses a significant security risk. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for @opposhop/nuxt-ssr-cache →
FAQ
Immediately uninstall the @opposhop/nuxt-ssr-cache package and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
Currently, there is no patched version available for the @opposhop/nuxt-ssr-cache package.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, system compromise, and potential data breaches.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only integrate well-reviewed and maintained packages into your projects.