An ongoing attack is abusing compromised GitHub tokens to harvest cloud secrets and credentials from thousands of developer repositories, bringing into focus how compromised developer accounts can provide a gateway into enterprise cloud environments.
Dubbed "Gheist," the campaign has left more than 13,500 malicious branches — or versions of a project's code — across more than 850 compromised GitHub accounts, according to a report published over the weekend by Wiz Research.
The campaign affects everything from personal projects to private enterprise repositories, although public repositories are protected by safeguards GitHub introduced in July, according to the report.
"The control GitHub added is focused on protecting public repositories from workflow abuse vectors," Wiz researcher Rami McCarthy tells Dark Reading. However, "once an enterprise credential is compromised, that control doesn’t apply," he adds.
Wiz also found overlap between Gheist-affected GitHub accounts and other abuse campaigns, including repository-based malware distribution, attempts to exploit GitHub Actions for computing resources, and possible infections linked to other malware operations.
This overlap — which distinguishes Gheist from similar campaigns — suggests stolen developer tokens may be reused or shared among threat actors, "demonstrating the complexity and activity of this threat landscape," McCarthy says.