AI Code: Up to 2.7x More Injection Vulnerabilities

AI-generated code is significantly less secure than human-written code, introducing 2.74 times more security issues. For specific injection-related flaws, AI models fail to defend against Cross-Site Scripting (XSS) in 85% of relevant cases and produce vulnerable SQL Injection code 18% of the time.

Sources

Open the full topic