{"id":"MAL-2026-5337","summary":"Malicious code in solana-web3 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (91c09b86579a07d271d3bcd57adf5b5b161e49e36c3bd7af09c50dd8127aa54f)\nDuring import, the package exfiltrates sensitive data (credentials, SSH keys, cryptowallet's data). It also establishes persistence via a cronjob.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-06-spl-token-py\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - typosquatting\n\n\n - exfiltration-ssh-keys\n\n\n - exfiltration-credentials\n\n\n - exfiltration-crypto\n\n\n - exfiltration-env-variables\n\n\n - persistence\n\n\n - uses-telegram-bot\n\n\n - The package contains code to detect if it is running in a sandbox environment.\n","modified":"2026-06-08T23:15:50.096945902Z","published":"2026-06-08T22:20:57Z","database_specific":{"malicious-packages-origins":[{"sha256":"91c09b86579a07d271d3bcd57adf5b5b161e49e36c3bd7af09c50dd8127aa54f","modified_time":"2026-06-08T22:20:58.147035Z","import_time":"2026-06-08T23:01:22.27085005Z","versions":["1.0.0"],"source":"kam193","id":"pypi/2026-06-spl-token-py/solana-web3"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/solana-web3"}],"affected":[{"package":{"name":"solana-web3","ecosystem":"PyPI","purl":"pkg:pypi/solana-web3"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/solana-web3/MAL-2026-5337.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}