{"id":"MAL-2026-11521","summary":"Malicious code in psbt-helpers (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (82a309d768af6a39f95bb4f7c9f5d8548a95f0074613985f49f0513420dae9fa)\nThe code advertised as a firmware upgrader for hardware wallets in fact downloads an infostealer. The stealer searches the machine for cryptocurrency sensitive data (wallet files, seeds), browser data (passwords, cookies), all kinds of credentials (including tokens, passwords, SSH keys, TOTP seeds etc.), other sensitive files and current clipboard content. Data are exfiltrated, and the stealer configures persistence via scheduled tasks or LaunchAgent. The code deliberatly doesn't start in CI environments and checks if the system looks real.\n\nContinuation of 2026-08-coldcard-helpers campaign. Related packages are used in malicious repository https://github.com/domaup/coldcard-poc\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-08-psbt-utils\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - files-exfiltration\n\n\n - clipboard-stealing\n\n\n - exfiltration-ssh-keys\n\n\n - obfuscation\n\n\n - crypto-related\n\n\n - exfiltration-cloud-tokens\n\n\n - Downloads and executes a remote malicious script.\n\n\n - exfiltration-browser-data\n\n\n - exfiltration-crypto\n\n\n - exfiltration-credentials\n\n\n - persistence\n","modified":"2026-08-05T08:51:26.200052100Z","published":"2026-08-04T10:17:07Z","database_specific":{"iocs":{"urls":["https://curly-violet-87a9.ricardorichp.workers.dev/firmware"],"domains":["curly-violet-87a9.ricardorichp.workers.dev"]},"malicious-packages-origins":[{"modified_time":"2026-08-04T10:17:07.792559Z","sha256":"394dea9d587ac1affba13c45ecfc28f5d005b2cb5f8b665dcf4591b60085a8ae","source":"kam193","versions":["1.0.0"],"id":"pypi/2026-08-psbt-utils/psbt-helpers","import_time":"2026-08-04T11:21:48.516301735Z"},{"modified_time":"2026-08-04T10:17:07.792559Z","sha256":"82a309d768af6a39f95bb4f7c9f5d8548a95f0074613985f49f0513420dae9fa","source":"kam193","versions":["1.0.0"],"id":"pypi/2026-08-psbt-utils/psbt-helpers","import_time":"2026-08-05T08:22:40.281729662Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/psbt-helpers"},{"type":"WEB","url":"https://github.com/domaup/coldcard-poc/commit/b283e8f995b0933008c281f2161ff01245d30253"}],"affected":[{"package":{"name":"psbt-helpers","ecosystem":"PyPI","purl":"pkg:pypi/psbt-helpers"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/psbt-helpers/MAL-2026-11521.json"}}],"schema_version":"1.8.0","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}