Malicious Code Detected in google-internal-ui Package
Summary
MAL-2025-21706: Malicious code in google-internal-ui (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 google-internal-ui package is a component within the npm ecosystem, designed for internal user interface development at Google. It is utilized for creating UI elements and enhancing user experiences in applications. However, this package has been identified to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability arises from the presence of malicious code within the google-internal-ui package. This code can potentially compromise the security of applications utilizing this package, 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 google-internal-ui
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 measure, consider removing the google-internal-ui package from your project until a secure version is released. You can do this by executing: 'npm uninstall google-internal-ui'. This will help mitigate the risks associated with the malicious code.
Conclusion
The google-internal-ui package has been found to contain malicious code, posing a serious security threat to applications that utilize it. Users are advised to update or uninstall the package to mitigate risks. Continuous monitoring for updates and vulnerabilities is essential for maintaining application security.
See every vulnerability recorded for google-internal-ui →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring signup.
Currently, there is no specific patched version mentioned. Users should monitor the package repository for updates.
As a workaround, consider uninstalling the google-internal-ui package until a secure version is available.
The vulnerability was identified by Amazon Inspector, a security tool that helps in finding vulnerabilities in software packages.