TL;DR: AI coding assistants are accelerating code production faster than security controls are adapting, with Kusari reporting 85% adoption but only 9% treating AI-driven AppSec analysis as a must-have. That gap is allowing hallucinated dependencies, insecure patterns, and outdated libraries to reach production, turning AI-generated code into a measurable AppSec governance problem.
NHIMG editorial — based on content published by Kusari: Vibe coding security vulnerabilities are becoming one of the fastest-growing blind spots in application security
By the numbers:
- Research from the Cloud Security Alliance and Endor Labs found that 62% of AI-generated code contains design flaws or vulnerabilities.
- Veracode reported that 45% of AI-produced code fails against the OWASP Top 10.
Questions worth separating out
Q: How should security teams implement controls for AI-generated code in pull requests?
A: Security teams should make pull request scanning the default control point for AI-generated code.
Q: Why do AI coding agents increase supply-chain risk?
A: AI coding agents can choose tooling, install packages, and edit lock files in ways that may bypass the controls humans expect in a managed environment.
Q: What do security teams get wrong about AI-generated code risk?
A: They often focus on catching insecure output after code is written, which is too late for AI-native workflows.
Practitioner guidance
- Implement pull request gates for AI-generated code Require SAST and SCA scans on every pull request that contains AI-assisted changes, with policy blocking merges until severe findings are resolved.
- Block unvetted dependencies by default Use an allowlist or approval workflow for any new package reference, and validate package names against trusted registries before build execution.
- Tag AI-assisted changes in the delivery pipeline Use commit metadata, IDE plugins, or repository labels so security teams can measure where AI-generated code enters the codebase and whether it passes review.
What's in the full article
Kusari's full report covers the operational detail this post intentionally leaves for the source:
- Survey methodology behind the 85% adoption and 9% must-have figures, useful for benchmarking your own programme.
- Per-language failure patterns, including where Java and other stacks showed the highest secure-generation failure rates.
- Practical examples of pull request scanning rules that target transitive dependencies, typosquatting packages, and insecure patterns.
- Developer workflow examples for secure prompt design and dependency policy enforcement.
👉 Read Kusari's analysis of vibe coding security vulnerabilities and AI-generated code risk →
Vibe coding security vulnerabilities: are your code review controls keeping up?
Explore further