bazelisk (npm) · Malicious Code
Affects bazeliskSource GCVE Database
Malicious package : remove bazelisk and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:33 UTC
Malicious package
Published to npm · OSV MAL-2026-14227
What to do
Remove bazelisk 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 |
|---|---|---|
| npmbazelisk | 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 named 'bazelisk' version 1.0.0 is a malicious package impersonating the legitimate Google bazelisk project. It contains a postinstall script that collects environment and host information from the installer and sends this data to an unrelated external server. This behavior matches a dependency confusion beacon pattern, potentially exposing sensitive environment details without user consent.