hubert-react-query (npm) · Malicious Code
Affects hubert-react-querySource GCVE Database
Malicious package : remove hubert-react-query and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 19:28 UTC
Malicious package
Published to npm · OSV MAL-2026-12181
What to do
Remove hubert-react-query 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 |
|---|---|---|
| npmhubert-react-query | 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 hubert-react-query version 20.6.8 contains malicious code that executes automatically upon import. It reconstructs attacker-controlled Cloudflare Workers hostnames at runtime to download a platform-specific native binary, which it writes to temporary directories, sets executable permissions, and executes detached from the parent process. This binary is unrelated to the package's advertised functionality and effectively compromises any system running the package. Immediate removal and secret/key rotation are strongly advised.