r/github • • Aug 30 '24 • Helpful 1

I used a GitHub feature. Now I'm shadow-banned.

Working on a project, I found myself needing to commit to a sibling project, as there was some data that needed correcting. Fine, I thought - I'll go ahead and clone that sister repo. Three clicks. One to get to the repo, one to click Fork, and then a confirmatory click.

Within 21 seconds, my account had been shadow-banned from GitHub, and my PRO via Education was revoked (which is the only reason I was even able to find an audit log of why or when it happened):

The original repository has 268 stars, 108 forks, and would widely be considered to be a known repository within the surrounding developer community. There is not anything malicious in the repository. The repository contains 6,878 Files, important to the purpose that the repo is serving. The best guess, of myself and others, at this point, is that by forking this repository - you trigger an anti-spam mechanism, and are instantly flagged as being a malicious account. Instantly. Without warning. There were no integrations in my account, no workflows that ran. A clone, and a ban.

My account has been established since 2018. 6 years. In that time, I've made thousands of commits, have authored 48 repos, and have never once had an infraction on my account, or in any way caused any problems. And yet; in a matter of 3 clicks, GitHub has decided that I am a spam account, and that no longer should my account be accessible to anyone, nor should any of my repos (tons of which are now throwing 404s for github.io links)! The more prudent fact is that this GitHub account is one I use for both personal projects, as well as work obligations, since my employer does not provide an enterprise licensing for GitHub. As of yesterday at 6 PM, I can no longer do either.

This morning I had to send an apologetic email to both my team, and my professor for classes I am taking, explaining that "due to unexpected circumstances caused by contributing to an open-source project, I would be unable to meet deadlines on time." To their credit, they were understanding, but they shouldn't have needed to be.

"Your account has been flagged - put in a request for support". Sure, will do. In the meantime, how should I commit my work to our DEV servers? How should I access the code-spaces my team uses to perform reviews, when you've blocked my ability to contribute entirely. And most importantly, how long do you expect me to wait for you to fix your fuck up, GitHub?

24 hours? Maybe 6 years ago.
How about three weeks? Not yet.
Maybe 1.5 months? Oh. Still no...

One and a half months. 45 DAYS. Because of a shittily designed automated system, which over-penalizes - that is then relying on an overworked team of humans to intervene, and resolve false flags. This definitely feels like the kind of software and support we should be expecting from a company that's making $1 Billion in annual revenue, and has 90 Million active users, right?

As an aside - I'd like to make it clear that I'm not harping on GitHub support for this. I realize this is no fault of the support team that has to man the likely hundreds of thousands of these requests per year (my ticket number is #2,975,026).

"You sound pissed" - Damn right I'm pissed. How did this happen? How could you possibly design a system that has this massive of a hole in it, and then ship it to production anyways? It's disgraceful, and it's humiliating. Do better.

228 Upvotes

99 comments sorted by

58

u/[deleted] Aug 30 '24

this GitHub account is one I use for both personal projects, as well as work obligations, ...

Cool, cool. Never doing this. Never would, but definitely not now.

9

u/WreckerOfAll Aug 31 '24

Yeah. This is a lesson I’m learning only once…

6

u/[deleted] Aug 31 '24

Does your employer not provide a work email address for GitHub registration? Just curious.

13

u/WreckerOfAll Aug 31 '24

We have `.edu` accounts assigned to us - which is nice, cause that does get us PRO with Education for free, but the general process is to just register that to your existing GitHub account, instead of creating a separate account.

The more I write a lot of this out, the worse our practices sound, honestly.

6

u/thaeli Aug 31 '24

No, this seems to be exactly how GitHub wants it done. 

I'm actually going to check with my rep next week (as a paying GitHub Enterprise Cloud customer, who is not able to use Enterprise Managed Users because our SSO provider isn't supported) if we are even allowed to create a second account for our users or if we are required to link only to their existing account.

1

u/[deleted] Aug 31 '24

RemindMe! 4 weeks

Looking forward to hearing an update on this.

1

u/RemindMeBot Aug 31 '24 edited Aug 31 '24

I will be messaging you in 28 days on 2024-09-28 13:33:35 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

1

u/zippyzebu9 Sep 02 '24

Free ? I also have edu email. Is it same as GitHub for education ? What happens if I add my edu email as primary in my personal account ? Or this is for new users only ?

