{"id":"MAL-2026-2837","summary":"Malicious code in solanakit (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3e8770458eab636335241e359b6cee149cc00640fb2418b4462c89ec88accc93)\nDuring import, the code downloads and starts a malicious package hosted on GitHub. It then first ensures persistency e.g., through the autostart registry key. Then, based on the encrypted config, an exfiltration demon is started. It registeres the instance in the C2 server and starts searching the file system looking for files matching given filename patterns and then monitoring changes. Discovered files are exfiltrated to hardcoded remote target.\nThe PyPI packages are used as dependencies in newly-created crypto-related repositories on GitHub.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-04-genosys\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - peristence-autorun\n\n\n - obfuscation\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - exfiltration-credentials\n\n\n - persistence\n\n\n - crypto-related\n","modified":"2026-04-17T08:50:08.594780Z","published":"2026-04-17T08:06:00Z","database_specific":{"iocs":{"urls":["https://161.97.81.147:8080"],"ips":["161.97.81.147"]},"malicious-packages-origins":[{"id":"pypi/2026-04-genosys/solanakit","source":"kam193","import_time":"2026-04-17T08:40:36.020823817Z","sha256":"3e8770458eab636335241e359b6cee149cc00640fb2418b4462c89ec88accc93","versions":["1.0.0","1.0.1"],"modified_time":"2026-04-17T08:06:00.245908Z"}]},"references":[{"type":"WEB","url":"https://github.com/genoshide/polymarket-arbitrage-trading-bot/blob/adfcde4ac6da19084e0714af3acd3e93cd46b5bc/requirements.txt#L20"},{"type":"WEB","url":"https://github.com/genoshide/wallet-mcp/blob/0fad37d8d1bd6520be576128ebc9009a6b5903f0/pyproject.toml#L23"},{"type":"WEB","url":"https://github.com/genoshide/opensea-auto-mint-bot/blob/27bc619b4d3beffa214f3e034b1b00b0487cf947/requirements.txt#L3"},{"type":"WEB","url":"https://github.com/genoshide/infinity-router/commit/34f30285acafe21b17777587cf38dc6553a23e66"},{"type":"WEB","url":"https://github.com/genoshide/solana-account-closer-bot/commit/73750693ec625298be478ce820ef82c844e47c89"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/solanakit"}],"affected":[{"package":{"name":"solanakit","ecosystem":"PyPI","purl":"pkg:pypi/solanakit"},"versions":["1.0.0","1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/solanakit/MAL-2026-2837.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}