MAL-2024-5325

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/libsock/MAL-2024-5325.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-5325
Aliases
  • SNYK-PYTHON-LIBSOCK-6139261
Published
2024-06-25T13:36:56Z
Modified
2026-03-19T12:54:24.204320Z
Summary
Malicious code in libsock (PyPI)
Details

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

## Source: kam193 (8894e90cf943b19a12209f27fbd96009bc1c0c63af51f723208570e1afae2c47)

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2023-11-update-information-endpoint

Reasons (based on the campaign):

  • obfuscation

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • typosquatting

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "74e9c1c0d56be08681f2347e7a45296f31c8c49b78eaf17c9a5fd7e2c610b836",
            "id": "RLMA-2024-04107",
            "import_time": "2024-06-28T02:49:21.576480588Z",
            "modified_time": "2024-06-25T13:36:56Z",
            "versions": [
                "1.1.3",
                "1.1.0"
            ],
            "source": "reversing-labs"
        },
        {
            "sha256": "7a615347539330614ba7156383cc8bb90f6abcd84f9636a4de17659825db0b59",
            "id": "RLUA-2024-08471",
            "import_time": "2024-10-24T00:59:24.567227115Z",
            "modified_time": "2024-10-16T14:43:14Z",
            "source": "reversing-labs"
        },
        {
            "sha256": "ecbe2bc8b2c0d658a96156e7d7b6d71176492493bc325404b473a77a61f20f48",
            "id": "pypi/2023-11-update-information-endpoint/libsock",
            "import_time": "2025-12-02T22:30:55.310100019Z",
            "modified_time": "2024-08-09T19:17:59Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "source": "kam193"
        },
        {
            "sha256": "8894e90cf943b19a12209f27fbd96009bc1c0c63af51f723208570e1afae2c47",
            "id": "pypi/2023-11-update-information-endpoint/libsock",
            "import_time": "2025-12-02T23:07:18.336512191Z",
            "modified_time": "2024-08-09T19:17:59Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "source": "kam193"
        },
        {
            "sha256": "0a6dbb368cef015d08b51bd6f3f2a3b7ba6bfa0c31175b761023c080a8edf470",
            "id": "pypi/2023-11-update-information-endpoint/libsock",
            "import_time": "2025-12-10T21:38:57.570468101Z",
            "modified_time": "2024-08-09T19:17:59Z",
            "versions": [
                "1.1.0",
                "1.1.3"
            ],
            "source": "kam193"
        },
        {
            "sha256": "cfa1c23a3a97268aff98963dc583a071e1d1c81111f910599d210506facd446d",
            "id": "RLUA-2025-06572",
            "import_time": "2025-12-24T10:07:36.609918512Z",
            "modified_time": "2025-12-23T08:38:57Z",
            "source": "reversing-labs"
        },
        {
            "sha256": "7f63cfe26759fe925e88f385129e2845bb346cd4596efded11337dba9bf467be",
            "id": "RLUA-2026-00470",
            "import_time": "2026-03-19T12:19:59.507038891Z",
            "modified_time": "2026-03-18T12:15:36Z",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / libsock

Package

Affected ranges

Affected versions

1.*
1.1.0
1.1.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/libsock/MAL-2024-5325.json"