Settings

Theme

Defang Security Incident

defang.io

76 points by gregsadetsky · 21 comments

Reader

11 threads
lajr

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

  • mook

    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.

  • swatcoder

    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.

  • computerfriend

    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.

  • what

    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.

skinfaxi

>We used a separate GitHub App for local development and testing. It was installed on two of our own repositories and had more permissions than it needed, including permission to change deployment environments. Acting as that app, the attacker pushed a commit to one of those repositories and tagged it as a release. Our production environment trusted release tags, so their code ran in our CI with access to our production credentials, and the attacker copied them.

How did the attacker act as the app? How did the attacker gain access to the app credentials?

I wonder which audits would have uncovered this over-permissioning. Certainly not ISO 27001 or SOC 2 as I've seen them done.

amingilani

It must have been very hard to write this post. I'm sorry folks. #HugOps

neya

Holy crap!

    If you installed the Defang GitHub App: what the attacker could use:

    - push commits and branches
    - change workflow files and start workflow runs
    - overwrite Actions secrets and variables
    - change deployment environments and their protection rules
    - open and merge pull requests
    - change repository settings, including branch protection, deploy keys and collaborators
If you have billing details with us

    - your name and email address
    - your billing address, or the parts of it you gave us, and your tax ID if you entered one
    - the brand, last four digits and expiry date of your card
    - your subscription and invoice history
So, an attacker basically has everything about me - who I am, where I live, what banks I have an account with, my entire source code. Basically, if my attacker wanted, my career could be over. Damn.
  • dmix

    One of the rare times a random security incident post on HN is really bad.

taariqlewis

Thank you for the heads up. As with TODOIst and 1Password, we're noticing the Github access threads. Are LLMs leaking github keys?

floornext

does anyone sign release tags, my ci just fires on any tag push

jasongill

> downloaded a copy of our main database

ah ok, so just about the worst-case scenario for a business.

> These can include database passwords and any environment variable built from a defang config value, such as a database URL that contains a password.

oh, it's even worse than I thought, as now not only their database is pwned - yours is too!

kjuulh

It is a hard time right now for SaaS businesses. This is basically a death sentence, main database + what looks like customer secrets leaked.

I guess it is time to go back to really spending time on defense in depth, removing non critical vendors, etc, and pray that some script kiddy with daddy's credit card doesn't nuke your business.

nusl

Wow this is insane. Pure incompetence that it took 11 days to detect? Nobody checks releases at all? Deployments, anything? For something this sensitive to so many users?

"Installed the security update on November 15."

What security update? If they knew about this before, they left it until Nov 23? Or just a random security update that they happened to install on Nov 15?

""" Become AI-Native. Maintain Engineering Sovereignty. """

Ah right.

rvz

> On November 12, 2026 an attacker copied the credentials we use to run Defang and downloaded a copy of our main database. Here is what happened, what was exposed, what we have done, and what you should do.

No chance. It's over.

tamimio

Wild how a lot of the incidents lately are through github

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection