Malicious Code Detected in additor-react-grid-layout Package
Summary
MAL-2025-14076: Malicious code in additor-react-grid-layout (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 additor-react-grid-layout package is a JavaScript library designed for creating responsive grid layouts in React applications. It offers developers a flexible and customizable way to manage layouts, making it easier to build user interfaces. However, this package has been identified to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the additor-react-grid-layout package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the application. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall additor-react-grid-layout
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, you can avoid using the additor-react-grid-layout package and explore other libraries that offer similar grid layout functionalities, such as react-grid-layout or react-flexbox-grid.
Conclusion
The additor-react-grid-layout package has been identified as containing malicious code, posing a significant risk to users. It is crucial to uninstall this package and seek alternatives to ensure the security of your applications. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application integrity.
See every vulnerability recorded for additor-react-grid-layout →
FAQ
It is a JavaScript library for creating responsive grid layouts in React applications.
The package contains code that can compromise application security, potentially leading to unauthorized access or 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 any signup.
Uninstall the package immediately and consider using alternative libraries that do not have known vulnerabilities.
Currently, there is no patched version available. It is recommended to uninstall the package until a secure alternative is found.