There are two different but related copyright problems with LLM generated code:
1. Making a derivative work of already existing copyrighted code that breaks that code's license (eg injecting GPL code in output).
2. Fully LLM generated code is not able to be subject to copyright, because there is not a human author, which means that it is not able to be subject to a license.
#1 is a problem that the AI vendors are indemnifying customers for.
#2 is not something that AI vendors can change, as it is part of the enforceability of IPRs under law.
Companies are going to have to rely on trade secrets for protection of their closed source code, FOSS/GPL projects don't have that option.
1. Making a derivative work of already existing copyrighted code that breaks that code's license (eg injecting GPL code in output).
2. Fully LLM generated code is not able to be subject to copyright, because there is not a human author, which means that it is not able to be subject to a license.
#1 is a problem that the AI vendors are indemnifying customers for.
#2 is not something that AI vendors can change, as it is part of the enforceability of IPRs under law.
Companies are going to have to rely on trade secrets for protection of their closed source code, FOSS/GPL projects don't have that option.