mal-2026-6748
Vulnerability from ossf_malicious_packages
Published
2026-07-03 22:43
Modified
2026-07-03 23:53
Summary
Malicious code in haproxy-config-client (PyPI)
Details

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

Source: kam193 (f3231df36fad882782125a817ad5881080ef595dc1941b5d77aac3c19e7b2bab)

During installation the obfuscated code downloads a malicious executable from a remote location. Code is designed to survive different blocks: first, there is an attempt to download the executable from one of five Cloudflare Workers. If it's not successful, the code falls back to download using DNS: first, it gets a TXT record from c.lin.dl.wel1[.]ru. This record returns a number, which is then used to iterate over domains in the form <0...n>.lin.dl.wel1[.]r and reconstruct the encoded executable from their TXT records. The executable is finally saved under a partially random name, executed, and removed after execution. The Linux executable contacts a few domains, but there is no more detailed information about its behavior available.


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

Campaign: 2026-06-haproxy-config-client

Reasons (based on the campaign):

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

  • Downloads and executes a remote executable.

  • obfuscation

  • dependency-confusion

  • other

  • malware

  • covering-tracks

  • targetted-attack

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "haproxy-config-client"
      },
      "versions": [
        "8.5.3"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "package-proxy.cf5oobworker.workers.dev",
        "package-proxy.cf8oobworker.workers.dev",
        "package-proxy.cf12oobworker.workers.dev",
        "package-proxy.cf17-ddb.workers.dev",
        "package-proxy.cf25-6eb.workers.dev",
        "c.lin.dl.wel1.ru"
      ],
      "urls": [
        "https://package-proxy.cf5oobworker.workers.dev/pkg/package",
        "https://package-proxy.cf8oobworker.workers.dev/pkg/package",
        "https://package-proxy.cf12oobworker.workers.dev/pkg/package",
        "https://package-proxy.cf17-ddb.workers.dev/pkg/package",
        "https://package-proxy.cf25-6eb.workers.dev/pkg/package"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-06-haproxy-config-client/haproxy-config-client",
        "import_time": "2026-07-03T23:26:20.882507498Z",
        "modified_time": "2026-07-03T22:43:15.278764Z",
        "sha256": "f3231df36fad882782125a817ad5881080ef595dc1941b5d77aac3c19e7b2bab",
        "source": "kam193",
        "versions": [
          "8.5.3"
        ]
      },
      {
        "id": "pypi/2026-07-haproxy-config-client/haproxy-config-client",
        "import_time": "2026-07-03T23:51:45.546961499Z",
        "modified_time": "2026-07-03T22:43:15.278764Z",
        "sha256": "f9e96a88174798db94c5c03e458edc05136cbf37abc255590d34c09dcd534688",
        "source": "kam193",
        "versions": [
          "8.5.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f3231df36fad882782125a817ad5881080ef595dc1941b5d77aac3c19e7b2bab)\nDuring installation the obfuscated code downloads a malicious executable from a remote location. Code is designed to survive different blocks: first, there is an attempt to download the executable from one of five Cloudflare Workers. If it\u0027s not successful, the code falls back to download using DNS: first, it gets a TXT record from c.lin.dl.wel1[.]ru. This record returns a number, which is then used to iterate over domains in the form \u003c0...n\u003e.lin.dl.wel1[.]r and reconstruct the encoded executable from their TXT records. The executable is finally saved under a partially random name, executed, and removed after execution. The Linux executable contacts a few domains, but there is no more detailed information about its behavior available.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-06-haproxy-config-client\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - Downloads and executes a remote executable.\n\n\n - obfuscation\n\n\n - dependency-confusion\n\n\n - other\n\n\n - malware\n\n\n - covering-tracks\n\n\n - targetted-attack\n",
  "id": "MAL-2026-6748",
  "modified": "2026-07-03T23:53:28Z",
  "published": "2026-07-03T22:43:15Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://www.virustotal.com/gui/file/d47a2d1b96df84b10263a99866b865421b334448432d1b447b82c76253bcbe86/detection"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/haproxy-config-client"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in haproxy-config-client (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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…