// threat intel

GitHub CI Secret Stealer Attack: 4,837 Hijacked Accounts, 1,806+ Repos Hit

GitHub CI secret stealer attack diagram: stolen accounts, wfx-docs pull requests, OIDC pivot to AWS, Azure and GCP

Attackers armed with stolen credentials for 4,837 GitHub accounts planted a secret-stealing workflow in at least 1,806 repositories in a GitHub CI secret stealer attack, harvesting CI secrets, cloud and OIDC tokens and AI keys before deleting the evidence. If your team builds on GitHub Actions, this is a cloud identity incident, not just a repo cleanup.

Key takeaways

  • Attackers used stolen credentials for 4,837 GitHub accounts and opened 61,764 test PRs titled "docs: dependency audit notes" from wfx-docs branches across public repositories.
  • The stealer executed in at least 1,806 repositories, harvesting Actions secrets, OIDC and runtime tokens, AI keys, process memory and cloud credential files.
  • The attacker reverted commits quickly, often within minutes, and deleted logs and workflow runs, so absence of artifacts in a repository proves nothing.
  • Persistence survives secret rotation: rewritten AWS role trust policies and "wfx-ci-" federated credentials planted in Entra ID applications. Any account that opened a test PR is compromised even if the stealer never ran.

What happened: 4,837 accounts, 61,764 test pull requests, one stealer

Aikido Security reported that an attacker holding stolen credentials for 4,837 GitHub accounts spent the Tuesday the campaign began (reported as November 10, 2026) probing which repositories those accounts could write to, then planted a CI-focused secret stealer wherever the probes succeeded. Reconnaissance came first: a pull request titled “docs: dependency audit notes” opened from a branch named wfx-docs. If the PR could be created, the account had write access, and in some repositories the stealer followed.

Aikido counted 61,764 of those test pull requests across public repositories. SafeDep independently found 8,093 repositories that received malicious commits between 12:46 UTC on Tuesday and 04:36 UTC on November 12, searching only default branches of public repositories, so the real total, including private repos and non-default branches, is higher. Aikido’s stealer count stands at 1,806 repositories where the payload actually executed.

  • 4,837 GitHub accounts used by the attacker; Aikido does not explain how the credentials were obtained.
  • 61,764 test pull requests, all titled “docs: dependency audit notes” from wfx-docs branches.
  • 8,093 repositories received malicious commits (SafeDep count, public default branches only).
  • 1,806+ repositories where the stealer ran; every secret those workflows could reach should be treated as stolen.
  • 10,431 test PRs hit repositories the compromised accounts did not own, via collaborator or organization access; 92% were still open when Aikido checked.

Two delivery paths dominated. In 7,309 repositories the attacker appended the stealer to an existing GitHub Actions workflow, so it inherited the trigger conditions and permissions of legitimate CI. In 771 repositories the payload arrived as an npm postinstall hook, which also runs on a developer’s laptop the moment they run npm install on a cloned project.

Three test pull requests checked by The Hacker News were still being opened between 05:04 and 05:38 UTC on November 12, after Aikido’s own GitHub search had concluded. That is a sign the campaign was still live when the reports were published. Whether the stealer followed in those repositories is unknown.

How does the GitHub CI secret stealer attack become a cloud breach?

Aikido’s analysis shows the payload harvests GitHub Actions secrets and variables, the workflow’s GITHUB_TOKEN, OIDC and Actions runtime tokens, AI service API keys, and secrets scraped from runner process memory. It also walks credential file paths a developer or CI image tends to accumulate: AWS, Azure, GCP, Kubernetes, npm, PyPI and SSH configurations.

GitHub’s default GITHUB_TOKEN is short-lived and scoped to the repository, but any workflow that requests id-token: write permission can mint an OIDC token that AWS, GCP and Azure trust. The attacker’s tooling exchanges those tokens for live cloud sessions directly, no stored secret required. On AWS it creates long-lived access keys for IAM users. On self-hosted runners the stealer also pulls cloud credentials from instance metadata, Docker container state and systemd units.

