gpu-accelerator (npm) · Malicious Code
Affects gpu-acceleratorSource GCVE Database
Malicious package : remove gpu-accelerator and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:45 UTC
Malicious package
Published to npm · OSV MAL-2026-5980
What to do
Remove gpu-accelerator 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 |
|---|---|---|
| npmgpu-accelerator | 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 'gpu-accelerator' versions 1.4.2 through 1.4.7 contains malicious code that executes an XOR-obfuscated JavaScript payload with full Node.js privileges. It disguises itself as a PostCSS plugin but runs hidden code that can access filesystem and network resources. The payload includes a sandbox evasion mechanism that prevents execution in CI environments, activating only on interactive developer machines. Any system with this package installed should be considered fully compromised, and secrets should be rotated immediately.
References
- npmjs.com/package/gpu-accelerator/v/1.4.4 (opens in a new tab)
- npmjs.com/package/gpu-accelerator/v/1.4.6 (opens in a new tab)
- npmjs.com/package/gpu-accelerator/v/1.4.2 (opens in a new tab)
- npmjs.com/package/gpu-accelerator/v/1.4.7 (opens in a new tab)
- npmjs.com/package/gpu-accelerator/v/1.4.5 (opens in a new tab)
- github.com/advisories/GHSA-qc67-wjjh-qpcv (opens in a new tab)
- npmjs.com/package/gpu-accelerator/v/1.4.3 (opens in a new tab)