So if you installed the Defang GitHub App, the attacker can:
- push commits and branches
- change repo settings
- deploy and activate trusted workflows which can access any of the cloud credentials you have
- even more (secret overwrite, protection rules)
This seems like it could have a very large blast radius
It's worth mentioning that this isn't some brief window of vulnerability.
The attacker earned that opportunity on November 12 and it was only finally recognized and mitigated on the November 23rd.
Cannot imagine why anyone would install such a thing and grant a third party this level of permission. Seems like gross negligence even in the absence of the inevitable compromise.
The good news is that probably no one has installed this app. Never heard of it, no idea what the actually do, and their homepage reads like Claude slop.
Unfortunately, it's not like you can refuse to grant certain permissions to GitHub apps. For example, I only use the GitHub Slack integration to get a fire-hose; but that also means granting it issue write permissions I never want to use.