{"id":"MAL-2026-3706","summary":"Malicious code in web3-helpers (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8d6102ae402b2583a01da47e71f41cccba99fb7826dcf360004d8924557e1760)\nDuring installation, package exfiltrates some basic info to a GitHub issue comment, and then attempt to set up a persistent infostealer focused on exfiltrating crypto wallets and browsers data. Likely continuation of 2026-05-py-requests\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-06-alembic-util\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - crypto-related\n\n\n - Downloads and executes a remote malicious script.\n\n\n - exfiltration-browser-data\n\n\n - exfiltration-crypto\n\n\n - persistence\n\n\n - typosquatting\n","modified":"2026-05-13T21:20:17.227589Z","published":"2026-05-13T20:08:38Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","modified_time":"2026-05-13T20:08:38.714883Z","id":"pypi/2025-06-alembic-util/web3-helpers","versions":["0.110.234"],"import_time":"2026-05-13T21:05:10.361902577Z","sha256":"8d6102ae402b2583a01da47e71f41cccba99fb7826dcf360004d8924557e1760"}],"iocs":{"urls":["https://api.github.com/repos/guellemilb/c2-relay/issues/1/comments","https://gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py/raw/pyrat_light.py","https://gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/web3-helpers"}],"affected":[{"package":{"name":"web3-helpers","ecosystem":"PyPI","purl":"pkg:pypi/web3-helpers"},"versions":["0.110.234"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/web3-helpers/MAL-2026-3706.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}