---
id: "GHSA-xv64-hqwm-65h3"
page: "https://infrastack.ai/live/GHSA-xv64-hqwm-65h3"
kind: "package"
aliases: ["GHSA-xv64-hqwm-65h3", "MAL-2026-3182"]
title: "Malicious code in redeem-onchain-sdk (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "redeem-onchain-sdk", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-04-29T12:00:00+00:00"
first_seen_at: "2026-11-10T18:23:10+00:00"
updated_at: "2026-11-10T18:26:19+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-3182", "first_seen_at": "2026-11-10T18:23:10+00:00"}]
exploit_sources: []
---

# Malicious code in redeem-onchain-sdk (npm)

Link for people: https://infrastack.ai/live/GHSA-xv64-hqwm-65h3 (this .md is for agents)

## Affected

- npm:redeem-onchain-sdk affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-10T18:23:10+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-3182

## From the sources

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.

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (765d01eed7c5ad80c911fec6f2e1778fb2c14fa7165520416d85273858f7e3e3)
The package redeem-onchain-sdk was found to contain malicious code.

## Source: ghsa-malware (58ad97070c51e5ee415757e07482f1774de43fbbfedab24a4901059904962f8c)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
