{"id":"MAL-2026-6748","title":"Malicious code in haproxy-config-client (PyPI)","summary":"Malicious code in haproxy-config-client (PyPI)","severity":"none","vendor":"haproxy-config-client","product":"haproxy-config-client","ecosystem":"pip","affected":["haproxy-config-client"],"published":"2026-07-03","updated":"2026-07-05","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6748","references":[{"url":"https://www.virustotal.com/gui/file/d47a2d1b96df84b10263a99866b865421b334448432d1b447b82c76253bcbe86/detection"},{"url":"https://bad-packages.kam193.eu/pypi/package/haproxy-config-client"}],"tags":["osv","pip"],"ingestedAt":"2026-07-08T18:25:54.798Z","slug":"MAL-2026-6748","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f70d07844bca4fadfcedb195f5768c8a95318af4d62a4bcec94556b99b72c4ad)\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'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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-07-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\n\n - data-stored-in-dns\n\n\n## Affected packages\n\n- `haproxy-config-client`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}