0

u/Leguan15 Sep 03 '24

Well maybe that’s the issue. You use an Education account for Work. The education account is only intended to be used for education and not anything else.

16

u/Fearless_Macaroon_12 Aug 31 '24

True, but the thing is that GitHub only allows for one account

-3

u/[deleted] Aug 31 '24

Per email address ;)

28

u/Empyrealist Aug 31 '24

That's an attitude that leads to getting banned

13

u/Fearless_Macaroon_12 Aug 31 '24

Yup, many people I know have gotten banned and all repositories removed for that exact same reason. You learn from such situations.

6

u/liminite Aug 31 '24

The Github app literally supports multiple accounts.

3

u/Fearless_Macaroon_12 Aug 31 '24

7

u/D0nt3v3nA5k Aug 31 '24

you can have more than one account as long as only one of them are free and the rest are paid, it is stated in their TOS

https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#b-account-terms

1

u/Fearless_Macaroon_12 Sep 01 '24

Thats correct and what I was trying to tell everyone else but they wouldn't listen, lol 😭

5

u/tedivm Aug 31 '24

This isn't true at all- Github even added an account switcher in one of their most recent updates, so you can stay logged in to multiple accounts. They absolutely support people using a different account for their jobs than their personal projects.

3

u/obp5599 Aug 31 '24

Thats cool, well anyway Im definitely making a work and a personal one. Id LOVE to see github start banning for that. Thatd go great for their customer base who 90% do that

9

u/serverhorror Aug 31 '24

No, one free account per individual.

13

u/JackDeaniels Aug 31 '24

Per human user, so said the EULA, you may fly under their radar as long as you like but if they find out and ban you, well you have been warned

5

u/D0nt3v3nA5k Aug 31 '24

one FREE account per human user, you can have multiple accounts as long as only one of them are free as stated under the account terms under their TOS

1

u/JackDeaniels Aug 31 '24

Yes, I mentioned that in a (now deleted?) comment below, one free account per user

-2

u/Fearless_Macaroon_12 Aug 31 '24 edited Aug 31 '24

https://stackoverflow.com/a/59284569/10976415

Please look at the above Stack Overflow with EULA linked for guidance.

Because think of it this way: Are you born more than once in this life? You're not-so you have one identity.

On GitHub, this works the same way. Which means each subsequent account you make is a sockpuppet--which is not allowed. And so after you do that you'll always have to keep an eye on your back.

It's best to just do things the right way and keep your account secure and make an organization account instead.

8

u/reiner74 Aug 31 '24

That's ridiculous! My company made me make a new account with the work email they gave me, now you're saying my personal account is in danger?

3

u/tedivm Aug 31 '24

These people are making shit up, just ignore them. Github even added account switching to the website recently. As long as you're not purposefully evading bans you're fine.

2

u/Fearless_Macaroon_12 Aug 31 '24 edited Aug 31 '24

Reference to what I'm talking about using text in the link you provided: "You can use the account switcher if you have a personal account and service accounts (sometimes called machine users)"

That's if more than one person uses the same computer or if you own a machine account (see the link I posted). Or else why do you think it's limited to only two accounts? If we went off of what you thought, then it would support more than two.

PS - Please at least look at the links you post first to see if it supports your argument

3

u/tedivm Aug 31 '24

They literally say you can use this to switch between work and personal accounts on the link I gave.

This has nothing to do with multiple people sharing the same computer- that would be really ridiculous. People on the same computer should be using different computer accounts and not sharing a browser, so this would never apply then.

3

u/chuckj60 Aug 31 '24

"The large print giveth and the small print taketh away"

0

u/Fearless_Macaroon_12 Aug 31 '24

Hey, that's a lie. I'm not sure who's up voting your post but if you were to watch the post you did you can clearly see it says: Learn how to switch between multiple GitHub.com accounts and managed user accounts. and in the screenshot you can clearly see that the second account is a bot account.

"You can use the account switcher if you have a personal account and service accounts (sometimes called machine users)"

0

u/tedivm Aug 31 '24

Another link, where they say they recommend using one account but they never say they require it.

Another link, where they show you how to merge multiple accounts if you want to consolidate. You can't have multiple accounts if you can't have multiple accounts.

Here's a community discussion where a staff member says they specifically designed the account switcher for this use case.

→ More replies (0)

1

