r/AskComputerScience • u/Rusty_Chest • Oct 13 '26
Shouldn't Most Websites Refuse Vibe-coded apps/recompiles?
If LLMs are all trained off stolen data and open source repositories, this means they're essentially laundering a large amount of open source code without the proper dues paid to the licensing requirements, such as CC-4.0 for example which would explicitly require credit from original sources.
This would in turn make any vibe-coded app illegal based off licensing requirements, if one were to find a 1:1 copy of their code within an open-source vibecoded app, no?
I know that's a kind of hard legal requirement to reach, since there's only a finite way of doing things within a language's framework and therefore blindly accusing everyone who ever does the same function as you as a vibecoder would be painful to say the least.
But there's an increasing amount of people who believe the "spirit" of FOSS/FLOSS is preserved when vibecoding if they make their code source-available as well, completely disregarding the legal frameworks around GPL/LGPL/CC-4.0 etc.
Posting this here but idk if I would be best served in a legal subreddit.
Edit: To clarify, I'm not entirely against the use of AI/LLMs, I'm just curious about what the line is legally speaking when people say "I made this app!" and it's 4 different FOSS projects stapled together without credit.
15
u/VoidRippah Oct 13 '26
I'll have to disappoint you but that would mean to rejected every app.. I'm having a difficult time finding a new job where I don't HAVE to vibe code. I'm a senior SWE.
4
u/HasFiveVowels Oct 13 '26
That’s not how any of this works
3
u/treefaeller Oct 13 '26
Little lesson in copyright law. Say I want to write a book about how to make lasagna (it's delicious). I know nothing about the topic. First example: I go to the library (where it is legal to read books, and the library bought the books), and read exactly one cookbook, for example "the joy of cooking". I then write my lasagna book, publish it, and make money from it. Because all my knowledge comes from "the joy of cooking", the recipe that I publish in my book will have to be a copy of the recipe from "the joy of cooking". I have committed plagiarism, the author of "the joy" can sue me for copyright violation, since I literally copied their recipe, duh, look at the word "copy" and the word "right".
Second example: I go to the library, and read all 100 cook books there. I compare the recipes for lasagna, and take notes. For example book A uses more basil, book B coats the noodles in olive oil, book C steams the noodles instead of boiling them, and so on. I then write my book using a recipe that's a hybrid, pieced together from ideas I found in the 100 books I read. This is perfectly legal, and does not violate the copyright of any of these books. Why not? Because of "fair use": If someone publishes a book, they clearly intend for people to read it, they intend to disseminate knowledge. I have not copied large swaths of text from any one book.
What an AI does is much closer to the second example: It "reads" a lot of inputs, takes little snippets from each, categorizes them, and then on request builds a text by stitching a lot of little pieces from its inputs together.
When people publish their source code (for example on GitHub), they clearly intend it to be read. The whole idea of open source is that the source is open (duh, thence the name), so people can read it and become smarter. If I wanted to write an OS, I could read the source code to Linux, BSD, Minix, Plan 9, and so on, look at the ideas, and write my own using the knowledge and skills I have gathered, and that would be both legal, and allowed under the various licenses that accompany those code bases. What I can't do is to copy a big long piece from any one of them, because that violates copyright law and their licenses. Again, whether I do this myself by hand, or whether I use an AI or a LLM to do the grunt work, makes little difference.
Let me be nasty: If the folks who wrote the original codes (or the original cook books) wanted me to not use their knowledge or work, they should simply not have published it. There is a reason the recipe for McDonalds burgers or for Coca Cola is not available to the public, nor is the source code for zOS and Solaris (mostly). By publishing these works, the authors explicitly encouraged others to read and learn. They used copyright law and specific licenses (such as the GPL or the BSD license) to make some restrictions on copying, such as: the original author must be acknowledged and the copyright notice retained. But they did not (and pretty much can not) restrict someone from reading the code and taking small pieces.
The problem here is that our legal system does not distinguish the act of a human learning from many source, versus the act of an automated system (AI/LLM) doing the same thing. It's not clear that the legal system can make that distinction.
3
u/Clear_Evidence9218 Oct 13 '26
By your standard, every human programmer is a thief because we also study and learn from open-source software.
But in reality, just as with humans, AI training on a repository doesn't establish that a model's subsequent output contains copyright-protected expression from that repository, nor does it establish that the output is a derivative work.
You acknowledge that there are only a finite number of reasonable ways to implement certain functions, yet seem to overlook that functional similarity is not, by itself, proof of copyright infringement, regardless of how the software was written.
You also seem to misunderstand how AI models learn from training data, leading you to use the word "stolen" rather carelessly.
5
u/T_Thriller_T Oct 13 '26
It is currently discussed in multiple court cases if training something is the same as using it under a license or even similar.
Which is one of the issues here.
Otherwise e.g. pictures would likely also need to pay some kind of commissions.
1
u/fottyblitchy Oct 13 '26
sharing is caring but so is crediting too
-1
u/Flowchartsman Oct 13 '26
If you think that’s bad, wait until they start training newer models on slop generated by older ones.
-1
u/dkopgerpgdolfg Oct 13 '26 edited Oct 13 '26
You're not wrong, but you're missing something: Humanity on average, in 2026, doesn't give a f* anymore.
If/how using AI-generated things, given its training data, can be legal, is something that most countries don't have an answer for. And MS Windows, MS365 email hosting, GMail for companies, etc., are technically unambiguously illegal in a significant number of places. And so on.
And nobody stops it, people continue to use it, even defend it. It will just get worse and worse. It brings money to some, that's the only thing that matters nowadays.
(Same for politicians that technically are extreme criminals, sometimes even heads of states. Often simply nothing happens, and if it does then a tiny inconvenience that they won't even remember next week.)
-2
u/Esseratecades Oct 13 '26
You're right, but somewhere in the face of AI the rules kinda just stopped mattering to people.
On the industrial scale, there's a vested interest in enshittification. Some dress it up as progress but it's not progress.
Our legal system which has rules surrounding intellectual property is kinda just dragging it's feet with AI companies.
Nobody with the institutional power to do anything actually cares.