Open-source projects ban or restrict AI-generated code: OpenJDK, Rust, curl
OpenJDK bans the acceptance of AI-generated code, while NetworkManager allows it, and the Rust repository also restricts AI. In January 2026, curl ended its bug bounty programme, which had run since 2019.
Who is affected and how
- senior developer
- Read a project's AI policy before contributing, because banned AI-generated code can lead to rejection or a ban from the project.
- tech lead
- Check that the AI policies of the open-source dependencies you use are consistent with your own processes.
Sources
- 🥇AI-generated code is banned in OpenJDK, but allowed in NetworkManager | ProHosterprohoster.info · Aug 11, 2026 · magyar
- AI Can No Longer Rampage Through Rust's Code Repoitsfoss.com · Aug 10, 2026
- AI didn't break open source. It removed a filter nobody designed. | Vuink.comvuink.com · Aug 10, 2026
Machine-generated summary based on the titles and excerpts of the source articles. The facts come from the linked article.