MAL-2026-10186: Malicious code in google-caja-bower (npm)
The npm package google-caja-bower contains malicious code that executes automatically upon installation. It collects detailed system information and uploads up to 500 text-based files from the installer's working directory, including potentially sensitive credential files, to hardcoded Discord webhook URLs. The package impersonates a legitimate namespace and openly labels its behavior as collecting and sending system information. This represents a severe privacy and data exfiltration risk.
AI Analysis
Technical Summary
The google-caja-bower npm package version 1000.801.20 (and several other exact versions) includes a preinstall script that runs index.js automatically during npm install. This script enumerates up to 500 files (excluding common binary/media types) up to 8MB each from the current working directory and uploads their contents along with system metadata (hostname, user environment variables, platform, current directory) to two hardcoded Discord webhook URLs. The files uploaded may include sensitive credential files such as .env, .npmrc, SSH configs, and cloud credentials. The package name mimics the Google Caja/Bower namespace and self-describes its behavior as a 'Dependency Confusion Crawler,' indicating intentional malicious data exfiltration.
Potential Impact
Sensitive information including environment variables, configuration files, and source code can be exfiltrated from the installer's system to an attacker-controlled endpoint. This can lead to credential compromise, unauthorized access, and further exploitation of affected systems. The automatic execution on install increases the risk of widespread impact if the package is used in development or deployment pipelines.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the google-caja-bower package in any version listed. Verify package authenticity before installation and prefer official, verified packages from trusted sources. Monitor for and remove any instances of this package from projects and dependency trees. Since this is not a cloud service, remediation depends on user action to remove or block the malicious package.
MAL-2026-10186: Malicious code in google-caja-bower (npm)
Description
The npm package google-caja-bower contains malicious code that executes automatically upon installation. It collects detailed system information and uploads up to 500 text-based files from the installer's working directory, including potentially sensitive credential files, to hardcoded Discord webhook URLs. The package impersonates a legitimate namespace and openly labels its behavior as collecting and sending system information. This represents a severe privacy and data exfiltration risk.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The google-caja-bower npm package version 1000.801.20 (and several other exact versions) includes a preinstall script that runs index.js automatically during npm install. This script enumerates up to 500 files (excluding common binary/media types) up to 8MB each from the current working directory and uploads their contents along with system metadata (hostname, user environment variables, platform, current directory) to two hardcoded Discord webhook URLs. The files uploaded may include sensitive credential files such as .env, .npmrc, SSH configs, and cloud credentials. The package name mimics the Google Caja/Bower namespace and self-describes its behavior as a 'Dependency Confusion Crawler,' indicating intentional malicious data exfiltration.
Potential Impact
Sensitive information including environment variables, configuration files, and source code can be exfiltrated from the installer's system to an attacker-controlled endpoint. This can lead to credential compromise, unauthorized access, and further exploitation of affected systems. The automatic execution on install increases the risk of widespread impact if the package is used in development or deployment pipelines.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the google-caja-bower package in any version listed. Verify package authenticity before installation and prefer official, verified packages from trusted sources. Monitor for and remove any instances of this package from projects and dependency trees. Since this is not a cloud service, remediation depends on user action to remove or block the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10186
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a535c0068715ace43ad5437
Added to database: 07/12/2026, 09:18:56 UTC
Last enriched: 07/12/2026, 09:22:24 UTC
Last updated: 07/13/2026, 03:33:07 UTC
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.