Hackers Abuse 4,837 Compromised GitHub Accounts to Target 61,764 Repositories for Cloud and AI Credentials
Cybersecurity and privacy
Security researchers revealed the wfx-loot campaign, where attackers used 4,837 compromised GitHub accounts to probe 61,764 repositories, altering Actions workflows to harvest cloud and AI secrets before wiping traces.
Security firm Aikido Security revealed on November 12 a large-scale GitHub credential-stealing campaign dubbed wfx-loot. Starting November 10, attackers used stolen GitHub access tokens across 4,837 compromised accounts to probe write permissions across 61,764 repositories, with malware executing in at least 1,835 repositories. According to findings, the campaign did not exploit flaws in GitHub Actions itself. Instead, attackers leveraged compromised accounts to open pull requests, verify write access, and modify Actions workflows or inject malicious shell scripts. When executed, the workflows collected CI/CD secrets including GitHub tokens, AWS, Google Cloud, and Microsoft Azure credentials, as well as OpenAI and Anthropic API keys. Researchers noted the malware can generate long-term AWS access keys, alter IAM trust policies, and add Azure federated identity credentials. StepSecurity observed that attackers reverted repository modifications and purged workflow run logs typically within one minute, hindering detection through standard code audits.
Key takeaways
- Attackers leveraged 4,837 compromised GitHub accounts to probe 61,764 repositories, executing malware in at least 1,835.
- Malicious workflows harvested CI/CD secrets, cloud credentials (AWS, Google Cloud, Azure), and AI API keys for OpenAI and Anthropic.
- The malware included features to establish AWS long-term keys and Azure federated credentials, reverting changes and logs within one minute.
- Experts advise organizations to audit pull requests and missing workflow execution numbers since November 10 and rotate exposed secrets.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.