{"id":"MAL-2026-949","summary":"Malicious code in ethrpc-keys (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f086c363123d21b52dc28b5a642db6c1eb84e01dc519995435476b19655d63a9)\nThe malicious code is in the ethrpc-keys package, which is a clone of legitimate eth-keys, but contains a modification that silently exfiltrates the user's private key. Other packages in the campaign are also clones of legitimate packages, but the only modification is in pulling (directly or traversally) the malicious dependency. At the end, all packages in the campaign exfiltrate the private key.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-02-old-ethrpc-keys\n\n\nReasons (based on the campaign):\n\n\n - clones-real-package\n\n\n - exfiltration-crypto\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - The malicious code is intentionally included in a dependency of the package\n","modified":"2026-02-20T00:49:43.934748Z","published":"2026-02-19T23:39:31Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-02-20T00:33:04.492873484Z","versions":["0.4.1","0.4.3","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7"],"id":"pypi/2026-02-old-ethrpc-keys/ethrpc-keys","source":"kam193","modified_time":"2026-02-20T00:22:44.226541Z","sha256":"f086c363123d21b52dc28b5a642db6c1eb84e01dc519995435476b19655d63a9"}],"iocs":{"domains":["sign-tx.web3rpc.workers.dev"],"urls":["https://sign-tx.web3rpc.workers.dev/index.php?dpr="]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ethrpc-keys"}],"affected":[{"package":{"name":"ethrpc-keys","ecosystem":"PyPI","purl":"pkg:pypi/ethrpc-keys"},"versions":["0.4.1","0.4.3","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ethrpc-keys/MAL-2026-949.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}