u/zacker150 Sep 01 '24

As long as you're not purposefully evading bans paying for the second account you're fine.

Github allows you to have one free account and an unlimited number of paid accounts.

1

u/Fearless_Macaroon_12 Aug 31 '24

No, because it's not owned by you. It's owned by them. Also if it's enterprise, then still no.

1

u/obp5599 Aug 31 '24

No this guy linked a EULA, who do you know that reads those? You can safely ignore them

-1

u/Fearless_Macaroon_12 Aug 31 '24

Ignorance to the law is no excuse.

2

u/obp5599 Aug 31 '24

“Law” you guys are taking github WAY too seriously. Youd think a group of programmers would be less cagey about a stupid detail in a eula that no one reads

1

u/Fearless_Macaroon_12 Aug 31 '24

It's called a EULA for a reason, and is created by lawyers for a reason.

It's an agreement you signed and agreed to when you signed up.

So you're only damning yourself by calling something you agreed to "stupid"

1

u/obp5599 Aug 31 '24

Thats cool, anyway, ill continue doing what I do worry free and consequence free

→ More replies (0)

3

u/ne0rmatrix Aug 31 '24

Can u have an enterprise account and a personal one? How would u have one account for personal and work? If u have a work account does that mean you can't have a personal account?

1

u/Fearless_Macaroon_12 Aug 31 '24

It says one "free" GitHub account--which just means one GitHub Dotcom account.

0

u/Fit-Apartment-1612 Sep 03 '24

If it gets to a human reviewer, generally a free personal account and a free work account will be permitted. If you want to avoid counting on getting a human reviewer or needing a review, get a paid account for one of those. Keeping accounts separate is a great idea, keeping within the letter of the law as automated systems will see it is a great idea, having an employer meet their obligations about keeping you on the right side of the automated systems and getting you better support us a great idea.

1

u/Fearless_Macaroon_12 Sep 04 '24

That's the purpose of organizations and lists. Also what makes you think GitHub Staff would bend their own terms for any random person?

0

u/ranisalt Sep 04 '24

Why? Never had issues with this for 7+ years

17

u/[deleted] Aug 30 '24

I'm sorry this happened to you. Just a question: do you have a local copy of your repos? At least the most important ones? I make local backups of all my repos regularly just in case. Don't want to rely on a third party web site for all my projects.

7

u/WreckerOfAll Aug 30 '24

I do keep local copies, so the data is safe - but contribution right now involves zipping and emailing to a coworker. So, not at bad as it could be, but..

3

u/betelgozer Aug 31 '24

Use git's built-in support for patch files if you can, instead of zipping everything you modified.

2

u/[deleted] Aug 30 '24

Oh, that's a relief. I hope the issue is resolved faster than expected

0

u/[deleted] Aug 30 '24

[deleted]

2

u/[deleted] Aug 31 '24 edited Sep 01 '24

last month I lost my github acccount, then i realized to do same thing you do but with Git-Duo

2

u/ceinewydd Aug 31 '24

Are you either located in or using a VPN which goes through an area of the world subject to U.S. sanctions?

Has Support got to you yet or are you just citing other examples of how long it takes from Discussions?

3

u/WreckerOfAll Aug 31 '24

Neither. In the continental US, and on a static IP from my provider which has stayed constant for years.

Support has not gotten to me, nor will they soon - I am not the first person to have this problem with this exact repository. Another user was banned ~2 weeks ago and is still banned.

135

u/mkosmo Aug 30 '24

since my employer does not provide an enterprise licensing for GitHub.

Well, that's the problem. Them relying on free github accounts without paying for support results in this.

In the meantime, how should I commit my work to our DEV servers?

Tell your employer to pay for tools support if it's revenue critical. If it's not, you're stuck waiting.

29

u/TrulyChxse Aug 31 '24

I think that is definitely the most logical answer here. Another example of greedy corporations not paying their share and forcing more monetary dues upon us.

6

u/thaeli Aug 31 '24

