r/github
•
u/WreckerOfAll
•
Aug 30 '24
•
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.
17
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
0
Aug 30 '24
[deleted]
2
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
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
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
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
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:
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:
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.
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
0
-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
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
0
Sep 01 '24
[removed] — view removed comment
2
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
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
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
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.
58
u/[deleted] Aug 30 '24
Cool, cool. Never doing this. Never would, but definitely not now.