The source code for Miasma, a credential-stealing attack framework targeting open-source ecosystems via supply-chain attacks, was briefly posted on GitHub. The leak, described as short-lived, exposed the worm's inner workings before being taken down.

While the exact duration of the exposure remains unclear, the leak could enable threat actors to study and modify the malware. Miasma has previously been observed in campaigns that compromise software dependencies to steal credentials, making its source code a high-value asset for malicious reuse.

Technical analysis of the leaked code suggests Miasma operates as a self-propagating worm, using compromised dependencies to spread laterally. Indicators of compromise include unusual outbound connections and modified package manifests within affected repositories.

As of now, no formal patches or mitigations have been announced specific to the leak, though organizations are advised to audit their software supply chains and monitor for signs of Miasma activity. The GitHub repository hosting the code has been removed, but copies may persist.

Attribution for the leak is unknown, and it is unclear if the exposure was accidental or intentional. The incident underscores the growing risk of malware source code proliferation in the open-source ecosystem.