831
submitted 4 days ago by 0x815@feddit.org to c/technology@lemmy.world

GitCode, a git-hosting website operated Chongqing Open-Source Co-Creation Technology Co Ltd and with technical support from CSDN and Huawei Cloud.

It is being reported that many users' repository are being cloned and re-hosted on GitCode without explicit authorization.

There is also a thread on Ycombinator (archived link)

top 50 comments
sorted by: hot top controversial new old
[-] phoenixz@lemmy.ca 18 points 2 days ago

Yeah... The main thing I see here is that China (read; government , not the people, not being racist here) will take this code, they will make improvements on it, they will NOT give back. Basically like Microsoft, but now an entire country.

Chinese government hasn't exact had a good reputation when it comes to taking technology and not giving anything back

[-] Appoxo@lemmy.dbzer0.com 4 points 2 days ago

Not like I'd want contributions from the chinese state programmers.
Feels like an easy entry for state level supply chain attack.

[-] raspberriesareyummy@lemmy.world 81 points 3 days ago

With the obligatory "fuck everyone who disregards open source licenses", I am still slightly amused at this raising eyebrows while nearly no one is complaining about MS using github to train their copilot LLM, which will help circumvent licenses & copyrights by the bazillion.

[-] Kusimulkku@lemm.ee 10 points 2 days ago

nearly no one is complaining about MS using github to train their copilot LLM

What rock have you been living under??

[-] sugar_in_your_tea@sh.itjust.works 17 points 3 days ago

I complain all the time. But that's not the subject of this post...

[-] PlexSheep@infosec.pub 11 points 3 days ago

Yeah exactly, fuck llms that don't honor licenses

[-] JackbyDev@programming.dev 18 points 3 days ago

while nearly no one is complaining about MS using github to train their copilot LLM,

Lots of people complained about that. I've only seen this single thread complaining about this.

load more comments (23 replies)
[-] Melvin_Ferd@lemmy.world 30 points 3 days ago* (last edited 3 days ago)

If we steal IP from China does the American government give us a business loan?

[-] bionicjoey@lemmy.ca 364 points 4 days ago

Solution: create a GitHub repo with Markdown articles outlining human rights abuses by the CCP and have a large number of GitHub users star and fork the repo.

[-] Colonel_Panic_@lemm.ee 165 points 4 days ago

You've heard of CamelCase and lowercase and intVariableName variable naming styles. Get ready for:

for (int Taiwan == 0; Taiwan < HongKong; Taiwan++) { int TianamenSquare == 0; ... }

[-] Tramort@programming.dev 82 points 4 days ago

That's the whole point of this: they will automatically filter that out, and this is an impotent, though well intended, gesture.

[-] Morphit@feddit.uk 73 points 4 days ago

How will they filter it out? If they just don't mirror anything with 'forbidden' terms, we can poison repos to prevent them being mirrored. If they try to tamper with the repo histories then they'll end up breaking a load of stuff that relies on consistent git hashes.

load more comments (1 replies)
load more comments (11 replies)
load more comments (32 replies)
[-] PanArab@lemm.ee 36 points 3 days ago

It is not illegal is it?

If it is legal, then thank you China for the free backup.

[-] kuberoot@discuss.tchncs.de 39 points 3 days ago

I do believe it's illegal if they take a repository with a restrictive license (which includes any repository without a license), and then make it available on their own service. I think China just doesn't care.

[-] the_ocs@lemmy.world 20 points 3 days ago

If it's hosted in a public repo, anyone can clone it, that's very much part of most git flows.

What you can do with the software, how you can use it, that's another matter, based on the licence.

That of course assumes China will respect the copyright..

load more comments (1 replies)
[-] RecluseRamble@lemmy.dbzer0.com 4 points 2 days ago* (last edited 2 days ago)

You can buy pirated software or pre-cracked consoles in stores there. They don't care.

load more comments (3 replies)
[-] menas@lemmy.wtf 3 points 2 days ago

Law do not exist by itself; it's the result of balance of power. How would you know that your State do not use illegally free software ? And if you know it, could you sue it ? Even if it's a classified administration ?

Apply laws Internationally is even worse. It usually depends of the imperialist relationship between States. For exemple, Facebook rules was illegal in France, but France changes it's laws rather than sue Facebook. A decade later, the whole European Union could forte RGPD upon the GAFAM.

China have nothing to fear in ignoring those licence, and we shouldn't rely on it to protect our work. However we could strengthen our common defenses, through FOSS for people in the US … and maybe trade unions elsewhere.

[-] A1kmm@lemmy.amxl.com 33 points 3 days ago

GitHub are not some bastion of righteousness - they are literally owned by Microsoft. And they work hard to stop people from getting too much Open Source from them, with rate limits and the like, so essentially gate keep.

I think CSDN probably want to gatekeep their clone even harder, but in general having archives of GitHub on the Internet is a good thing.

load more comments (1 replies)
[-] phoenixz@lemmy.ca 22 points 3 days ago

