csoonline.com·13 november 2026

Thousands of GitHub repos hit with secret-stealing malware

Image for the article: Thousands of GitHub repos hit with secret-stealing malware
Image via csoonline.com

Researchers uncovered a campaign using hijacked GitHub accounts to spread secret-stealing malware across 1,806 repositories, exfiltrating CI/CD secrets and cloud credentials. Attackers used 4,837 compromised accounts to open probe pull requests in 61,764 repositories starting November 10. The payload, a 1,500-line shell script, collects GitHub Actions secrets, cloud credentials, and API keys. GitHub's safeguards blocked some payloads, but an npm hook bypassed them, running undetected. The malware also maintains access by rewriting trust policies and creating long-lived keys.