gaarf-node-bq (npm) · Malicious Code
Affects gaarf-node-bqSource GCVE Database
Malicious package : remove gaarf-node-bq and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:30 UTC
Malicious package
Published to npm · OSV MAL-2026-14239
What to do
Remove gaarf-node-bq 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 |
|---|---|---|
| npmgaarf-node-bq | 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 'gaarf-node-bq' version 1.0.0 is a malicious typosquatting package targeting the internal 'gaarf' package used by Google Ads API report fetcher. It contains a postinstall script that collects host metadata such as hostname, platform, architecture, Node.js version, package name, and npm lifecycle event, then sends this data without user consent to a hardcoded external endpoint. The package itself provides no legitimate functionality and acts as a canary for dependency confusion attacks.