r/github • u/Disturbed_1202 • Jul 17 '26
Question Has anyone successfully recovered a GitHub account after it was compromised?
Hi everyone,
I'm honestly at my breaking point and I don't know what else to do.
About two weeks ago, my GitHub account was compromised. The attacker changed my password, changed the primary email address, and enabled 2FA, so I'm completely locked out. I reported it and got the automated acknowledgment email, but since then... nothing. No updates. No questions. No indication that anyone has even looked at my case.
I have replied again and again to the same ticket with additional information, but still nothing. No reply, nothing till now.
Anyways, I am not here to bash Github Support team I want a genuine advice:
- Has anyone here actually recovered an account after it was compromised?
- How long did GitHub Support take to respond?
- Did you eventually get a real person, or did you just have to keep waiting?
- Is there anything else I can do that I haven't already tried?
4
u/wwwm22 Jul 17 '26
If you’ve opened a support ticket which is still open, please be patient. Someone will eventually get back to you.
And no, there’s nothing else you can do.
2
u/JadedFlamingo7746 Jul 17 '26
I’m still pretty new to GitHub, so I’m genuinely curious how something like this happens. Right now I don’t really have a reason to publish any of my code since some of my projects deal with API keys, access tokens, and business systems, so I’ve been keeping everything private. Was his account compromised because he accidentally hard coded credentials into his code and pushed them to a public repo, or is it more of a stolen personal access token, weak account security, or even a compromised device? I know private repos aren’t a substitute for proper secret management, so I’ve always kept my credentials in a secrets manager and kept out of Git. I basically have everything in my .gitignore. Sorry to Bom-bard this thread but I’m pretty new to all this and just trying to make sure I’m doing things the right way.
2
u/az987654 Jul 17 '26
Why doesn't anyone have copies of their own repos? I don't get it...are you all just coding directly in to Github.com's web UI?
2
u/RepublicSwimming1982 Aug 18 '26
https://github.com/ropydev/Github-Profile-Cloner
Try this tool, download it and follow the instructions in the readme. This tool will clone the entire profile (except private repos) to a new account. It’s mine—if it works for you, please give it a star 🙂
1
u/MrRealWhiteWolf Sep 03 '26
Hey u/Disturbed_1202 did you manage to get it back at the end ? am wondering because I had the same experience this morning and I contacted the support waiting for updates
0
u/r0bbyr0b2 Jul 17 '26
It’s extremely difficult - which is why you need to backup your GitHub repositories.
-1
u/Extension_Two_2211 Jul 18 '26
No and trying to get a hold of customer service is next to impossible due to the fact that they have a gatekeeper protocol. From what I've witnessed and from my personal experience of trying to get a hold of GitHub, co-pilot or even trying to contact Microsoft is next to impossible. Due to this functionality that day I've come up with the best way to do it is to use an AI to come up with protocols to bypass their protocols and even then it's next to impossible. The best way to do it is do be a business user and then eventually get past their things. I don't know if this is helpful or if this is even on topic, but from my experience with my GitHub account once compromised, I have unfortunately not been able to recover it and GitHub has even took another $23 from my account and they have been trying to charge me $39 every 3 days on my cash app which they explicitly said that they'd no longer be using cash app but they still try to take the money which I think is hilarious and with their automated system and their gatekeeper protocols to prevent you from getting customer service. It is slowly to my eyes becoming some kind of pyramid scheme. Although don't get me wrong that their functionality with their coding software is some of the best out there. But like it's just ridiculous. I'm sorry it is just ridiculous these people. I'm sorry I'm just so so sorry