Hacker Newsnew | past | comments | ask | show | jobs | submit | ygcodes's commentslogin

Yes I have 2FA and MFA enabled!


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.


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?


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.


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.


The ghost repo trick sounds similar to a subdomain takeover. I can foresee this being a vector for publishing malicious code.


does this mean that if I pass away, someone can take over my username and repos under my account ?


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.


Yes I got 3 sponsors!


Yes it's 6 days ago!


For the lazy https://github.com/gatsbyjs/gatsby/commit/c6593b93e8d85a8cd3...

It has five authors (one is a bot). The fourth one is the OP but the picture does not have a link to the profile because it is suspended.


TIL GitHub pulls out Co-authored-by: lines


"Thanks! changed to Ask HN"

I mostly review PRs in Gatsby, I don't remember what is the last commit!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: