Malicious Code Detected in @googlesitekit/assets: Version 9.9.9 Vulnerability
Summary
MAL-2025-6238: Malicious code in @googlesitekit/assets (npm). Affects @googlesitekit/assets versions 9.9.9. 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 @googlesitekit/assets package is part of the Google Site Kit, a plugin that helps users manage and analyze their website's performance using various Google services. This package is designed to facilitate the integration of these services into WordPress sites, providing users with insights and analytics. However, version 9.9.9 of this package has been identified as malicious, posing significant risks to users who have it installed.
Vulnerability Detail
The vulnerability in the @googlesitekit/assets package arises from its communication with a domain associated with malicious activity. This could potentially lead to data breaches, unauthorized access to user information, and other security threats. The origin of this vulnerability is linked to the package's version 9.9.9, which has been flagged by the OpenSSF Package Analysis project as harmful. Users of this package should be aware of the risks involved and take immediate action to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @googlesitekit/assets
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, users can remove the @googlesitekit/assets package from their project until a safe version is confirmed. This can be done using the command: npm uninstall @googlesitekit/assets.
Conclusion
The @googlesitekit/assets package version 9.9.9 has been identified as malicious, posing serious risks to users. It is crucial to update or uninstall the package to protect your application from potential threats. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for @googlesitekit/assets →
FAQ
The vulnerability involves the package communicating with a domain linked to malicious activities, which can compromise user data.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
If immediate updates are not possible, consider uninstalling the package as a temporary workaround to mitigate risks.
Yes, using Vulert allows you to monitor your application for vulnerabilities without requiring code access or installation.
Failing to address this vulnerability could lead to data breaches, unauthorized access, and other security threats to your application.