NetBSD vs AI-Generated Code

An article that might be interesting to read:

Quote from the NetBSD commit guidelines:
Do not commit tainted code to the repository.
If you commit code that was not written by yourself, double check that the license on that code permits import into the NetBSD source repository, and permits free distribution. Check with the author(s) of the code, make sure that they were the sole author of the code and verify with them that they did not copy any other code.

Code generated by a large language model or similar technology, such as GitHub/Microsoft's Copilot, OpenAI's ChatGPT, or Facebook/Meta's Code Llama, is presumed to be tainted code, and must not be committed without prior written approval by core.
 
FreeBSD (with a permissive licence) should probably also think about this issue of AI generated code originated from large language model or similar technology. Unless the current committer guidelines address this adequately, FreeBSD should consider banning it explicitly from commits.


BTW, from:
[...] That said, code produced by humans brings with it a whole different set of potential problems.
While humans can create security issues because of a variety of reasons, I'm quite convinced AI code generators are surely free of such issues; right?
 
Back
Top