{"id":"MAL-2024-12241","summary":"Malicious code in coffin-codes-net (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (df624a59b2cb5ef5cf295a7e63718bf7938250f59c5cda19bb6f43c40824e99b)\nSo far, it looks like a legit  tunneling software, but in tcp.py there is an attempt to send a strange email using gmail. Update: Identified as malicious by socket.dev team\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-08-old-coffins-tunnel\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n","modified":"2025-12-12T20:34:02.575224Z","published":"2024-09-08T11:23:19Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"303cb84c7bac9bdc9808bad2e93c6ea896067c434e807c7b9eec0f909848ead1","source":"kam193","id":"pypi/2024-08-old-coffins-tunnel/coffin-codes-net","import_time":"2025-12-02T22:30:55.049335656Z","modified_time":"2024-09-08T11:23:19Z"},{"import_time":"2025-12-02T23:07:18.05930087Z","modified_time":"2024-09-08T11:23:19Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"df624a59b2cb5ef5cf295a7e63718bf7938250f59c5cda19bb6f43c40824e99b","source":"kam193","id":"pypi/2024-08-old-coffins-tunnel/coffin-codes-net"},{"sha256":"c28645e6b419256fb437de35da2553d6705cb40928772c70e6e794eb1fadb7bf","source":"kam193","versions":["7.0"],"id":"pypi/2024-08-old-coffins-tunnel/coffin-codes-net","import_time":"2025-12-10T21:38:57.347978995Z","modified_time":"2024-09-08T11:23:19Z"}]},"references":[{"type":"WEB","url":"https://socket.dev/blog/using-trusted-protocols-against-you-gmail-as-a-c2-mechanism"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/coffin-codes-net"}],"affected":[{"package":{"name":"coffin-codes-net","ecosystem":"PyPI","purl":"pkg:pypi/coffin-codes-net"},"versions":["7.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/coffin-codes-net/MAL-2024-12241.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}