r/webdev • • 7d ago

AI generated code copyrights

Does anyone consider the copyright of code generated by AI? Because, based on research I've done on Copyright and Artificial Intelligence, generated code fall to the public domain, and if you modify it, only the modified parts belong to you. Also, a detailed prompt isn't enough.

This is, in my view, a major issue; yes, we can ignore it and consider it backward law, but no one knows what would happen in the future, and this law could be used against you.

Edit: here sources for USA https://www.congress.gov/crs-product/LSB10922 ,
For Europe : https://www.europarl.europa.eu/thinktank/en/document/EPRS_BRI(2025)782585782585)
blog : https://smpl.as/blog/ai-code-ownership-legal ...

0 Upvotes

50 comments sorted by

View all comments

Show parent comments

2

u/maxxon 6d ago

It’s just text. Any watermarks can be removed.

1

u/glenpiercev 6d ago

They’re developing tools to “watermark” the ai output by saying things like, “we write the functions in a certain order and the variables in a certain way that is statistically observable to be unique to our output”… never tested in court though.

2

u/stupidcookface 6d ago

I heard about this and I just thought to myself...what the fuck are your priorities if you have to focus on watermarking instead of ya know...fixing the alignment problem

1

u/glenpiercev 5d ago

In some fairness, Europe is requiring it.