{"id":"MAL-2026-3701","summary":"Malicious code in api-request-helpers (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c8e8b70ac4deca30691d583ac6891034222b7458bf5ba9e7b86cf5e6627d8abb)\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:21:25.119966Z","published":"2026-05-13T20:04:37Z","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.185.132"],"id":"pypi/2025-06-alembic-util/api-request-helpers","sha256":"c8e8b70ac4deca30691d583ac6891034222b7458bf5ba9e7b86cf5e6627d8abb","source":"kam193","import_time":"2026-05-13T21:05:10.358594252Z","modified_time":"2026-05-13T20:04:37.749101Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/api-request-helpers"}],"affected":[{"package":{"name":"api-request-helpers","ecosystem":"PyPI","purl":"pkg:pypi/api-request-helpers"},"versions":["0.185.132"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/api-request-helpers/MAL-2026-3701.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}