{"id":"MAL-2026-6733","title":"Malicious code in epic-build-scripts (PyPI)","summary":"Malicious code in epic-build-scripts (PyPI)","severity":"none","vendor":"epic-build-scripts","product":"epic-build-scripts","ecosystem":"pip","affected":["epic-build-scripts"],"published":"2026-07-02","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6733","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/epic-build-scripts"},{"url":"https://pypi.org/project/epic-build-scripts/99999.0.0/"}],"tags":["osv","pip"],"ingestedAt":"2026-07-08T18:25:54.788Z","slug":"MAL-2026-6733","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (14d466b50466bb93e6e9130d18e67b680c7255beecafe16043dc5ee51bfec886)\nOn `import epic_build_scripts`, the package's top-level __init__ spawns a background thread that POSTs a JSON payload containing socket.gethostname(), the USER/USERNAME environment variable, and os.getcwd() to the hardcoded bare-IP HTTP endpoint http://109.123.247.172/pypi. The beacon fires automatically whenever the module is loaded, with no user consent, no documented purpose, no configurability, and errors are silently swallowed. The destination is a plaintext-HTTP bare IP unrelated to any publisher infrastructure, and the collected fields are installer host-identity reconnaissance data typical of the initial-recon stage of a supply-chain attack.\n\n## Source: kam193 (93043b3f00a64c66fb0680256387471b656f222556c282c9cb1680347f14fae8)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n## Affected packages\n\n- `epic-build-scripts`\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":[]}