These write-ups are not threat intelligence and are not kept up to date as an incident develops. They are here to show how each attack worked, so you can find and fix the same techniques in your own setup. For the latest on an incident, read its sources.
OAuth consent phishing at scale
2025–2026 · Ongoing
Fake "Security Alert" issues on nearly 12,000 repositories sent developers to GitHub's real authorization page for a malicious OAuth app, and one click gave the attacker a token with full access to their account and code; device code phishing gets the same kind of token without an app.
- Went after
- Read or expose private code
- Access held
Full summary
On 16 March 2025 nearly 12,000 GitHub repositories received the same issue: a "Security Alert" about an unusual login from Reykjavik, with links to secure the account. Every link went to GitHub's own authorization page for an OAuth app called gitsecurityapp, which asked for broad scopes that BleepingComputer described as full access to the account and its repositories. A developer who approved it sent a token to the attacker's callback on onrender.com. Nothing about the page was fake, so password managers, 2FA and URL checks did not help, and the token keeps working until it is revoked. Device code phishing reaches the same result without an app of the attacker's own: the victim is talked into entering a code on GitHub's device verification page, which hands the attacker a token for whatever the requesting app may do. AppOmni reports that public research put the success rate of device code phishing against GitHub above 90% in authorized tests, and that attribution of real campaigns against GitHub is thinner than for Microsoft 365 or Salesforce.
How it unfolded
Pick a step to zoom into it. A dashed line is a step the sources do not state. Blue dots are the checklist items that break the step.
Whole path
The whole attack, one row per step. Pick a step on the left, or click a box in its row.
From 06:52 ET on 16 March 2025 the same issue appeared on nearly 12,000 repositories, warning of a login from Reykjavik, Iceland, and offering links to update the password, review sessions and turn on 2FA. Issue notifications reach the repository's maintainers by email.
Every link went to GitHub's real OAuth authorization page for an app named gitsecurityapp, so the address, the certificate and the login were all GitHub's own.
Approving the app sent an access token to its callback, hosted on onrender.com. The app asked for scopes BleepingComputer describes as full access to the account and repositories. The token needs no password and no 2FA, and works until the user revokes the app.
What breaks this step
- Keep OAuth app access restrictions on and require security/IT approval for new apps
- Review every currently installed GitHub App / OAuth App and its granted scope
- Enable audit logging and export it to a SIEM for retention and detection
- Enforce MFA for every member (prefer hardware/FIDO2 keys over SMS or app codes)
- Migrate to SAML SSO / Enterprise Managed Users for centralized identity control
- Enforce an IP allow list for Git and web UI access from trusted ranges
- Treat an "authorize this app" prompt reached from an issue, email or chat link as suspicious, even on a real GitHub page.
With the OAuth device flow the attacker starts a login for an existing app and gets the victim to enter the code on GitHub's device verification page, often by voice or chat. AppOmni describes the same playbook used against Microsoft 365 and Salesforce, and reports that public research saw success rates above 90% against GitHub in authorized tests.
A phished token with broad scope reaches the victim's private repositories and, through them, Actions secrets and the ability to change workflows. BleepingComputer advised affected users to revoke the app and check for new workflows and private gists.
What breaks this step
- Set an organization-wide maximum PAT lifetime (90 days is a reasonable default)
- Disable classic PATs organization-wide, forcing migration to fine-grained PATs
- Audit and revoke stale PATs, unused SSH keys, and inactive accounts
- Enforce an IP allow list for Git and web UI access from trusted ranges
- Service-account automation migrated from PATs to GitHub Apps
Frameworks
Ongoing. First seen January 2025. Mapping by ghtier, not yet reviewed. Threat landscape