Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
-
Sure, but we are not really looking at, nor discussing, cases where LLMs spits out something verbatim from another project in this case.
-
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
@Foxboron Considering that nobody can hold a copyright on AI-generated stuff, and therefore also can't release it under a different license, doesn't that mean this rewrite is basically public domain?
-
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
@Foxboron lol, this is in a way what they suggest in this talk from #fosdem26: https://fosdem.org/2026/schedule/event/SUVS7G-lets_end_open_source_together_with_this_one_simple_trick/
-
@Foxboron Considering that nobody can hold a copyright on AI-generated stuff, and therefore also can't release it under a different license, doesn't that mean this rewrite is basically public domain?
@dekkia
Public domain is not really a thing in most of the world. So "yes", for US. For EU it's more complicated. -
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
@Foxboron@chaos.social "Laundering code" through an LLM...
But:
Since the LLM-generated code cannot be copyrighted in any way, this entire project (or at least the part the LLM generated) is technically public domain.
Oh well. Not like certain entities care for the law!
-
R relay@relay.publicsquare.global shared this topic
-
@dekkia
Public domain is not really a thing in most of the world. So "yes", for US. For EU it's more complicated.@Foxboron As far as I'm aware here in Germany it technically has copyright, but there's no owner who can enforce it.
I guess complicated is a good word for that.
-
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
-
@Foxboron As far as I'm aware here in Germany it technically has copyright, but there's no owner who can enforce it.
I guess complicated is a good word for that.
-
@Foxboron@chaos.social "Laundering code" through an LLM...
But:
Since the LLM-generated code cannot be copyrighted in any way, this entire project (or at least the part the LLM generated) is technically public domain.
Oh well. Not like certain entities care for the law!
@hannah@moonserver.yorha.nexus @Foxboron@chaos.social well, it would be public domain (by current rulings in the US) if the newer version is sufficiently different from the original LGPL to not be covered under that copyright
Very "funny" to license a repo as MIT when it is potentially either LGPL or public domain -
@Bubu @Foxboron somebody should inform PSF that in fact, chardet now has NO licensing and cannot be legally copyrighted or trademarked in any jurisdiction.
The Copyright Office’s Latest Guidance on AI and Copyrightability
US Copyright Office reaffirms AI-generated works without human creative input are not eligible for copyright protection. Emphasizes human creativity in AI use
The National Law Review (natlawreview.com)
https://fingfx.thomsonreuters.com/gfx/legaldocs/zdpxjnmmxpx/USPTO%20AI%20PATENTS%20squires.pdf
-
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
@Foxboron But AI written is not copyright, so does licence now matter on that code?
-
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
@Foxboron somebody should do this with the leaked Windows source code
-
@Foxboron somebody should do this with the leaked Windows source code
@wronglang
That would probably not be litigated under copyright law. -
@Foxboron, not to mention it doesn't pass its own test suite.
-
@hannah@moonserver.yorha.nexus @Foxboron@chaos.social well, it would be public domain (by current rulings in the US) if the newer version is sufficiently different from the original LGPL to not be covered under that copyright
Very "funny" to license a repo as MIT when it is potentially either LGPL or public domain@brie@do.crimes.brie.gay @Foxboron@chaos.social Well...
... Fair point!
One could argue that a rewrite is something different or the same... depending on how one wants to play it. This one would argue that it is actually something new because the underlying technology has changed to a significant degree (as far as this one is aware... but it is not a lawyer obviously). -
@scy
US court is leaning towards that LLM generated code is fundamentally not copyrightable.This is a different problem to the moral issues I have with this.
-
Apparently chardet got Claude to rewrite the entire codebase from LGPL to MIT?
Release 7.0.0 · chardet/chardet
Python character encoding detector. Contribute to chardet/chardet development by creating an account on GitHub.
GitHub (github.com)
That is one way to launder GPL code I guess?
@Foxboron Ugh I've rewritten things from scratch for licensing reasons, but the rule is I can't look at the original code. This definitely feels like it's not respecting the spirit of copyleft by using the loophole that bots glanced at the code...
-
@scy
A license violation usually implies that there is a copyright violation to begin with.@Foxboron@chaos.social @scy@chaos.social No. You can violate existing copyrighted material during creation of a not copyrightable material.
-
@Foxboron, not to mention it doesn't pass its own test suite.
-
Supreme Court has already dismissed such cases.
So we are getting a precedent in US law. Yet to be settled in any high court in the EU though.
@Foxboron@chaos.social @joshbressers@infosec.exchange @scy@chaos.social Supreme court dismissed copyright case against generated material. Nobody discard case for infringement by this generated material.
You can't pursue somebody for reusing your AI material, because such material can't be copyrighted), but you can pursue somebody to have generated AI material from your copyrighted (and so not AI) material.

