Hackers compromise 4,800 GitHub accounts to steal cloud credentials

10s of countless GitHub repositories were targeted in a project called’wfx-loot’that utilizes harmful workflows to take GitHub Actions tricks and cloud qualifications.

Not all repositories ran the payload, scientists verified that the hazard star took tricks from at least 1,835 targets.

The danger star utilized countless jeopardized GitHub accounts to open pull demands versus repositories those accounts might access, evaluating whether they had enough compose authorizations to inject harmful code.

celebrities image

A few of the jeopardized accounts came from Fortune 100 companies, the United States General Services Administration, the French federal government, Nextcloud, and WebdriverIO.

According to scientists at application security business Aikido, about 50 of them appear to have publishing rights on other open-source software application environments and plan indexes such as npm, PyPI, Go, cages, and Packagist.

Attack information

Aikido states the wfx-loot project started around 12:45 UTC on November 10, when the enemy utilized taken GitHub qualifications from 4,837 jeopardized accounts to penetrate 61,764 repositories for compose gain access to.

The danger star opened pull demands entitled ‘docs: reliance audit notes,’ camouflaged as dependence audit notes.

Of those pull demands, 92% stay open, Aikido reports, recommending the genuine repository owners did not discover the activity.

Injected workflow action
Source: Aikido

They then provided a 1,500-line credential-stealing shell script by customizing an existing GitHub Actions workflow, including a brand-new workflow on a short-term branch, or planting an npm set up hook.

The script tries to gather the following information:

  • GitHub Actions and variables, the workflow’s GITHUB_TOKEN, OIDC, and Actions runtime tokens.
  • Cloud qualifications for AWS, Azure, and Google Cloud, consisting of qualifications exposed through circumstances metadata on self-hosted runners.
  • Designer and facilities qualifications from Git, SSH, GPG, Docker, Kubernetes, npm, PyPI, Vault, and Terraform.
  • AI service and developer-tool qualifications for OpenAI, Anthropic, Gemini, Hugging Face, Cursor, and GitHub Copilot.
  • Other sources of tricks consist of environment variables,. env files, personal secrets, keystores, shell histories, procedure memory, repository files and current devotes, and workflow artifacts.

The script likewise supports cloud advantage escalation by exchanging GitHub OIDC tokens for short-lived AWS, Azure, and GCP cloud sessions.

In AWS, it can chain into extra IAM (identity and gain access to management) functions present in the repository “to create long-lived credentials for IAM users.” It likewise utilizes gathered service-account qualifications to impersonate identities in GCP.

Aikido keeps in mind that abilities consist of developing relentless gain access to by developing long-lived qualifications or customizing cloud identity and trust policies where authorizations permit.

The script compressed the gathered information into tarballs and exfiltrated it by means of HTTP POST to one of 2 attacker-controlled endpoints.

In the last, the enemy rapidly reverted their modifications and erased workflow runs and logs. Aikido states this was finished in under a minute.

Automated publishing brought the payload into Packagist’s digitalelvis/neuronai-studio 3.14.3 and 2 variations of the Go module github.com/onuragtas/docker-env, v1.0.278 and v1.0.280.

The scientists think the danger star’s main goal was to take CI tricks, while the bundle releases were a by-product of automated publishing.

The scientists likewise discovered particular overlaps with the 2025 GhostAction project.

Repository owners are encouraged to search for the ‘wfx-docs’ branch, the probe pull demand, and spaces in workflow run numbers.

Where payload execution is validated, all tricks and cloud functions readily available to the impacted workflows need to be thought about jeopardized and turned instantly.

celebrities article image

Discover e-mail hazards your existing defenses might miss out on.

Adaptive Security’s AI representatives evaluate e-mail intent, context, and habits to reveal phishing, organization e-mail compromise, and billing scams.

See what’s making it through with a 14-day read-only scan of Microsoft 365 or Google Workspace, without any MX modifications.

Start your totally free e-mail security scan.


Discover more from PMN S.P.O.R.T.S - A PRIME MEDIA NETWORK BRAND

Subscribe to get the latest posts sent to your email.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Captcha verification failed!
CAPTCHA user score failed. Please contact us!

spot_imgspot_imgspot_imgspot_img