mal-2024-5326
Vulnerability from ossf_malicious_packages
Published
2024-06-25 13:36
Modified
2025-12-24 10:09
Summary
Malicious code in libsocks5 (PyPI)
Details

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

Source: kam193 (f9d745820f944dd4aaf916168db7546fdd4689ac873f85166e92e87329caa3f9)


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




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "libsocks5",
        "purl": "pkg:pypi/libsocks5"
      },
      "versions": [
        "1.7.4",
        "1.7.0",
        "1.1.1",
        "1.7.3",
        "1.7.2",
        "1.7.1"
      ]
    }
  ],
  "aliases": [
    "SNYK-PYTHON-LIBSOCKS5-6139260"
  ],
  "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"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "RLMA-2024-04108",
        "import_time": "2024-06-28T02:49:21.705863052Z",
        "modified_time": "2024-06-25T13:36:56Z",
        "sha256": "09951764d125cccafdedff570d8c1c23f5b758818f2a4ea86b0136a5e96c5906",
        "source": "reversing-labs",
        "versions": [
          "1.7.4",
          "1.7.0",
          "1.1.1",
          "1.7.3",
          "1.7.2",
          "1.7.1"
        ]
      },
      {
        "id": "RLUA-2024-08472",
        "import_time": "2024-10-24T00:59:24.635618506Z",
        "modified_time": "2024-10-16T14:43:15Z",
        "sha256": "7b9c6e3863fb099d4f96269a21ae60faeb39f6c45a1829c7d8769feee39a61ae",
        "source": "reversing-labs"
      },
      {
        "id": "pypi/2023-11-update-information-endpoint/libsocks5",
        "import_time": "2025-12-02T22:30:55.310868335Z",
        "modified_time": "2024-08-09T19:17:59Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "7abec419c903e1d92e16ac461f7341cf082938f35cb182b8979aab8e36890ef1",
        "source": "kam193"
      },
      {
        "id": "pypi/2023-11-update-information-endpoint/libsocks5",
        "import_time": "2025-12-02T23:07:18.337374149Z",
        "modified_time": "2024-08-09T19:17:59Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "f9d745820f944dd4aaf916168db7546fdd4689ac873f85166e92e87329caa3f9",
        "source": "kam193"
      },
      {
        "id": "pypi/2023-11-update-information-endpoint/libsocks5",
        "import_time": "2025-12-10T21:38:57.571324518Z",
        "modified_time": "2024-08-09T19:17:59Z",
        "sha256": "3bc6b0fec4a6b3540f79ae0d408b8ef65f96121f5d7c5a0a9e8e0634870311a1",
        "source": "kam193",
        "versions": [
          "1.7.1",
          "1.7.0",
          "1.7.2",
          "1.7.3",
          "1.1.1",
          "1.7.4"
        ]
      },
      {
        "id": "RLUA-2025-06573",
        "import_time": "2025-12-24T10:07:36.658301737Z",
        "modified_time": "2025-12-23T08:38:58Z",
        "sha256": "4b82d3906b35e14e4078a8184b5d95d7d1e622ab655e6618a4601d3547663492",
        "source": "reversing-labs"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f9d745820f944dd4aaf916168db7546fdd4689ac873f85166e92e87329caa3f9)\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2023-11-update-information-endpoint\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n",
  "id": "MAL-2024-5326",
  "modified": "2025-12-24T10:09:32Z",
  "published": "2024-06-25T13:36:56Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security.snyk.io/vuln/SNYK-PYTHON-LIBSOCKS5-6139260"
    },
    {
      "type": "ARTICLE",
      "url": "https://medium.com/checkmarx-security/python-packages-leverage-github-to-deploy-fileless-malware-b6c281dea58f"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/libsocks5"
    },
    {
      "type": "ARTICLE",
      "url": "https://www.reversinglabs.com/blog/malware-leveraging-public-infrastructure-like-github-on-the-rise"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in libsocks5 (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…