@kuperka/chainguard-sdk (npm) · Malicious Code
Affects @kuperka/chainguard-sdkSource GCVE Database
Malicious package : remove @kuperka/chainguard-sdk and rotate any secrets on hosts that installed it.
Data as of 10 Aug 2026, 15:42 UTC
Malicious package
Published to npm · OSV MAL-2026-13688
What to do
Remove @kuperka/chainguard-sdk 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 |
|---|---|---|
| npm@kuperka/chainguard-sdk | 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 @kuperka/chainguard-sdk versions 1.0.1 and 1.0.2 contains malicious code that exfiltrates sensitive user data. Upon loading, it collects cookies, localStorage/sessionStorage data, form inputs, CSRF/auth tokens, and Web3 wallet identifiers, encoding and sending them to a hardcoded external endpoint. It also scans the page content for credential patterns such as Stripe keys, AWS keys, GitHub tokens, JWTs, and OpenAI keys. Additionally, it captures keystrokes with context and intercepts fetch requests to steal authorization headers and request bodies. The malicious code then displays a fake security overlay to conceal its activity. The package impersonates a legitimate security tool by using the 'chainguard' name and branding.