mal-2026-3182
Vulnerability from ossf_malicious_packages
Published
2026-04-29 12:00
Modified
2026-04-30 22:25
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.
Credits
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "redeem-onchain-sdk"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.7"
]
}
],
"credits": [
{
"contact": [
"actran@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://safedep.io"
],
"name": "SafeDep",
"type": "FINDER"
}
],
"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"
]
}
]
},
"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\u0027s 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.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (765d01eed7c5ad80c911fec6f2e1778fb2c14fa7165520416d85273858f7e3e3)\nThe package redeem-onchain-sdk was found to contain malicious code.\n",
"id": "MAL-2026-3182",
"modified": "2026-04-30T22:25:12Z",
"published": "2026-04-29T12:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://safedep.io/redeem-onchain-sdk-polymarket-npm-malware/"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in redeem-onchain-sdk (npm)"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…