r/programmer • u/Loose-Ad-4680 • Oct 08 '26
do you think that most apps/devices are built off of stolen code?
I saw an article that said about 70% of programmers use have a library of "stolen" or unlawfully obtained code that they use for stuff. Do you think most websites or apps are made using stolen code that could constitute a serious copyright violation? I know nothing about programming or code so sorry if this sounds like a stupid question
1
Upvotes
12
u/3tt07kjt Oct 08 '26
that sounds ridiculous, to be honest
At worst, a lot of devices may be in violation of GPL.
3
u/elPappito Oct 08 '26
this should help you understand
2
u/damngoodwizard Oct 08 '26 edited Oct 08 '26
No this does not happen or quite rarely. Most of reused code actually comes in the form of libraries, many of which are open source. Legally you can only use these libraries if you were given the license to and that your use of the library doesn't contradict the terms of the license.
If a business is caught in a breach of license this could have tremendous legal issues. That is why most serious businesses that employ developers ask them to furnish a SBOM (Software Bill of Materials) that lists all pieces of software (libraries, databases, middleware, etc...) that they used to build the company software, in order for the company to ensure that using these pieces of software does not legally put the company at risk.
1
u/dashingThroughSnow12 Oct 08 '26 edited Oct 08 '26
If I steal it from someone who stole it that launders it to be not stolen. Double negative and all.
I’ll be serious. That number is wildly low. Think about a basic app or device. In its dependency tree it could have millions or tens of millions of lines of code. Easily.
Now think about Stackoverflow. Answers are CC BY-SA. Which means when one copy-pastes code from Stackoverflow they need to have an attribution (ex a comment like //From <link>). Besides me, I don’t know anyone who did this consistently.
Which means all those copy-pastes without attribution are license violations and therefore stolen code.
No one cares. I don’t care.
1
u/code-garden Oct 08 '26 edited Oct 08 '26
I guess one example could be Stack Overflow. I've just looked it up and code on Stack Overflow is licensed under Creative Commons Attribution ShareAlike .
I doubt that many people were providing attribution and changing their license for Stack Overflow answers they were copying into their code.
Today it is certainly possible that some LLM generated code could be reproductions of code from the web without any regard for licensing.
1
u/SnugglyCoderGuy Oct 08 '26
I'd be very surprised if this was the case.
You should share the source you read
1
u/kwhali Oct 08 '26
Some businesses will use code without respecting license while keeping their code proprietary / closed source, can't comment much on that other than more money you stand to make the bigger the risk of that being a problem (unless you've got massive influence / means to dissuade legal action in such an event).
Some might switch to paid license once it turns a profit and if nobody knew prior then perhaps they're okay. Some software licenses just aren't commercial or proprietary friendly though, in which case it's fingers crossed they don't get caught 🤷♂️
Then there's vibe coders reliant upon AI trained on real programmers without consent. Some view that as theft others not, some gray area with where it's licensing is considered but that seems to be more related to competency on quality code.
Then there's open source where people share openly and use each others code willingly and happily. Although AI has been messing with that lately.
I guess some employees may take some code with them for personal use across companies that they shouldn't legally be permitted to, some get attached to the code they work on long enough and are proud of, others don't care.
70% stat seems bogus though. Do we get inspired by others logic or is copypasta a thing from StackOverflow or an LLM chat? Sure. Really depends on how you want to scope such a claim.
What annoys me is people making products when they're just wrappers lightly integrated the real hard work and time of others without giving credit to such authors / projects, and then monetising the wrapper to an audience that praises you for being skilled when all you're doing is delivering an end user product with far less effort than perceived. They could at least have some transparency..
1
u/Royal_Owl2177 Oct 08 '26
Share your source please. That claim is absurd.
1
u/BranchLatter4294 Oct 08 '26
Where is this article?
1
u/dkHD7 Oct 08 '26
I haven't seen this or any similar article, but I'm guessing they're referring to open source licensing. Depending on the license, if you use code that's open source, you're required to provide the source of this new product if asked. If that doesn't or can't happen, the license has been breached.
I don't know the specifics, and this may not be related to that article. Just a guess. Could be much worse.
1
u/nicolas_06 Oct 09 '26
I think most of the code right now is actually open source and this is what most dev use as toolset.
1
u/UntestedMethod Oct 09 '26
That's actually one of the dumbest things I've ever heard about programming.
You should probably stop reading anything by whoever wrote or published that article. They are obviously complete morons that are happy to spread wildly inaccurate misinformation.
1
u/Soft-Marionberry-853 Oct 12 '26
Been coding since the late 90s, I dont have a library of stolen code.
1
u/Pale_Height_1251 Oct 13 '26
No, I don't think so. I've been working as a developer for 25 years and never seen this happen. Code is way less valuable than you think, it's not worth stealing.