MAL-2026-3182

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/redeem-onchain-sdk/MAL-2026-3182.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3182
Aliases
  • GHSA-xv64-hqwm-65h3
Published
2026-04-29T12:00:00Z
Modified
2026-11-10T17:30:29Z
Summary
Malicious code in redeem-onchain-sdk (npm)
Details

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-04-30T22:23:13.562263137Z",
            "modified_time": "2026-04-30T21:59:18Z",
            "sha256": "765d01eed7c5ad80c911fec6f2e1778fb2c14fa7165520416d85273858f7e3e3",
            "source": "amazon-inspector",
            "versions": [
                "1.0.7"
            ]
        },
        {
            "id": "GHSA-xv64-hqwm-65h3",
            "import_time": "2026-11-10T17:17:49.940918998Z",
            "modified_time": "2026-11-10T16:48:21Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "58ad97070c51e5ee415757e07482f1774de43fbbfedab24a4901059904962f8c",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / redeem-onchain-sdk

Package

Name
redeem-onchain-sdk
View open source insights on deps.dev
Purl
pkg:npm/redeem-onchain-sdk

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.7

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/redeem-onchain-sdk/MAL-2026-3182.json"