-= Per source details. Do not edit below this line.=-
Package advertises itself as a 'drop-in replacement for dockerode' but the main module (index.js) has no Docker functionality. On require, it collects hostname, username, home directory, platform, cwd, a timestamp, and the entire process.env, base64-encodes a JSON blob of those fields, and sends it via an HTTPS GET to api.telegram.org/bot<token>/sendMessage with chatid=8969499041. A tmp marker file suppresses repeat sends. The wholesale process.env dump routinely carries CI/build secrets such as AWS*, GITHUBTOKEN, NPMTOKEN, and other installer-owned credentials, so the beacon functions as a credential harvester. The fallback module.exports exposes unrelated crypto/wallet stubs (createWallet, generateMnemonic returning random bytes, signTransaction) and attempts to re-export dockerode if present, serving as cover for the exfiltration.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-013450",
"import_time": "2026-08-05T07:06:48.097935484Z",
"sha256": "ae39aac54233ee3235e2cb94f52d5d4e182a6f16d91ac42b9d7add9bd8c00470",
"versions": [
"2.0.2"
],
"source": "amazon-inspector",
"modified_time": "2026-08-05T06:24:56Z"
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
{
"evidence_files": [
{
"path": "index.js",
"tlsh": "272141cc67f1f59e22336592a42f610eb2bbcee25988fb10d198d4c76f741cc8959398",
"sha256": "61b1bdbea5feaad1597373c965d6f79e991651cf98aa089a3245fc6de267fe7e"
}
],
"package_integrity": [
{
"filename": "docker-api-client-2.0.2.tgz",
"hashes": {
"sha1": "7a3810614a797d76333f2ea9e85bf6146e423a9f",
"sha512_sri": "sha512-KFTfbjoyhHECmklOpg/uWtXkcmCh/Aqg0Dzxpn74DeGBbA+nqgnDO8fpcppqSdVnFR+buMF2QDPdtZp3aghM6A=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wethenorth12/docker-api-client/MAL-2026-12090.json"