Malicious Code Detected in customer-account-ui-extensions-react Package
Summary
MAL-2025-17840: Malicious code in customer-account-ui-extensions-react (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 customer-account-ui-extensions-react package is an npm library designed to facilitate the integration of customer account UI extensions in React applications. It provides developers with tools to enhance user experience and streamline account management functionalities. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the customer-account-ui-extensions-react package. This code can potentially compromise the security of applications, leading to unauthorized access, data breaches, or other malicious activities. 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 customer-account-ui-extensions-react
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 remove the customer-account-ui-extensions-react package from their project until a secure version is released. This can be done using the command: npm uninstall customer-account-ui-extensions-react. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the customer-account-ui-extensions-react package highlights the importance of vigilance in managing open-source dependencies. Users are urged to update or remove the affected package to safeguard their applications against potential threats.
See every vulnerability recorded for customer-account-ui-extensions-react →
FAQ
The malicious code can perform unauthorized actions within the application, potentially leading to data theft or system compromise.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.
If immediate updates are not possible, consider removing the package and using alternative solutions until a secure version is available.
While specific exploits have not been detailed, the presence of malicious code inherently poses risks that could be exploited by attackers.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and stay updated with security advisories related to the packages you use.