Table of contents

AI writes the code. Who’s securing it?

AI writes the code Whos securing it

70% of organizations now say AI writes or substantially modifies at least a quarter of their production code. Software is being produced and shipped faster than ever, but security capacity isn’t scaling at the same pace.

Today we released Mend.io’s 2026 State of AI in AppSec report, AI Writes the Code. Who’s Securing It? We surveyed 500 security practitioners at large organizations. We wanted to learn how AI-assisted development is changing the AppSec workload, and where AI security governance falls short.

The productivity gains are real. So is the bill.

Since adopting AI development tools, 84% of respondents say code production has increased, and 72% report more frequent releases. The workload that comes with it is just as clear:

  • 77% report more security findings
  • 77% have more applications to maintain
  • 68% have more dependencies
  • 59% say remediation workloads have grown

Teams are getting better at the work. Eighty-three percent say their ability to close findings has improved. Even so, half report that their backlog grew over the past 12 months. Volume is growing faster than capacity.

AI adoption and security maturity can coexist

One finding challenges a common assumption. Organizations where AI writes or substantially modifies at least half of production code are better at clearing findings, not worse. Among these leaders, 71% dispose of at least half their findings within 90 days. Among organizations where AI writes less than a quarter of production code, the figure is 28%.

Leaders also investigate more. Sixty percent have investigated a security incident attributed at least partly to an attacker’s use of AI, compared with 28% of lighter adopters.

“A higher investigation rate may reflect better visibility into threats,” said Gil Regev, EVP and General Manager of AI at Mend.io. “The next question is how effectively teams act on what they find.”

AppSec is missing from AI decisions

Just 12% of organizations give AppSec primary responsibility for securing AI product features. For AI policy and governance, that drops to 5%. Central technology teams most often own AI feature security (52%) and runtime controls (44%).

Governance also looks better on paper than in practice. Most organizations have a written AI policy (56%) and an AI incident response plan (55%). But 20% say their security controls are easy to bypass. A quarter have no defined response when a critical vulnerability can’t be fixed before release.

Visibility is thin, too. Only 28% use tools to find shadow AI assets, yet 26% say people outside engineering build applications, automations, or AI agents that colleagues use.

Leaders and the people running the controls also disagree. Sixty-six percent of upper management say controls for AI-assisted code are complete and current. Among managers, it’s 53%.

The scope of application security is expanding. Organizations must now account for not only the code AI helps produce, but also the AI components embedded in their products and the agents being built and deployed across their business.

Five priorities for securing AI-assisted development

The report closes with five practical steps drawn from what AI leaders do differently:

  • Measure risk disposition and remediation performance, not scanning activity.
  • Involve AppSec earlier in AI security and governance decisions.
  • Find your shadow AI assets and keep visibility across the enterprise.
  • Make security controls enforceable and auditable across the software development lifecycle.
  • Budget for growth in tooling, automation, and practitioner capacity.

“Finding vulnerabilities is only half the job. Closing them is what reduces risk,” said Asaf Saar, EVP and Chief Product Officer at Mend.io. “As AI increases code volume, organizations need to measure time to remediation and make security part of the production workflow.”

The question is no longer whether organizations should adopt AI. It’s whether their security programs can scale with that adoption. That requires continuous visibility, effective remediation, and enforceable governance wherever AI is being built or used.

Get the full findings

The full report compares leaders and laggards and shows who owns AI security today. It also covers how organizations respond when a critical vulnerability can’t be fixed before release.

Download the 2026 State of AI in AppSec report

Proactive AppSec starts here

Read the report

Recent resources

Challenge 2026 Gartner Magic Quadrant 1000x650

Mend.io named a Challenger in the 2026 Gartnerยฎ Magic Quadrantโ„ข for Application Security Testing

Mend.io is a Challenger in the 2026 Gartnerยฎ Magic Quadrantโ„ข for AST.

Read more
Remediation The Fix Arrives Written

The four places AI runs in Mend SAST

AI in SAST: Four jobs AI does in Mend SAST and what each gives developers.

Read more
image

Mend SCA now supports Bun, with reachability built in

Mend SCA scans bun.lock and bun.lockb with reachability analysis built in.

Read more

50% of security practitioners saw their backlog grow last year.

See what AI leaders do differently.