Last month, Gentoo officially opposed using AI-generated code in their distribution. Now, NetBSD, an OS part of the Unix-like BSD family, has announced a stringent policy regarding code generated by AI technologies, including large language models like OpenAIโs ChatGPT and GitHub/Microsoftโs Copilot.
“New development policy: code generated by a large language model or similar technology (e.g. ChatGPT, GitHub Copilot) is presumed to be tainted (i.e. of unclear copyright, not fitting NetBSD’s licensing goals) and cannot be committed to NetBSD.”
Under the new guidelines, NetBSD has classified AI-generated code as โtainted,โ indicating that such code is presumed to have uncertain copyright and licensing status and cannot be committed to the NetBSD repository.
Developers are now required to ensure that any code is either authored initially by themselves or comes withย clearย permissions and provenance. The process involves verifying that the codeโs license allows free import into and distribution through the NetBSD source repository.
Further complicating the integration of AI-generated solutions, the guidelines mandate developers secure written approval from core team members before incorporating any such code. This stepย is designedย to prevent potential legal and ethical issues stemming from AIโs ability to amalgamate code from diverse, sometimes proprietary, sources.
Finally, however,ย we should note thatย it is currently impossible to definitively prove whether a piece of code was created by a human or produced by AI.ย Nevertheless, implementing this policy highlights the NetBSD developersโ commitment to maintaining clear and free distribution.