{"id":"MAL-2026-3700","summary":"Malicious code in alembic-util (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8e9b764ee0ccd6a2c6c2db1b7722f083ee9f643cb99d03821d5e6571f68db253)\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:31.325101Z","published":"2026-05-13T20:03:32Z","database_specific":{"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"]},"malicious-packages-origins":[{"versions":["0.189.33"],"sha256":"8e9b764ee0ccd6a2c6c2db1b7722f083ee9f643cb99d03821d5e6571f68db253","id":"pypi/2025-06-alembic-util/alembic-util","modified_time":"2026-05-13T20:03:32.449005Z","import_time":"2026-05-13T21:05:10.357956686Z","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/alembic-util"}],"affected":[{"package":{"name":"alembic-util","ecosystem":"PyPI","purl":"pkg:pypi/alembic-util"},"versions":["0.189.33"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/alembic-util/MAL-2026-3700.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}