# Megalodon: mass backdooring of CI workflows

incident, `incident:megalodon`. Page: https://ghtier.com/incidents/megalodon

On 18 May 2026, probably with credentials taken from developers' machines by infostealers, someone pushed workflows that steal CI secrets and cloud credentials straight to the default branch of 5,561 repositories in about six hours, and left dormant workflow_dispatch backdoors in a few chosen ones.

**Abused:** [Workflows: Write (repository)](https://ghtier.com/tier/permissions/workflows-write.md) (Tier 1), [OIDC ID token: Write (repository)](https://ghtier.com/tier/permissions/id-token-write.md) (Tier 1)

**Used:** [Push directly, without review](https://ghtier.com/attack-paths/technique-no-review.md) (Tier 2), [Add a workflow that dumps secrets](https://ghtier.com/attack-paths/technique-inject-workflow.md) (Tier 1), [Leave a dormant workflow behind](https://ghtier.com/attack-paths/technique-dormant-workflow.md) (Tier 1), [Change a workflow, get its secrets](https://ghtier.com/attack-paths/escalation-workflow-to-secrets.md) (Tier 1)

**Sources:**
- [Megalodon: mass GitHub repo backdooring via CI workflows](https://safedep.io/megalodon-mass-github-repo-backdooring-ci-workflows/)
- [Megalodon campaign backdoors GitHub repositories via CI workflow compromise (Wiz Cloud Threat Landscape)](https://threats.wiz.io/all-incidents/megalodon-campaign-backdoors-github-repositories-via-ci-workflow-compromise)
- [Megalodon: mass GitHub Actions secret exfiltration across 5,500 public repositories](https://stepsecurity.io/blog/megalodon-mass-github-actions-secret-exfiltration-across-5-500-public-repositories)
- [Megalodon: new CI/CD malware spreads across GitHub](https://www.ox.security/blog/megalodon-cicd-malware-github/)
- [Infostealers just spawned a 5,000+ repo GitHub supply chain attack](https://www.infostealers.com/article/infostealers-just-spawned-a-5000-repo-github-supply-chain-attack/)
- [Megalodon: mass CI/CD pipeline poisoning via GitHub Actions (CSA research note)](https://labs.cloudsecurityalliance.org/research/csa-research-note-megalodon-github-actions-cicd-supply-chain/)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
