MAL-2026-6733 Malicious code in epic-build-scripts (PyPI)
- Package
- epic-build-scripts
- Registry
- PyPI
What is MAL-2026-6733?
MAL-2026-6733 is a malicious package in epic-build-scripts, published on 2 Jul 2026.
Official description
On 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.
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
Category: 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.
Campaign: GENERIC-standard-pypi-install-pentest
Reasons (based on the campaign):
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
The package overrides the install command in setup.py to execute malicious code during installation.
What should I do about MAL-2026-6733?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.