Hijacked GitHub accounts plant malware that steals cloud secrets

Picture for this story, with the CyberUnscripted cat hidden in it
Staged picture. The blue one is ours.

Aikido Security found attackers using 4,837 compromised accounts to open probe pull requests in 61,764 repositories from 10 November.

About 92% of them, titled "docs: dependency audit notes", are still open, which suggests most owners have not seen them.

The probes only checked for write access. GitHub's approval hold stopped the workflow payloads it could see. One variant skipped the workflows and added a line to package.json that runs on every npm install, which the projects' own builds ran as routine. GitHub guarded the workflows, and the attack came in with the housekeeping.

Rotating secrets will not close it. The script leaves AWS and Azure backdoors built to survive a reset, and GitHub's revocation of leaked Fly.io tokens used in the campaign stopped partway, so some may still work.

Discuss on TelegramAll stories

Based on reporting by BleepingComputer.