AI-Generated Code Vulnerabilities
What it is
Security defects produced by AI code generators (like Lovable, Replit, Manus, Cursor, GitHub Copilot, or Claude Code) that ship in production applications without the developer realising they exist.
Why it matters
AI tools have rewired how code gets written. Most production codebases today contain a meaningful percentage of AI-generated code — and the bugs that come with it. Traditional SAST tools were built to catch the kinds of bugs humans write. The bugs AI writes are often semantic in nature (broken auth flows, BOLA, race conditions, logic errors) and fall outside the rule databases pattern-matching scanners rely on. Our Vibe Coded & Vulnerable research found 561 vulnerabilities across 24 AI-built apps — including 300 critical or high severity findings.
Example
An AI tool generates a CRUD endpoint with an auth check on top, but the database query inside doesn't filter by the authenticated user's ID. Syntactically clean. Semantically broken. Pattern-matching SAST won't catch it.
How Kolega handles it
Kolega's engine reads data flow across your codebase rather than pattern matching. It catches the semantic flaws that AI-generated code tends to ship, regardless of which builder produced the code.