r/github • u/tandir_boy • Oct 16 '26
Discussion Account Hacked and 2FA enabled instantly

Last week, I received these three emails at the same time. My password had been reset, and 2FA had been enabled. When I tried to reset my password, I was asked for a 2FA code or recovery codes, which the hackers had generated and I obviously didn't have access to. There were other options to recover my account, such as using an SSH key or a personal access token, but, as you might have guessed, the hackers had also immediately invalidated them.
I'm now trying to get help from GitHub Support, but from what I understand, there's little chance of recovering my account because 2FA is enabled, and they will not do anything about it as a security policy.
Overall, I think GitHub's security design is flawed. If you haven't enabled 2FA and your account gets compromised, there's apparently no way back.
10
u/Rulmeq Oct 16 '26
Really, you think this is a github problem and not a "him skill issue"? They provided you with 2FA, you ignored/rejected it, that's on you.
2
u/Rudy_TheRude Oct 16 '26
Same thing happened to me few months ago. Will advice to raise a ticket as soon as possible
2
u/ToTheBatmobileGuy Oct 16 '26
.................... I mean......... if anyone could contact GitHub support and say "this is me, trust me bro" and instantly get into a 2FA locked account... 2FA wouldn't mean much, would it.
There's a solution: Use 2FA everywhere you can. Always.
10
u/Gurnug Oct 16 '26
That's why they are advising 2FA usage for years now
4
u/Flagvanus_ Oct 16 '26
that's on you
4
u/Lumethys Oct 16 '26
Yeah no shit
1
u/Mindless_Hedgehog181 6d ago
Yo bro, don't lose hope just yet, my account got hit with the exact same shit.
My GitHub account was compromised on July 19, 2026. The hacker changed my password, added their own email, and enabled 2FA, locking me out completely.
I tried the recovery process, but obviously couldn't get past the 2FA because the hacker had control of everything.
I contacted GitHub Support, and guess what? I didn't even receive a proper response until November 25, 2026. That's over four months of waiting, bro 💀
My account hasn't been recovered yet, so I can't promise anything. But at least I finally got a response from an actual support agent. They've suspended my account to prevent further unauthorized access and asked me to secure my original email before proceeding with the investigation.
I've completed that step, and now I'm waiting for their next response.
So yeah, bro, it takes a ridiculously long time, but don't give up on the support ticket. Keep following up, provide every piece of ownership evidence you have, and make sure your original email is secured.
Hopefully, we both get our accounts back. Don't let these clowns win, my guy.
3
u/maikel87 Oct 16 '26
I think your security is flawed. Don't blame them on what you lack to do to secure it.
1
u/nihillistic_raccoon Oct 16 '26
Hey guys, the lock to my home was made of a string and old Cheetos chip. To my surprise, someone managed to break through this defense, installed an actual lock, and now lives in my home. I consider the city to be at fault.
This is how you sound
2
u/Deepta_512 Oct 16 '26
100% on you my guy
1
u/AppropriateYou2834 5d ago
Same thing happen to me i don't know what to do now