3mo ago · step-security
Recent attacks like Sha1-Hulud and Megalodon have used public GitHub repositories to exfiltrate stolen credentials, leveraging random UUID-named repositories for rapid distribution. GitHub's new public monitoring feature helps detect such leaks by scanning public content across github.com, including repositories not owned by the enterprise. However, this detection occurs post-exposure and does not cover secrets exfiltrated to external attacker-controlled infrastructure or exposed through CI/CD logs. A layered defense combining detection and runtime egress control is recommended to prevent real-time exfiltration.