News for hackers. Stuff that matters.
Re:Ask HN: My GitHub account got suspended without any notice by minxomat on Tuesday July 14, 2020 @12:35PM (#23834098)
Another vector is takeover requests via their name squatting policy (that's how I got my username). But those requests shouldn't be approved unless the old account really is inactive. Might have been approved by mistake.

Another vector is the as of yet unfixed GitHub "ghost" bug, which I discovered and detailed here: https://github.com/git-rest/spooky

Note how you can read that repo, but the account https://github.com/git-rest doesn't exist.

Re:Ask HN: My GitHub account got suspended without any notice by bibinou on Tuesday July 14, 2020 @12:45PM (#23834297)
OP got his 2-letter handle via a takeover request: https://dev.to/yg/how-i-got-two-letter-username-on-github-i1...

edit: the ghost repo is cool trick. Is there a writeup anywhere?

Re:Ask HN: My GitHub account got suspended without any notice by gus_massa on Tuesday July 14, 2020 @02:07PM (#23835451)
The OP changed his username in github less than a month ago to to the name of an inactive account? Perhaps the previous user is complaining.
Re:Ask HN: My GitHub account got suspended without any notice by aptwebapps on Tuesday July 14, 2020 @03:09PM (#23836317)
Yeah, but it's not like he did something nefarious. He found an account that was inactive and requested it from support and they gave it to him. If the previous user complained, either he would get to keep it or the previous user would get it - it wouldn't be deleted/disabled and they probably would have communicated something.
Re:Ask HN: My GitHub account got suspended without any notice by thephyber on Tuesday July 14, 2020 @04:49PM (#23837645)
The ghost repo trick sounds similar to a subdomain takeover. I can foresee this being a vector for publishing malicious code.
Re:Ask HN: My GitHub account got suspended without any notice by subins2000 on Tuesday July 14, 2020 @05:56PM (#23838482)
does this mean that if I pass away, someone can take over my username and repos under my account ?
Re:Ask HN: My GitHub account got suspended without any notice by minxomat on Tuesday July 14, 2020 @07:42PM (#23839487)
No, from my experience even a single empty repo disqualifies you from takeover. The point is to prevent name squatting, i.e. registering a name and then going nothing with it.