Hacker News new | ask | show | jobs
by strus 2 days ago
> If 2FA was required, how did they do it?

They could have gained access to the employee's machine, and at that point it's easy even if you have 2FA required - in most cases it's required for accessing the web client, not server via git command.

Employee could also have gh tool available or access token stored somewhere.

1 comments

You ideas sound very likely. That said, what should GitHub do to strengthen 2FA in these scenarios? Example: Should it be required to 2FA before each push? Or 2FA before creating a PR?