chromecast-webdriver-cli (npm) · Malicious Code
Affects chromecast-webdriver-cliSource GCVE Database
Malicious package : remove chromecast-webdriver-cli and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:32 UTC
Malicious package
Published to npm · OSV MAL-2026-14231
What to do
Remove chromecast-webdriver-cli from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmchromecast-webdriver-cli | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package chromecast-webdriver-cli@1.0.0 contains malicious code that executes a postinstall script. This script collects host metadata such as hostname, platform, architecture, node version, package name, and npm lifecycle event, then sends this data to a third-party server without user consent. The package is a typosquat or dependency confusion attempt, mimicking a legitimate upstream tool but with no functional code beyond the data beacon.