kecak256 (npm) · Malicious Code
Affects kecak256Source GCVE Database
Malicious package : remove kecak256 and rotate any secrets on hosts that installed it.
Data as of 9 Jul 2026, 10:10 UTC
Malicious package
Published to npm · OSV MAL-2026-5342
What to do
Remove kecak256 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 |
|---|---|---|
| npmkecak256 | 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 'kecak256' is a typosquatting malicious package impersonating the legitimate 'keccak256' package by dropping one 'c' in the name. It includes a credential-stealing payload that executes automatically upon installation. The package uses obfuscated scripts to spawn hidden processes that collect browser and credential store data, archive it, and exfiltrate it in chunks to a command-and-control server. The package author field is also impersonated to match the legitimate maintainer. Multiple versions of this package are affected. Any system with this package installed should be considered compromised, and secrets should be rotated immediately.
References
- npmjs.com/package/kecak256 (opens in a new tab)
- github.com/advisories/GHSA-4vrf-wcrh-g5j5 (opens in a new tab)
- npmjs.com/package/kecak256/v/1.0.5 (opens in a new tab)
- npmjs.com/package/kecak256/v/1.0.1 (opens in a new tab)
- npmjs.com/package/kecak256/v/1.0.2 (opens in a new tab)
- npmjs.com/package/kecak256/v/1.0.0 (opens in a new tab)