Malicious code in redeem-onchain-sdk (npm)
redeem-onchain-sdk is a malicious npm package impersonating a Polymarket on-chain SDK. It collects SSH keys, AWS credentials, .npmrc tokens, Docker auth, Chrome saved logins, .env files, and a month of git commit history, then ships everything over a raw TCP socket to an AWS-hosted C2. Two triggers fire it: a require() side effect in the package's main entry point (added in v1.0.1) and a postinstall hook (added in v1.0.5). The payload lives in dist/proxy.js, later renamed dist/index5_test.js.
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| All releases from the beginning; no upper bound recordedVersions | Not recorded |
Version evidence: OSV · MAL-2026-3182
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.7"
]
}