HACKER Q&A
📣 kameit00

Open-source AI generated project


If you use one of the tools like Claude Code / OpenAI Codes, these could be trained on copyrighted Code.

If I use one of these tools to make an app/plugin/..., do you think there will be legal problems if the code included was partially from commercial projects, that the LLM was trained on?

Codex once created PHP code, where in the generated code I could see a Copyright notice of another company - as if it was trained - in this case - on a commercial Magento 2 Module.


  👤 incomingpain Accepted Answer ✓
>If you use one of the tools like Claude Code / OpenAI Codes, these could be trained on copyrighted Code.

COULD.

Copyrights arent protecting every individual function. It's identical clones only.

But if you havent literally cloned someone else's work. You have no fear of lawsuit here.

The one thing that could happen isnt AI making the same code. It's patents. Some sort of function of an app is protected by a patent. You as an open source option are likely rolling over and losing.You arent fighting some patent lawsuit and trying to invalidate their patent.

You take down the project and put in your calendar the day you dont infringe. You keep working on the project to make it super awesome. Then the day it comes, you have a big release as patent expiration day and have a huge marketing campaign to wreck them.