The stealer copies the repository content, the last 100 commits and recent workflow artifacts, so source code, internal commit history and build outputs leave with the keys. Exfiltration runs over HTTP POST to attacker-controlled servers or to a Telegram chat. Commits were reverted quickly, often within minutes, and the stealer’s logs and frequently the entire workflow run were deleted. The addresses and hashes are in the SafeDep and Aikido advisories and we deliberately do not reproduce them here.

Because the runner could mint an OIDC token trusted by your cloud provider, a workflow with id-token: write is a federation endpoint for your AWS, GCP and Azure estates. Inventory those workflows before an attacker does.

Why deleted logs prove nothing: persistence that survives rotation

Aikido is explicit that a repository can show no wfx-loot artifacts, no wfx-cache entries and no WFX-BEGIN step summaries and still have lost data. A commit whose workflow run number is missing is a stronger signal that the stealer executed than the absence of log files the attacker deleted.

Some stealer steps were designed to outlive your response. On AWS it can rewrite a role’s trust policy to open the role to any AWS account, a “*” principal, or a foreign account, so the attacker keeps a path in even after you rotate every secret the workflow could read. On Azure it can add federated identity credentials prefixed “wfx-ci-” to Entra ID applications, so a future GitHub Actions run can sign in to Azure without a stored secret. A routine Entra ID security assessment is designed to surface these federated credential entries in app registrations that most teams never re-review after initial setup.

Forensic reconstruction starts in GitHub’s organization audit log. It records workflow runs, token grants and OAuth app authorizations, and in-repo evidence was systematically deleted.

How do I check if my repository was affected by the wfx-docs pull requests?

Search repositories and organizations for the branch and commit patterns Aikido and SafeDep published:

  • Branches named wfx-docs, short-lived chore/[a-z0-9]{8}, and ci-check-[0-9]{4}.
  • Commit message “ci: refresh build cache”, typically adding about 1,500 lines to an existing workflow.
  • Commit message “chore: add ci helper”, adding a .ci-xxxxxx.sh script plus a postinstall hook.
  • Commit message “chore: add dependency audit workflow”, adding .github/workflows/build-audit-xxxxxx.yml.
  • Cleanup commits: “chore: initial commit”, “ci: restore”, “ci: cleanup”.

If any test PR from a wfx-docs branch was opened against your repository, the account that opened it is compromised regardless of whether a merge or stealer run followed. The stealer also has configuration options for private repositories, so include them in the sweep. Check your organization’s audit log for workflow runs triggered by commits that no longer show an associated run number.

Is this the GhostAction actor again?

Aikido explicitly declined to attribute the November campaign to the same actor behind October’s GhostAction wave, despite a heavy overlap in compromised accounts. Accounts hit in October were roughly 1,000 times more likely than other active accounts to be abused this week, and in more than 100 repositories the new stealer was added to October’s workflow files with the older exfiltration step left in place. Aikido points to different infrastructure, tools and methods, and to stolen credential sets circulating among multiple buyers. For defenders, October’s victim list was re-victimized in November, so treat any account compromised once as permanently hot. We covered the earlier wave in our piece on Black October: AI developer platform breaches and stolen keys.

Collateral damage in package ecosystems

The campaign splashed into package ecosystems through automated publishing triggers. At least 50 of the compromised users publish packages on npm, Go, Packagist, PyPI or crates, and Aikido assesses the attacker wanted CI secrets rather than package-borne propagation. The collateral damage was real:

  • Version 3.14.3 of the Packagist package digitalelvis/neuronai-studio is malicious; a normal composer install does not run the stealer, but running npm install inside the package’s vendor directory does.
  • Go module github.com/onuragtas/docker-env versions v1.0.278 and v1.0.280 carry the stealer only in a workflow file, so Go builds never execute it, but removal is still recommended.
  • github.com/vkuznet/gocurl pseudo-version v0.0.0-20261111095532-8d5aad0cb0da contains the stealer in a workflow that never ran; block that pseudo-version.
  • 28 WebdriverIO repositories received commits authored as the bot account wdio-bot; no package release was affected, but the bot’s token should be treated as stolen.

