MAL-2024-12242

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/coffin-codes-net2/MAL-2024-12242.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12242
Published
2024-09-08T11:23:19Z
Modified
2025-12-12T20:34:04Z
Summary
Malicious code in coffin-codes-net2 (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (694b0573155beac08991f19b534c13e193d82c520d5d0fd8c6733daf1de774ce)

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
Database specific
{
    "malicious-packages-origins": [
        {
            "id": "pypi/2024-08-old-coffins-tunnel/coffin-codes-net2",
            "import_time": "2025-12-02T22:30:55.050048178Z",
            "modified_time": "2024-09-08T11:23:19Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "eecf0374bd2218048e7f3eda51c4f13ef16f8f37c1ab91a8092b777147df84c8",
            "source": "kam193"
        },
        {
            "id": "pypi/2024-08-old-coffins-tunnel/coffin-codes-net2",
            "import_time": "2025-12-02T23:07:18.060412588Z",
            "modified_time": "2024-09-08T11:23:19Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "694b0573155beac08991f19b534c13e193d82c520d5d0fd8c6733daf1de774ce",
            "source": "kam193"
        },
        {
            "id": "pypi/2024-08-old-coffins-tunnel/coffin-codes-net2",
            "import_time": "2025-12-10T21:38:57.348903359Z",
            "modified_time": "2024-09-08T11:23:19Z",
            "sha256": "da2e14628c6f519762743c528bd947af9680c73eb9ca088ddd07d762bf796225",
            "source": "kam193",
            "versions": [
                "7.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / coffin-codes-net2

Package

Name
coffin-codes-net2
View open source insights on deps.dev
Purl
pkg:pypi/coffin-codes-net2

Affected ranges

Affected versions

7.*
7.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/coffin-codes-net2/MAL-2024-12242.json"