redeem-onchain-sdk (npm) · Malicious Code
Affects redeem-onchain-sdkSource GCVE Database
Malicious package : remove redeem-onchain-sdk and rotate any secrets on hosts that installed it.
Data as of 27 Oct 2026, 00:33 UTC
Malicious package
Published to npm · OSV MAL-2026-3182
What to do
Remove redeem-onchain-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 |
|---|---|---|
| npmredeem-onchain-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 redeem-onchain-sdk npm package is a malicious package impersonating a legitimate Polymarket on-chain SDK. It exfiltrates sensitive data including SSH keys, AWS credentials, npm tokens, Docker authentication, Chrome saved logins, .env files, and git commit history to a command and control server hosted on AWS. The malicious payload activates via a require() side effect in version 1.0.1 and a postinstall hook in version 1.0.5, with the payload located in dist/proxy.js (later renamed dist/index5_test.js).