While representing a small percentage of total responses, AppSec and security practitioners were 3x more likely than C-Suite respondents and significantly more likely than developers to state that AI-generated code was “bad”. This divergence implies that those tasked with fixing and securing code may be alerted to the failures of AI tools more frequently than developers, who may not see the vulnerabilities and code errors, and C-suite members, who rarely touch code. On the opposite end of the spectrum, CTOs and CISOs were considerably more likely than developers working with AI-generated code on a daily basis to believe that the quality of generated code is “excellent”. This likely implies developers are more realistic about the actual quality of AI-generated code and are more exposed to flaws and problems that are common in AI-created code, according to Snyk’s own findings and academic research.
These findings raise several questions. First, are organizations broadly underestimating risk from AI coding tools? Respondents across all roles, on average, rated AI code quality with high marks. This is despite multiple academic research papers finding that AI-generated code consistently injects security risk and requires additional code reviews and remediation. (See this Snyk Webinar for a Live Hack exploit of AI-generated code). Second, if CTOs and CISOs overestimate the quality of AI-generated code, is this because they receive imperfect information or have little direct contact with those working with the tools? And why are they not on the same page as developers?