AI Fixed the Bug and Broke My Application

Dec 4, 2026

Jim Manico runs an open source library, the OWASP Java HTML Sanitizer. Its job is to take a block of HTML and remove the dangerous parts so it can be rendered, for example in a WYSIWYG editor.

When AI found that the sanitizer was bypassable in an application he was building, it did not update the library. It turned the HTML input into escaping and tried to push that patch to production. Now, users who submit HTML would see a big block of raw HTML on the page. In his words: you fixed it and you broke my application. And it burned time he would not have spent doing it manually.

Watch the full conversation with Chris Wysopal and Jim Manico on the Veracode channel: The Security Problem with AI Generated Code. Here's what to do about it.

💡 Subscribe for more insights on Application Security, AI Coding, and DevSecOps.

#AICoding #AppSec #OWASP #DevSecOps #Veracode