A malicious campaign dubbed "Hades" has been discovered on the Python Package Index (PyPI), where 19 packages were poisoned to automatically execute a credential stealer using the Bun runtime. The attack, which auto-runs the malicious code upon installation, targets sensitive credentials and poses a significant supply chain risk.
Security researchers identified the packages as part of a coordinated effort to infect developer environments. The malware leverages Bun, a fast JavaScript runtime, to stealthily harvest and exfiltrate credentials. Developers are urged to audit their dependencies and verify package integrity before installation.
This incident underscores the ongoing threat of typosquatting and dependency confusion attacks on open-source repositories. As the attack vector evolves, the community must remain vigilant against malicious packages designed to bypass traditional security measures.