Yeah, though the Chinese government isn't doing this out of the goodness of their heart, this is what open source is about.

[-] Agent641@lemmy.world 19 points 3 days ago
[-] automator404@lemmy.world 9 points 3 days ago

I call my uncle, he’s very corrupt

load more comments (1 replies)
[-] callmepk@lemmy.world 44 points 3 days ago* (last edited 3 days ago)

I think the major issue is here is that they are “mirroring” with the same username without clear indicating they are mirrors and they are modifying all the github links in Readme to GitCode. But if you want to claim your project, they want to only comment using the issue section of a project which requires account; but then you have to have a Chinese phone number to register account, and you will automatically get a Huawei Cloud account when you registering it

Edit: also some background info about the company behind GitCode from my other comment: the company behind GitCode is funded and owned by CSDN (China Software Developer Network) and the actual infrastructure and service is provided by Huawei Cloud. On the website they have written this statement in the registration page.

CSDN is mostly a platform to share posts on software development, but it is known to have a lot of issues, including:

  1. poor content and directly copied posts from other people without consent, which to a point people is considering the site a content farm; it is even a top blocked site on Kagi;
  2. All code provided there requires “coins” to download, even they are open-sourced code; it was reported multiple people in China got scammed via CSDN;
  3. You have to login to copy code on the post, and sometimes hides half the post to require you to login to read.
load more comments (1 replies)
[-] dan@upvote.au 82 points 4 days ago* (last edited 4 days ago)

I don't understand why this is a bad thing? Open source code is designed to be shared/distributed, and an open-source license can't place any limits on who can use or share the code. Git was designed as a distributed, decentralized model partly for this reason (even though people ended up centralizing it on Github anyways)

They might end up using the code in a way that violates its license, but simply cloning it isn't a problem.

[-] barryamelton@lemmy.ml 23 points 3 days ago

The code needs to maintain the copyrights and authors. They are "mirroring" usernames into their own domain, with mails that dont correspond to the original authors, stealing their contributions.

load more comments (2 replies)
[-] HKayn@dormi.zone 17 points 3 days ago

I’m seeing this misconception in a lot of places.

Just because something is on GitHub, doesn’t mean it’s open source. It doesn't automatically grant permission to share either.

load more comments (4 replies)
[-] BlueMagma@sh.itjust.works 32 points 3 days ago

I expect it's going likely to be used to train some Chinese AI model. The race to AGI is in progress. IMO: "ideas" (code included) should be freely usable by anyone, including the people I might disagree with. But I understand the fear it induces to think that an authoritarian government will get access to AGI before a democratic one. That said I'm not entirely convinced the US is a democratic government..

PS: I'm french, and my gov is soon to be controlled by fascist pigs if it's not already, so I'm not judging...

load more comments (9 replies)
load more comments (6 replies)
[-] csm10495@sh.itjust.works 89 points 4 days ago

It's a bit odd, but isn't it equivalent to forking and putting up a fork elsewhere?

I guess I don't see the problem.

load more comments (9 replies)
[-] 0x0@programming.dev 124 points 4 days ago

The vast majority of projects on GitHub is open-source and forkable, why would that need authorization?

It's... suspicious that China's doing it en masse, but there's nothing wrong in cloning or forking a repo last i heard.

[-] passepartout@feddit.org 104 points 4 days ago

It's not about authorization. They want to build a knowledge base for when the Great Firewall gets some more filters. Just like russias mirror of wikipedia which is heavily edited to discredit the west.

load more comments (8 replies)
load more comments (4 replies)
[-] romp_2_door@lemmy.world 75 points 4 days ago

fun to think that my shitty program is now stored in an artic vault and stored in some Chinese servers

So many bugs I never fixed and yet here we are lol

load more comments (8 replies)
[-] Muffi@programming.dev 27 points 3 days ago

Great! Now I know who to contact when I accidentally delete all the plaintext API keys and passwords I had stored in a public github repo.

load more comments (2 replies)
[-] psycho_driver@lemmy.world 53 points 4 days ago

Quick, someone tell Nintendo!

[-] ZILtoid1991@lemmy.world 43 points 4 days ago

Put content that is illegal in China into your code, problem solved!

load more comments (4 replies)
[-] maxinstuff@lemmy.world 19 points 3 days ago

If it’s a public repo do they need permission?

Not saying this is good, but you can’t really argue that it’s not a natural consequence of open source.

[-] HKayn@dormi.zone 29 points 3 days ago

I'm noticing this misconception in a lot of places.

Just because something is on GitHub, doesn't mean it's open source.

load more comments (18 replies)
load more comments (3 replies)
[-] nutsack@lemmy.world 49 points 4 days ago* (last edited 4 days ago)

I love how every Chinese company is called "China"

load more comments (10 replies)
load more comments
view more: next ›
this post was submitted on 26 Jun 2024
831 points (97.9% liked)

Technology

55606 readers
4501 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS