mal-2024-12240
Vulnerability from ossf_malicious_packages
Published
2024-09-08 11:23
Modified
2025-12-11 09:27
Summary
Malicious code in coffin-codes-2022 (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (6c58561bbec76769fed6ea31b26a57f72ff7242de59c7c6f297a14b56f9b547e)
So 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
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2024-08-old-coffins-tunnel
Reasons (based on the campaign):
- crypto-related
Credits
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "coffin-codes-2022"
},
"versions": [
"7.2"
]
}
],
"credits": [
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "ANALYST"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "pypi/2024-08-old-coffins-tunnel/coffin-codes-2022",
"import_time": "2025-12-02T22:30:55.048591045Z",
"modified_time": "2024-09-08T11:23:19Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "6e5a14df0cd2909ca01e378728dc8823478c3eca11e6c63ca629428d72247c2a",
"source": "kam193"
},
{
"id": "pypi/2024-08-old-coffins-tunnel/coffin-codes-2022",
"import_time": "2025-12-02T23:07:18.056722227Z",
"modified_time": "2024-09-08T11:23:19Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "6c58561bbec76769fed6ea31b26a57f72ff7242de59c7c6f297a14b56f9b547e",
"source": "kam193"
},
{
"id": "pypi/2024-08-old-coffins-tunnel/coffin-codes-2022",
"import_time": "2025-12-10T21:38:57.347191267Z",
"modified_time": "2024-09-08T11:23:19Z",
"sha256": "217486707eb73a1a70a4807c4e87bdad2c4ca3368341137c02bcb1a9ae202ba5",
"source": "kam193",
"versions": [
"7.2"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6c58561bbec76769fed6ea31b26a57f72ff7242de59c7c6f297a14b56f9b547e)\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",
"id": "MAL-2024-12240",
"modified": "2025-12-11T09:27:52Z",
"published": "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-2022"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in coffin-codes-2022 (PyPI)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…