A hobbyist launched an AI-generated website only to discover months later it harbored a SQL injection flaw that could have exposed it to attackers. The anecdote is small; the systemic risk it represents is not.
Vibe-coding—building software by prompting AI rather than writing code—has collapsed the cost of shipping applications to near zero. GitHub Copilot, Cursor, Replit, and Anthropic's Claude have made functional software accessible to non-engineers. But code generation and code security are different disciplines, and LLMs optimize for the former. Multiple security audits have found that 40-50% of AI-generated code samples contain exploitable weaknesses, with injection flaws, hardcoded secrets, and broken authentication recurring most often. The model produces what looks correct, not what is safe, and the prompter often lacks the expertise to tell the difference.
For enterprises the exposure is structural. Shadow IT is being supercharged: business units now spin up customer-facing tools without security review, expanding the attack surface faster than any AppSec team can audit. The 2023 wave of low-code/no-code governance problems was a preview; vibe-coding is that problem at an order of magnitude greater volume and lower visibility. A single overlooked injection point in a marketing microsite can become the foothold for a breach that triggers GDPR or CCPA penalties.
The opportunity sits with the security tooling layer. Snyk, Semgrep, GitGuardian, and Veracode are well-positioned to embed automated scanning directly into AI coding workflows, and the AI vendors themselves will need to bake security-by-default into generation rather than treat it as a downstream check. Expect 'secure-by-construction' to become a competitive differentiator among coding assistants within 18 months, and expect cyber insurers to start pricing AI-generated codebases as a distinct risk category.
Recommended actions: CISOs should mandate that any AI-generated code pass automated SAST/DAST gates before deployment, treat vibe-coded apps as untrusted by default, and inventory shadow deployments now. CTOs evaluating coding-assistant contracts should weight security guardrails as heavily as productivity gains—the cleanup cost of a breach dwarfs the velocity savings.