Even if your employer pays for Enterprise, unless they also use EMU (and that's only even available for a few specific SSO providers) they're still linked to a personal account.

The interaction of multiple terms of service here is complex and confusing. I'm actually going to ask my rep about this next week..

7

u/mkosmo Aug 31 '24

The advantage to enterprise is the support access, though. If I go to our account team and say, "hey, user abc has this problem" I know it'll get attention and probable resolution.

2

u/Estrava Sep 02 '24

Anecdotal but GitHub enterprise support is absolutely useless.

1

u/mkosmo Sep 02 '24

Maybe it depends on the size of the account, but I’ve had experiences that left me satisfied.

1

u/Estrava Sep 02 '24

3000+ users. On the technical side of things at least not like account management issues.

1

u/thaeli Aug 31 '24

That's fair. Haven't actually needed to engage them much so I don't have a good feel for their responsiveness.

1

u/NotAMusicLawyer Aug 31 '24

That feels like a massive security risk to me.

It only takes one misclick or overworked employee not paying attention to serious compromise sensitive information or code.

1

u/thaeli Sep 01 '24

SSO is still enforced for actually accessing the enterprise repositories. The user logs in to their personal account, then when they access any private enterprise repo, they have to do enterprise SSO.

1

u/NotAMusicLawyer Sep 02 '24

I was more thinking about a situation in which a user thinks they are uploading or creating a SSO-protected enterprise repo but is actually uploading/creating a personal repo, either public or private.

How do they protect against that?

0

u/[deleted] Sep 01 '24

[deleted]

1

u/RoboticOverlord Sep 04 '24

Which if I remember correctly is against the GitHub TOS, you're only allowed one account

2

u/Whole-Self5595 Sep 01 '24

That's also why at work we have to use a separate GitHub account for work

1

u/potato_green Sep 02 '24

I cannot stress t his enough to keep business and private separate. Especially since many of you haul from the USA where the lines blur a lot and corporate CAN claim your private stuff.

Not only does it draw a line in the sand and it makes it better for security purposes. Pus you can have multiple keys and multiple identities that automatically switch between the repo you're using. I think it's even smart enough to know that if key A only has access to Repo A it'll use the identity configured with it as well so you don't even need to fiddle with repo's themselves.

1

u/[deleted] Sep 13 '24

RemindMe! to check in with OP in 32 days.

2

u/WreckerOfAll Sep 13 '24

Hi! Can get back to you now. Very graciously, as “not suggested” in the mod thread that was started around a month ago, “posting to the reddit” is a “bad idea” cause no github employees stalk it and escalate issues 👀

Suffice to say I was reinstated within 3 days of this post, through an alternate route other than my support ticket.

1

u/[deleted] Sep 13 '24

Awesome sauce! Congratulations 🎉

1

u/Verix- Mar 27 '26

So u got ur account back because of this post? I am facing a similar issue and I am happy about any help

8

u/dim13 Aug 30 '24 edited Aug 30 '24

overworked team of humans to intervene [..] from a company that's making $1 Billion in annual revenue

Don't get me wrong. I totally feel with you. But that's exactly what you would expect from a company making 1B revenue. 1B does not come from hiring more staff, if you can overload (and maybe reduce) existing.

PS: Also 1 user of 90M - not a big deal.

Edit: typos

2

u/[deleted] Sep 01 '24

It’s just crazy to me that if you and 4 other team mates are maintaining and developing a massive tool used by so many people and your employer cant shell out the money to pay for enterprise account or even a team account which is literally 4$/per person per month which brings the GRAND TOTAL to 16$/month. Your employer is a cheap man. That’s what happened here.

2

u/nea89o Aug 30 '24

That sounds tragic. I hope things like that didn't happen to anyone else in the community / contributing to that same repo. It would be a damn shame for github if there was a pattern behind this rather than an unfortunate accident.

1

u/potato_green Sep 02 '24

Not sure if you found it already but here's some information to appeal the decision and reinstate it:

https://docs.github.com/en/site-policy/github-terms/github-community-guidelines#appeal-and-reinstatement

But I also want to say, come one, give them some benefit of the doubt. we all accept the new ToS without reading right? Who knows what we skipped and we're all developers messing things up so pointing this out could improve things to close it off.

  • A private account contributing to an enterprise project is fine as long as you're not working there and the project itself if OS as well.

But as others noticed there's 2 key things:

  1. You used it for 6 years and might not even have recognized some usages that are possible not not allowed. They allow it for small stuff to not be a super rigid pain in the ass system like a one off commit from private account is fine. But do it constantly it means the enterprise isn't having the right license.

  2. This one is the most critical one, enterprise is supposed to do their due diligence and make sure they follow the law and terms of services. Consumers are ore protected but not if you use consumer stuff on an enterprise environment because that already feels like circumventing paid subscriptions.

Sucks, not sure what's exactly going on but for sure keep private and work separated, your private account COULD contribute to the enterprise project but I bet there's a fair use limit. Especially if the company misses licenses.

(I can be way off the mark, in which case give me a good scolding for not reading it properly) I hope you get it sorted out thought!

1

u/dim13 Sep 02 '24

A private account contributing to an enterprise project

Can you plz elaborate, whete in ToS this is stated? I could not find it.

-3

u/SkyHanni Aug 30 '24

Thoughts and Prayers!

0

u/moosethemucha Sep 01 '24

Is anyone else getting man yells at cloud vibes ?

-2

u/aamfk Aug 31 '24

I've forked hundreds of repos. I don't know what ELSE you're doing wrong. But forking one repo isn't gonna do jack shit.

16

u/[deleted] Aug 30 '24

[removed] — view removed comment

4

u/WreckerOfAll Aug 31 '24

Our source control is setup to pull through different environments, and the only source for promotion is DEV -> TEST -> STAGE -> PROD, starting in the DEV repository, which is cloud hosted, so unfortunately it’s not accessible via direct connection to the server.

It’s a flawed system for sure, which I think this has proven, but we’re a team of 4 supporting a massive tool, so we found something that hit the bare minimum, and had to adopt it to not fall behind.

2

u/_3xc41ibur Aug 31 '24

Hey off-topic question, but looking for outside opinions. How do you handle backporting hotfixes from your staging or production to the rest of your branches? My dev team has been trying to implement this without it getting messy, but out of the five others, I have the most git experience which means every week I'm backporting all these hotfixes and keeping our environments/branches from diverging too far in the pipeline. It hardly stays linear and clean.

2

u/WreckerOfAll Aug 31 '24

We have a hotfix flow that runs DEV -> PROD, instead of running in the opposite direction. It circumvents a lot of the “politics” that wrap up the normal code flow, and it’s only used in emergencies.

So I guess unfortunately I can’t answer your question, as we do hot fixing upwards instead of downwards. Our production database clones over into our surprods every night, for the important data, and we can manually export certain records if needed, if there is a hot fix we have to test in that manner.

2

u/_3xc41ibur Aug 31 '24

Thanks for the input regardless!

0

u/[deleted] Sep 01 '24

[removed] — view removed comment

2

u/KTibow Sep 01 '24

The repo is separate from the mod itself

0

u/tms10000 Sep 01 '24

There may be something missing from OP's story. After all they did not get any confirmation that they got banned because they cloned a repo. They just got banned. It could be for a lot of reasons. It just happen that a clone was the last thing they did before getting banned.

It sounds implausible to be banned for clicking a button that is right the on the UI. It's a public repo. It already has 100+ forks. Plus, banning an account for forking doesn't do anything. Any anonymous user could cone the repo locally and do all sort of shenanigans.

This makes no sense.

1

u/WreckerOfAll Sep 02 '24

21 seconds, and no other history in the audit log of anything else happening in the security log makes it pretty cut and dry that forking that repo is what got me banned.

And yes, I wholeheartedly agree it makes 0 sense - hence why this post exists.

0

u/[deleted] Sep 01 '24

[removed] — view removed comment

1

u/WreckerOfAll Sep 02 '24

I am contributor to SkyHanni. I needed to write a feature using the NEU Repo. I cloned the Repo. I got banned. Feel free to jump into the SkyHanni discord if you'd like to discuss more. But no, I was not "writing malware."

1

u/[deleted] Sep 02 '24

[removed] — view removed comment

1

u/WreckerOfAll Sep 02 '24

See my other comments, and the original post details. 21 seconds after forking this repo, and I'll add some more context that the last note in the audit log pre those two entries was 6 hours previous - it's not a question that's what caused the ban.

I'm not the first person this has happened to. Another one of our (SH) devs cloned the NEU repo and is still banned.

1

u/[deleted] Sep 02 '24

[removed] — view removed comment

1

u/WreckerOfAll Sep 02 '24

I'm not going to sit and have a straw man argument here - if you don't want to believe that GitHub has a flaw in their system, feel free to have that view. I've laid out all the proof, and have historical records to back it - not much more I'm gonna be able to provide that I haven't already.