r/github • u/StealManiac • Sep 26 '26
Discussion Account hacked
This is NOT an account suspension post.
First of all, my account has 2FA enabled. But according to the automatic emails, someone somehow bypassed the 2FA and logged in to my account. Then changed every info, including the 2FA app registration.
Update: I checked the security log. There was no login entry of that hacker. So he somehow bypassed login?
Update: the first entry of that hacker is "Country changed from your previous session". But my only github interactions this week were only pushes from VSCode.
0
Upvotes
3
u/extoniks Sep 26 '26
I don't think it's possible unless someone has access to your password and 2FA TOTP.
1
u/forestcall Sep 26 '26
Can you elaborate on how you use GitHub? Mac/PC/Linux? Vscode or terminal or other IDE? Is your env in a gitignore? What DB service or platform?
1
u/cowboyecosse GitHub staff Sep 26 '26
Have you contacted support about this? There’s an option on the can’t sign in form that your account is compromised.
2
u/sandnose Sep 26 '26
The risk of the email(s) being phishing is higher than you being hacked imo
0
u/Dement__ Sep 26 '26 edited Sep 26 '26
If someone is bypassing your 2FA and not showing up on your device history, that is a red flag for token access, they can bypass all that now days. 2FA is not enough anymore, I recently had been hacked and all my accounts were affected for many platforms.
Get Malwarebyte and scan all of your devices immediately, I also strongly recommend changing your bank password, and anything that is connected to your money or funds after the scan.
That is the most important step, changing passwords comes after confirmation your devices don't have anything, chances are you may also have to do wipe and reinstall if you can remove the info stealers/malware.
If it is none of the above, I would be worried about your GitHub files too, look into your activity log for repo updates.
The common culprit these days are gaming mods it seems like, that's what I keep seeing the most on the malware threads .
1
u/Anr7e Sep 26 '26
Maybe obfuscated code being ran on a project when you open the workspace with VS code
1
u/RiderFZ10 Sep 26 '26
I forget the name, but look up github worm. A hack through compromised repo and libraries.
1
u/hediisdaddy Sep 26 '26
You probably the attacker got access through a session stealer
1
u/Sirmagger Sep 26 '26
It's possible, someone might have hijacked your session! Learn more about session hijacking you would see why it's possible
0
u/chidaluma Sep 26 '26
そんなこと本当に可能なのか
0
u/AdQueasy5574 Sep 26 '26
Je sais pas vraiment, peut être une extension VSCode malveillante ?