This is the same exposure class as the tj-actions/changed-files compromise (CVE-2025-30066), where a stolen token pushed malicious code into CI used by thousands of downstream repositories. Whatever a workflow can read, the attacker who controls the workflow owns.

What should Cyprus engineering teams do this week?

Start with revocation, then rotate in dependency order, then sweep for persistence. Both vendors converge on the same core guidance: revoke the commit author’s tokens, OAuth app grants, SSH keys and sessions, enable 2FA, and rotate every secret and variable the repository can read.

  • Revoke and rotate every secret, variable and token reachable by affected workflows: Actions secrets, GITHUB_TOKEN scopes, OIDC trust, AI service keys, and credential files that may have sat on self-hosted runners.
  • Audit cloud persistence: AWS IAM role trust policies widened to foreign principals, long-lived IAM access keys you did not create, and Entra ID federated identity credentials prefixed “wfx-ci-“. An AWS penetration testing in Cyprus engagement centered on IAM trust paths is the fastest way to confirm whether an OIDC pivot left anything behind.
  • Restrict OIDC trust so cloud roles accept tokens only from specific repositories and branches, never from any workflow in the org.
  • Harden Actions defaults: least-privilege GITHUB_TOKEN permissions set at organization level, and third-party actions pinned to full commit SHAs rather than tags.
  • Check developer laptops if any affected repo used the npm postinstall path, since the hook executes locally on npm install.

Malicious workflow modifications survive when nobody reviews what a 1,500-line “cache refresh” actually does; secure code review for Cyprus development teams that includes CI workflow and dependency files closes that gap. For regulated entities, treat GitHub as an ICT third-party dependency: NIS2 essential and important entities face an early warning within 24 hours and incident notification within 72 hours of detecting a significant incident, and DORA-covered financial entities must manage CI/CD vendors in their third-party register. A CI compromise that exposes cloud credentials is likely significant for both regimes, and the clock starts at detection.

What remains unknown: how the attacker obtained 4,837 credentials, whether the campaign extended meaningfully into private repositories, and whether the test PRs observed on November 12 were followed by further stealer runs. Aikido’s non-attribution also leaves open whether the October credential stash has been resold to additional actors. Treat every previously compromised account as burned and rebuild its access from scratch.

FAQ

How do I know if my repository received one of the malicious pull requests?

Search closed PRs and the organization audit log for branches named wfx-docs, chore/[a-z0-9]{8} or ci-check-[0-9]{4}, and for PRs titled "docs: dependency audit notes". If one was opened against your repo, the account that opened it is compromised even if nothing was merged.

Do I need to rotate secrets if the stealer's logs were deleted?

Yes. The attacker deleted logs and workflow runs to defeat triage, and a missing run number on the attacker's commit indicates the stealer likely executed. Treat every secret and cloud role the workflow could reach as compromised.

Can the attacker keep access after I rotate all my GitHub secrets?

Yes, if you only rotate secrets. The stealer could create long-lived AWS IAM access keys, rewrite role trust policies to accept any AWS account, and add "wfx-ci-" federated credentials to Entra ID apps that let future workflows sign in without a stored secret.

Is a compromised CI pipeline a NIS2 or DORA incident in Cyprus?

A CI compromise exposing cloud credentials is likely a significant incident for NIS2 in-scope entities, triggering an early warning within 24 hours and notification within 72 hours of detection. DORA financial entities must also manage GitHub as an ICT third-party dependency.

If your team builds on GitHub Actions and you are unsure which workflows hold id-token: write or how far an OIDC pivot could reach, our cloud and container security testing can map the paths before an attacker does.


// get started

Work with CyprusPentest

Tell us about your target and goals. We’ll reply with scope and a fixed-price quote — usually within one business day.

./request_engagement