{"id":"MAL-2026-12090","revision":"7055604abb1040449e5d50ae56c9d5e3","records":[{"revision":"7055604abb1040449e5d50ae56c9d5e3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12090","aliases":[],"title":"Malicious code in @wethenorth12/docker-api-client (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ae39aac54233ee3235e2cb94f52d5d4e182a6f16d91ac42b9d7add9bd8c00470)\nPackage 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 chat_id=8969499041. A tmp marker file suppresses repeat sends. The wholesale process.env dump routinely carries CI/build secrets such as AWS_*, GITHUB_TOKEN, NPM_TOKEN, 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.\n","state":0,"publishedAt":"2026-08-05T06:24:56+00:00","modifiedAt":"2026-08-05T07:20:51.9401705+00:00","affected":[{"ecosystem":"npm","name":"@wethenorth12/docker-api-client","ranges":[],"versions":["2.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@wethenorth12/docker-api-client/v/2.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12090","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12090","identifiers":["MAL-2026-12090"]},"retained":false,"historicalAffected":[]}],"coverage":[]}