Fly.io GitHub tokens were read from apps serving their .git folder: am I affected?
Fly.io said on November 12, 2026 that GitHub access tokens issued to the Fly.io GitHub App were used by an unauthorized party against customer repositories. Deploys from GitHub through the Fly.io dashboard or automatic deploys left a GitHub token in the build directory's .git/config file, and some apps served that directory over HTTP. The tokens were collected that way and used in the wider wfx campaign. Fly.io says its own systems were not breached, that tokens belonging to a small number of Fly.io accounts were used, and that it started revoking every user token issued to the app. On November 13 Fly.io said that revocation stopped partway through, so not every token was revoked.
What was reported
Am I affected: you connected GitHub to Fly.io, or you deployed an app from a GitHub repository through the Fly.io dashboard or automatic deploys. Deploys with flyctl, Fly.io API tokens and running apps were not affected, Fly.io says.
Do now: request https://<your-app>.fly.dev/.git/config. If it returns a git configuration file, add .git to your .dockerignore, redeploy, and rotate any credentials ever committed to that repository. Then sign in to Fly.io with GitHub again to reconnect, and check your repositories for wfx activity since November 10.
What Fly.io says happened
In a security notice posted November 12, 2026, Fly.io says it learned that day that GitHub access tokens issued to the Fly.io GitHub App had been used by an unauthorized party to act on customer repositories.
When an app was deployed from a GitHub repository through the Fly.io dashboard or automatic deploys, the deploy process left a GitHub access token in the .git/config file of the build directory. Some apps include the whole build directory in their image and serve it over HTTP, so the file and the token in it could be fetched from the app's public URL. Fly.io says an unauthorized party collected tokens this way and used them as part of the wider wfx campaign against GitHub repositories.
Fly.io says its own systems were not breached, that tokens belonging to a small number of Fly.io accounts were used, and that it contacted those customers directly. If you did not hear from Fly.io, it says it has no evidence your token was used.
What the tokens could do
These are the tokens GitHub issues to the Fly.io GitHub App when you connect your GitHub account. Fly.io says they grant access to any repository you can access and where the Fly.io GitHub App is installed, and that the app's permissions include write access to repository contents, GitHub Actions and pull requests.
On the affected accounts, Fly.io says the unauthorized party opened more than 250 pull requests titled "docs: dependency audit notes" from a branch named wfx-docs, and created and deleted short-lived branches named chore/ followed by 8 characters. StepSecurity, which spotted the Fly.io GitHub App in the campaign and contacted Fly.io, says GitHub's records show 173 probe pull requests from 19 accounts made through the app. StepSecurity says most of the campaign's activity used other credentials, such as personal access tokens.
What Fly.io changed
- Started revoking every user token issued to the Fly.io GitHub App, for every customer. In an addendum on November 13, 2026, Fly.io said that revocation was started in GitHub's interface and then stopped partway through, so not all of those tokens were revoked. Fly.io says GitHub support acknowledged this and that GitHub "will pick up the revocation process when they figure out what happened on their end."
- Notified the affected customers.
- Changed the deploy process and default ignore rules so the token is no longer written into the build directory and
.gitis not included in images built from GitHub.
What to do
Fly.io's advice if you connected GitHub to Fly.io:
- Sign in to Fly.io with GitHub again to reconnect. Automatic deploys for a repository resume once the person who originally connected it has done this.
- Check the repositories the Fly.io GitHub App can access for activity since November 10 that you did not start: pull requests titled "docs: dependency audit notes" or a file named
docs/wfx-audit.md; branches namedwfx-docs,chore/followed by 8 characters, orci-check-followed by 4 digits; commits with the messages "ci: refresh build cache", "chore: add ci helper", "chore: add dependency audit workflow", "ci: restore" or "ci: cleanup"; and workflow runs you did not start, including deleted runs in your GitHub security log. - If you find any of these, treat the secrets available to GitHub Actions in that repository as stolen and rotate them. If your workflows use OIDC to reach a cloud provider, review that account for new access keys, changed role trust policies and new federated credentials.
Fly.io's advice if you deployed an app from GitHub through the dashboard: request https://<your-app>.fly.dev/.git/config. If it returns a git configuration file, your app is serving its .git directory. Fly.io's notice says the token in it is being revoked. The November 13 addendum says that revocation stopped partway through, and that not all of those tokens were revoked. The directory also holds your repository's source and history. Add .git to your .dockerignore, redeploy, and rotate any credentials that were ever committed to that repository.
Our advice: run the same /.git/config check against every app you deploy, on any host. A served .git folder hands out your source, your history and anything ever committed to it.
How to prevent it
Our advice: never ship your .git folder. Request /.git/config on every app you deploy; if it returns a file, add .git to .dockerignore (or your host's ignore file), redeploy, and rotate any credential that was ever committed to that repo.
Sources
- Fly.io, Security: GitHub tokens exposed by apps deployed from GitHub (Nov 12, 2026)
- StepSecurity, WFX Phantom: The GitHub Actions Secret Stealer That Deletes Its Tracks
Related
Incidents on the same topics
- Apify security incident: am I affected, and what should I change?
- Hijacked GitHub accounts pushed a CI secret stealer into thousands of repos: am I affected?
- Git fixes six flaws, including code execution on recursive clone, and GitLab ships a critical patch
- Grok Build apps were open to anyone with the link: am I affected?
The weekly fix
The weekly fix: 3 real security mistakes in vibe-coded apps and how to fix them, every Tuesday.