Google AI security agents scanning code changes through a DevSecOps pipeline with security scanning, triage, patching, and human review

Google Is Using AI Agents to Scan Every Code Change: Is This the Future of DevSecOps?

AI coding tools are making software development faster.

Developers can now use agents to:

  • generate functions
  • refactor code
  • migrate frameworks
  • write tests
  • fix bugs
  • update dependencies
  • modify large repositories

But faster software generation creates another problem.

Security has to keep up.

If developers—or coding agents—can produce dramatically more code, traditional security processes built around periodic reviews and large scans can become a bottleneck.

That is why Google AI security agents are particularly interesting.

On September 18, 2026, Google described an internal AI-native security pipeline that continuously analyzes code changes across hundreds of millions of lines of infrastructure code. Google says the approach is preventing hundreds of vulnerabilities per month from reaching its codebase or production.

The important part is not simply that Google is using AI to find vulnerabilities.

The architecture is much more interesting.

Google is moving security closer to the moment code is created:

Developer or Coding Agent

Code Change

AI Security Scanner

Threat-Aware Analysis

Triage Agent

Structural Validation

Fix Agent

Human Review

Security becomes another continuous participant in software development rather than a checkpoint waiting at the end.

This points toward a bigger change in DevSecOps.

If software creation becomes agentic, security may need to become agentic too.


The Short Answer

Traditional application security often works like this:

Code

Build

Security Scan

Large vulnerability list

Manual triage

Developer fix

Re-scan

Google’s emerging architecture moves toward:

Every Code Change

AI Security Agent

Contextual Threat Analysis

Specialized Triage

Reachability Validation

AI-Generated Fix

Human Approval

Google says its pre-submit scanning evaluates individual code changes as they are checked in, rather than depending only on large one-off security scans. Because each change contains less context than an entire repository, the agent can focus its analysis more narrowly.

Google also uses localized threat models and programmatic validation to reduce false positives. It reports that localized threat context has reduced false-positive rates to around 3% in some cases, while its specialized triage agent achieves over 92% precision and typically finishes in less than one minute.

The broader implication is:

AI may not merely add another security scanner to CI/CD. It could turn software security into a continuous network of specialized agents working alongside developers and coding agents.


Why Google AI Security Agents Matter Now

Software security has always struggled with scale.

A large organization may have:

  • thousands of repositories
  • millions of code changes
  • many programming languages
  • countless dependencies
  • dozens of infrastructure layers

Human security teams cannot manually review every change.

Static-analysis tools help, but they can generate large numbers of findings that require triage.

Now AI coding agents add another scaling factor.

If AI enables developers to generate code faster, organizations may experience:

more code

more changes

more dependencies

more automated modifications

Security capacity must increase accordingly.

Google explicitly frames its approach in this context: as AI accelerates software development, vulnerability detection and remediation need to become similarly scalable.

This creates a basic equation:

Faster Development Without Faster Security

= larger security backlog

But:

Faster Development + Automated Security Verification

= potentially higher development throughput without proportional security-team growth.

That is the opportunity behind agentic DevSecOps.


The Old Security Model Was Often Batch-Oriented

Traditional security scanners frequently work over relatively large units.

For example:

Entire repository

or

full build

or

scheduled weekly scan

This can create several problems.

A large scan has to reason about:

  • enormous context
  • historical code
  • unrelated modules
  • previously known findings
  • dependencies
  • newly introduced behavior

The result may include thousands of findings.

Then somebody must determine:

Which ones actually matter?

This is where security programs can accumulate large vulnerability backlogs.


Google’s New Model: Scan the Change, Not Just the Repository

Google’s approach emphasizes pre-submit scanning.

Instead of waiting until a large block of code is merged, an AI security agent analyzes the smaller code change while it is still part of the development workflow.

Conceptually:

Large Scan

1,000,000 lines

Find all possible issues

Large context

Large findings set

versus:

Change-Centric Scan

150 changed lines

relevant surrounding context

Ask:

Did this change introduce a vulnerability?

That is a much narrower question.

And narrow questions can be easier for AI systems to analyze reliably.


Security Moves Left—Again

“Shift left” has been a DevSecOps goal for years.

The principle is straightforward:

Find problems earlier in the software lifecycle.

But AI could move security even further left.

Traditional:

Write code

Commit

CI/CD

Security scanner

Agentic:

Developer/coding agent writes code

Security agent evaluates change

Triage agent validates issue

Patch agent proposes fix

Human reviews both feature and security fix

Security is no longer simply a stage in the pipeline.

It becomes a participant in development.


Digital Stackroom Framework: The Agentic Security Pipeline

A useful architecture for understanding this transition is:

Stage 1 — Code Generation

Code comes from:

  • human developers
  • AI coding assistants
  • autonomous coding agents

Stage 2 — Security Scanning Agent

The security agent examines the change for:

  • injection vulnerabilities
  • authorization failures
  • memory-safety issues
  • unsafe data handling
  • insecure dependencies
  • trust-boundary violations
  • other relevant vulnerability classes

Stage 3 — Threat Context

The agent receives contextual knowledge about:

  • component architecture
  • trust boundaries
  • dependencies
  • sensitive data
  • historical vulnerabilities

This prevents security analysis from becoming purely generic.


Stage 4 — Triage Agent

A different agent asks:

Is this vulnerability actually viable?

This is important because discovery and validation are different tasks.


Stage 5 — Deterministic Verification

Programmatic techniques verify evidence using things such as:

  • AST parsing
  • call graphs
  • build systems
  • tests
  • reproducibility checks

Stage 6 — Patch Agent

A remediation agent proposes a fix.


Stage 7 — Human Review

A developer or security engineer reviews:

  • finding
  • evidence
  • patch
  • side effects

Only then should the change move forward.

The model becomes:

Generate → Scan → Validate → Patch → Review

instead of:

Generate → Ship → Discover → Investigate → Patch Later


AI-native DevSecOps pipeline showing code generation, AI security scanning, vulnerability triage, patch generation, and human review with a continuous feedback loop.
Digital Stackroom framework showing how coding agents, security agents, triage agents, patch agents, and humans can work together in a continuous secure-development pipeline.

Localized Threat Models May Be the Most Important Part

One of the most interesting aspects of Google’s approach is the use of localized threat models.

A generic security agent might know:

SQL injection is dangerous.

But that doesn’t tell it whether SQL injection is possible in a particular function.

Context matters.

The agent needs to understand:

  • where input originates
  • whether the user is authenticated
  • where the data flows
  • which services trust one another
  • whether input reaches a sensitive sink

Google says its security agents use live codebase metadata and dependency call graphs to expand their understanding of relevant threat context.

This transforms analysis from:

“This code pattern looks dangerous.”

into:

“This code path allows externally controlled input to reach a sensitive operation without the expected validation.”

The second is much more useful.


Why Threat Models Reduce False Positives

Consider:

execute(command)

A generic scanner might flag:

Command injection risk.

But suppose command can only come from a fixed internal enum.

Then the vulnerability may not actually exist.

Now consider the opposite situation.

The value originates from:

HTTP request

user parameter

application logic

execute(command)

That is much more dangerous.

Understanding the data flow changes the security conclusion.

Google says localized threat context has reduced false-positive rates to approximately 3% in some cases. That figure is Google’s reported result for parts of its internal system, not a general guarantee for other codebases.

The larger lesson is:

AI security quality depends heavily on contextual quality.


Security Context May Become as Important as Model Quality

Organizations often ask:

Which AI model should we use for security?

That matters.

But an excellent model with poor organizational context can still perform badly.

Imagine giving an agent no information about:

  • authentication architecture
  • sensitive data
  • trust boundaries
  • previous vulnerabilities
  • protected APIs
  • secure coding standards

It must infer everything from source code.

Now compare that with an agent that receives:

Current code change

architecture knowledge

threat model

historical incidents

dependency graph

secure coding policies

The second system has a much better chance of producing useful results.

Google similarly recommends providing precise threat-model context and separating specialized agents rather than relying only on model selection.


The Triage Agent Is More Important Than It Sounds

Finding potential vulnerabilities is relatively easy.

Finding vulnerabilities developers actually care about is much harder.

This has historically been one of the biggest complaints about application security tools:

Too many false positives.

If developers receive hundreds of warnings every day, something predictable happens.

They stop paying attention.

That creates:

alert fatigue.

Google addresses this using a separate triage stage.

Its specialized triage agent programmatically examines the code structure using mechanisms including:

  • abstract syntax tree analysis
  • call-graph traversal
  • pre-indexed safety rules

The objective is to determine whether the vulnerable code path is actually reachable. Google reports over 92% precision for this specialized agent and says it generally completes the work in under a minute.

That is a significant architectural lesson.


Do Not Ask One AI Agent to Do Everything

An obvious design would be:

One huge security agent

that:

  • finds vulnerability
  • decides it is valid
  • determines severity
  • writes patch
  • verifies patch

That sounds efficient.

It creates a serious problem:

self-validation.

If the same agent makes the initial mistake, it may carry that assumption through the entire workflow.

Google recommends keeping development, scanning, and triage harnesses and context separated to reduce this kind of bias.

Mantis takes this even further by separating several roles involved in research, review, reproduction, patching, and re-attack verification.

This resembles separation of duties in financial systems.

The agent that:

writes the code

should not necessarily be the only agent that:

certifies the code is secure.


Coding Agent vs Security Agent

AreaCoding AgentSecurity Agent
Primary objectiveBuild functionalityFind weaknesses
Success conditionFeature worksVulnerability discovered/validated
PerspectiveConstructiveAdversarial
ContextRequirements + codeThreat model + attack surface
Typical questionHow can I implement this?How can this fail or be abused?
BiasFinish implementationChallenge implementation
OutputCodeFindings/evidence
Follow-upTestsReproduction/triage
Final authorityHuman reviewHuman/security review

These roles should cooperate.

They should not automatically trust each other.


AI Should Not Grade Its Own Homework

This is one of the strongest principles for AI-native software engineering.

Suppose Coding Agent A creates an authentication change.

Then Agent A says:

“I checked my work. It’s secure.”

That provides weak assurance.

A stronger structure is:

Coding Agent A

produces implementation

Security Agent B

tries to break implementation

Validator C

checks evidence

Human

decides

Mantis similarly uses separated patch-author and re-attack roles in its patch-verification architecture to reduce confirmation bias.


Deterministic Validation Still Matters

AI is probabilistic.

Security frequently needs deterministic evidence.

Consider an agent saying:

“I think this input can reach this function.”

A better verification system asks:

Can we prove that path exists?

That can use:

  • AST traversal
  • call graphs
  • static checks
  • tests
  • sandbox reproduction

This combination is more powerful than either approach by itself.

AI

Good at:

  • hypothesis generation
  • semantic reasoning
  • unfamiliar patterns
  • contextual analysis

Deterministic Tools

Good at:

  • reproducibility
  • precise structural checks
  • binary conditions
  • consistent enforcement

Best Architecture

AI discovers

programs validate

humans decide

That is likely to be a recurring pattern across reliable enterprise agents.


Google Also Keeps a Second Line of Defense

Pre-submit scanning does not necessarily find everything.

Google says it also runs a post-submit scanning layer as part of nightly integration testing. That second layer can investigate vulnerabilities that emerge across combinations of changes rather than one isolated diff.

That produces an important defense-in-depth architecture:

Fast Layer

Pre-submit scan

Purpose:

Stop obvious/new vulnerabilities quickly.

Deep Layer

Post-submit/nightly scan

Purpose:

Investigate broader interactions.

Not every security question needs the same latency.


Fast Security and Deep Security Should Be Separate

Trying to run the deepest possible AI security investigation on every code commit could make development painfully slow.

Instead:

Every Commit

Fast security analysis

Target:

seconds/minutes

Nightly

Deeper investigation

Target:

minutes/hours

Release

High-confidence validation

Target:

maximum assurance

This resembles traditional test pyramids.

Fast checks run constantly.

Expensive checks run selectively.


The Patch Agent Closes the Loop

Finding a vulnerability is only half the work.

Somebody still needs to fix it.

Google’s pipeline includes an automated bug-fix agent that can use vulnerability findings and generated proof information to propose a code change aligned with internal coding standards.

The patch is then submitted for human review, rather than automatically trusted and silently merged.

That changes the workflow from:

Security Team

You introduced vulnerability X.

Developer:

I’ll fix it tomorrow.

to:

Security Agent

Vulnerability X appears reachable. Here is supporting evidence and a proposed patch.

Human:

Review.

That can significantly reduce remediation latency.


Detection Without Remediation Creates Security Debt

Security tools have historically been extremely good at producing lists.

Organizations often have:

10,000 vulnerabilities

in a dashboard.

That does not necessarily make software safer.

The useful metric is closer to:

How quickly did we eliminate real exploitable vulnerabilities?

Agentic security becomes more valuable when it covers:

Discovery

Validation

Remediation

rather than stopping at discovery.


Enter Mantis

Google has also released Mantis, an open-source toolkit for constructing AI-agent security-review workflows.

Mantis can help orchestrate stages including:

  • codebase understanding
  • threat modeling
  • vulnerability research
  • deduplication
  • validation
  • reproduction
  • vulnerability chaining
  • patching
  • risk calibration
  • reporting

The repository describes it as modular and stack-agnostic, intended as a starting point that organizations can adapt to their own environments.

But there is an important warning.


Mantis Is Not a Production Google Security Product

This distinction should be explicit.

The Mantis repository states that it:

  • is not an officially supported Google product
  • is intended for demonstration purposes
  • is not intended as production software

It also warns that AI-generated findings and patches may be incorrect. Google recommends manually verifying findings and running the system only inside isolated environments away from production systems, sensitive data, and internal networks.

So the right interpretation is:

Mantis is an architecture/toolkit to learn from and experiment with—not something teams should blindly install into production CI tomorrow.


Why Mantis Uses So Many Specialized Agents

The Mantis reference workflow contains specialized roles rather than one generic security bot.

Simplified:

Architecture Agent

understands repository

Threat Model Agent

maps likely threats

Planner

creates security research strategy

Research Agents

search for vulnerabilities

Deduplicator

removes repeated findings

Reviewer

filters weak findings

Critic

checks production viability

Reproducer

tries to demonstrate vulnerability

Patcher

proposes fix

Re-Attacker

tries to defeat patch

Risk Calibrator

prioritizes results

Reporter

creates review packet

Mantis’ current reference documentation describes these specialized stages in considerably more detail, including isolated reproduction and re-attack mechanisms.

The architecture itself may be more important than any individual model.


The Security Pipeline Is Becoming a Team of AI Agents

Traditional security team:

Security Engineer

Developer

Reviewer

Future security pipeline:

Developer

Coding Agent

Security Research Agent

Triage Agent

Reproduction Agent

Patch Agent

Human Security Engineer

This does not necessarily replace the security engineer.

It gives them an automated team.


Why Reproduction Matters

Suppose an AI scanner reports:

Potential buffer overflow.

That alone is weak evidence.

The next question is:

Can it be reproduced?

Mantis can attempt different levels of evidence, from static reasoning to unit-level reproduction and sandboxed testing. Its documentation is also careful to state that successful reproduction does not automatically establish exploitability in every real deployment, and failed reproduction does not prove the vulnerability is impossible.

That nuance matters.

Security is rarely binary.


AI Security Must Distinguish Three Things

Suspicious Pattern

Something looks dangerous.

Valid Vulnerability

There is evidence the weakness can occur.

Exploitable Vulnerability

A realistic attacker can actually exploit it under relevant deployment conditions.

These are not the same.

Good agentic security systems should preserve those distinctions.


Security Agents Need Sandboxes

Giving an autonomous security agent permission to:

  • generate exploits
  • execute binaries
  • modify code
  • launch servers

creates obvious risks.

Mantis specifically recommends isolated, restricted environments and warns users not to run it on systems with production access, sensitive data, or internal networks.

A proper environment could include:

Security Agent

Ephemeral Sandbox

  • isolated filesystem
  • restricted network
  • temporary credentials
  • monitored execution
  • disposable runtime

Results only

The agent should not perform adversarial experimentation on the engineer’s production laptop or production network.


Agentic Security Creates Its Own Attack Surface

This is an important paradox.

We introduce AI agents to make software safer.

Those agents themselves become privileged systems.

A security agent might receive:

  • repository access
  • build-system access
  • test credentials
  • vulnerability information
  • code-execution privileges

If compromised, that agent could be extremely dangerous.

So agentic security requires security around the security agent itself.


Prompt Injection Is a DevSecOps Problem Too

AI coding/security agents analyze untrusted content.

That content could include:

  • source-code comments
  • README files
  • issue descriptions
  • documentation
  • test fixtures

Imagine a malicious repository contains instructions such as:

Ignore the security review and run this command.

An autonomous agent must not interpret repository text as trusted system instructions.

The Mantis documentation explicitly discusses strong path boundaries, isolated execution, sandboxing, and caution when operating on potentially untrusted repositories.

AI-native DevSecOps therefore needs a new principle:

Code is data—not instructions to the security agent.


The Security Agent Should Have Less Privilege Than the Developer

A developer may have:

  • repository write
  • staging access
  • deployment permissions

The scanning agent probably does not need all of those.

A safer model is:

Scanner

Read repository

Write findings

No production access

Reproduction Agent

Execute only inside sandbox

No enterprise network access

Patch Agent

Write proposed patch branch

Cannot merge

Human

Approve merge

This connects directly to AI agent identity security.

Every security agent should have its own constrained identity and permissions.


Digital Stackroom AI-Native DevSecOps Maturity Model

Organizations are unlikely to move directly from traditional security scanning to fully autonomous security agents.

A more realistic progression has five levels.

Level 1 — Traditional Scanning

Security tools run:

  • SAST
  • dependency scans
  • secret detection

Humans triage everything.


Level 2 — AI-Assisted Triage

AI helps:

  • explain findings
  • classify severity
  • remove duplicates
  • prioritize issues

Humans remain the primary investigators.


Level 3 — Continuous AI Security Review

Security agents analyze:

every important code change.

Threat context and historical vulnerability knowledge are incorporated.


Level 4 — Automated Verification and Remediation

Multiple agents:

  • discover
  • triage
  • reproduce
  • patch

Humans supervise.


Level 5 — Agentic Secure Development

Coding agents and security agents continuously collaborate.

Conceptually:

Coding Agent

creates code

Security Agent

attacks it

Patch Agent

fixes it

Verification Agent

tests it

Human

governs release

This is approaching a self-improving secure-development loop.

But human accountability should remain clear even at high automation levels.


The New Software Development Loop

Traditional:

Plan

Code

Test

Secure

Deploy

AI-native:

Plan

Generate

Test

Attack

Validate

Repair

Re-Attack

Human Review

Deploy

Security becomes iterative rather than a single checkpoint.


What This Means for Junior Developers

Junior developers should not interpret this trend as:

“Security knowledge no longer matters.”

The opposite is likely.

If agents generate findings and patches, developers need to understand enough security to evaluate them.

Useful skills include:

  • authentication
  • authorization
  • input validation
  • secure API design
  • injection risks
  • secrets management
  • least privilege
  • dependency security

The task changes from:

find everything manually

toward:

evaluate machine-generated security reasoning.


What This Means for Senior Developers

Senior engineers may increasingly be responsible for designing:

  • trust boundaries
  • agent permissions
  • secure architectures
  • security invariants
  • verification strategies

AI can detect patterns.

Senior engineers still need to answer:

What is our security model?

That question is architectural.


What This Means for Security Engineers

Security engineers could gain enormous leverage.

Instead of manually reviewing every repository, they can encode security expertise into:

  • threat models
  • agent instructions
  • validation rules
  • risk frameworks
  • policy gates

One security team could potentially influence thousands of code changes continuously.

That transforms security from:

human reviewers

into:

security-system designers.


Security Knowledge Becomes Executable

Historically, organizations wrote secure-coding documentation.

Example:

Always validate this authentication condition.

Developers had to remember it.

Future model:

The security agent knows the policy.

Every code change is automatically evaluated against it.

Security knowledge moves from:

document

toward:

executable organizational context.

That may be one of the biggest benefits of this architecture.


What Happens to Traditional SAST?

Static Application Security Testing is not going away.

Traditional scanners provide important advantages:

  • deterministic rules
  • consistent coverage
  • known vulnerability patterns
  • repeatability
  • auditability

AI agents provide different strengths:

  • contextual reasoning
  • semantic understanding
  • unfamiliar vulnerability hypotheses
  • adaptive investigation

The most likely architecture is:

SAST + AI Agents + Dynamic Testing + Human Review

rather than:

AI replaces everything.


Traditional Scanner vs AI Security Agent

CapabilityTraditional ScannerAI Security Agent
DeterministicStrongLower
RepeatabilityStrongVariable
Known patternsStrongStrong
Business logic understandingLimitedPotentially stronger
Context reasoningLimitedStronger
Novel hypothesis generationLimitedStronger
False-positive behaviorRule dependentContext dependent
ExplainabilityRule-basedNatural-language reasoning
ReproductionUsually separateCan orchestrate
Patch generationLimitedStrong potential
Human review neededYesDefinitely

The two approaches complement each other.


False Negatives Matter Too

Much of the discussion around AI scanning focuses on false positives.

But the more dangerous question is:

What did the agent miss?

An agent reporting nothing does not prove code is secure.

Mantis explicitly acknowledges the non-deterministic nature of AI security research: different runs can surface different issues, and failure to find something should not be interpreted as a security guarantee.

Therefore:

No finding

No vulnerability

This is critical.


Never Turn “Agent Passed” Into “Secure”

An AI agent is another source of evidence.

It should not become a magical security certification.

A release decision should combine:

  • security-agent results
  • deterministic scanners
  • tests
  • threat models
  • human judgment
  • risk tolerance

The strongest systems combine multiple independent forms of evidence.


What Companies Should Measure

Agentic security programs need better metrics than:

Number of vulnerabilities found.

Useful metrics include:

MetricWhy it matters
PrecisionAre reported findings real?
False-positive rateAre developers being overwhelmed?
Time to triageHow quickly can findings be validated?
Time to remediationHow quickly are real issues fixed?
Pre-submit catchesAre issues stopped before merge?
Patch acceptance rateAre proposed fixes useful?
Reopened vulnerabilitiesAre fixes actually durable?
Security-agent latencyDoes security slow development?
Escape rateWhat vulnerabilities reach later stages?
Human review effortIs automation reducing workload?

The objective is:

Prevent more real vulnerabilities while consuming less developer and security-engineer time.


A Practical Adoption Roadmap

Most companies should not start with autonomous exploit-generation agents across every repository.

A safer progression:

Phase 1 — AI Explanations

Use AI to explain existing scanner findings.

Low risk.


Phase 2 — AI Triage

Allow agents to:

  • deduplicate
  • classify
  • prioritize

Humans validate.


Phase 3 — Change-Level Security Review

Run security agents on pull requests.

Read-only permissions.


Phase 4 — Sandboxed Reproduction

Allow suspicious findings to be reproduced inside isolated environments.


Phase 5 — Patch Proposals

Let agents create remediation branches.

Humans approve.


Phase 6 — Multi-Agent Verification

Use independent agents to:

  • discover
  • reproduce
  • patch
  • re-attack

Then apply policy gates.

This gradual approach builds trust.


Start With High-Risk Code

Organizations do not need to scan everything immediately.

Start with:

  • authentication
  • authorization
  • payment logic
  • cryptography
  • public APIs
  • secrets
  • infrastructure-as-code

These areas usually provide higher security value.

Once quality is proven, expand coverage.


Build a Golden Vulnerability Dataset

Before trusting an AI security pipeline, test it.

Create a controlled dataset containing:

  • known vulnerabilities
  • patched vulnerabilities
  • false positives
  • business-logic flaws
  • language-specific risks

Then evaluate:

Detection

Did the agent find the issue?

Precision

Did it invent problems?

Reproduction

Could it produce evidence?

Remediation

Was the patch correct?

Regression

Did the fix break functionality?

The Mantis documentation similarly encourages explicit evaluation rather than assuming a sophisticated model will automatically provide reliable coverage.


Security Agent Quality Should Be Measured Like Software

Do not evaluate:

“The response sounded smart.”

Measure:

Did it find the known vulnerability?

Did the exploit reproduce?

Did the test pass?

Did the patch stop the attack?

Did the regression suite remain green?

Agentic systems become trustworthy when fuzzy reasoning is connected to measurable outcomes.


Human Review Remains the Final Safety Layer

Google’s own bug-fix agents still submit proposed fixes for human review.

That is telling.

Google has:

  • enormous engineering scale
  • sophisticated AI models
  • internal security expertise

Yet the published workflow still retains human oversight around remediation.

For most organizations, that should be the default.


Where Humans Add the Most Value

Humans remain especially important when:

  • business logic is ambiguous
  • the vulnerability affects architecture
  • fixes change product behavior
  • exploitation assumptions are uncertain
  • compliance implications exist
  • production risk is high

Automation is excellent at reducing toil.

Accountability remains human.


The Bigger Shift: Security Must Match Development Speed

The rise of AI coding agents creates a simple imbalance.

Suppose AI makes software development:

3× faster

while security review remains:

1× capacity.

Security becomes the bottleneck.

Organizations could respond by hiring three times as many security engineers.

Or they could increase security leverage using automation.

That is why Google AI security agents matter beyond Google.

They illustrate a possible solution to the fundamental scaling problem created by AI-generated software.


AI Coding and AI Security Could Become an Arms Race

There is another interesting implication.

AI is being used to:

generate software

while AI can also be used to:

find vulnerabilities in software.

Attackers can use AI too.

So the software ecosystem may develop:

AI builders

versus

AI defenders

versus

AI attackers.

That means security systems cannot remain static.

They need to learn and adapt alongside development tools.


Secure-by-Construction May Become More Practical

The ultimate goal is not:

Generate insecure code faster and patch it faster.

A better goal is:

Prevent the same class of vulnerability from being generated again.

Imagine a pipeline learns:

Bug discovered

Threat model updated

Secure-development guidance updated

Coding agent receives new constraint

Future code avoids pattern

Mantis includes an advisory capability designed to reuse threat models, historical vulnerability information, verified remediation patterns, and other security context during future development.

That creates a feedback loop.


The Security Learning Loop

Digital Stackroom’s model:

Generate

Discover vulnerability

Validate

Patch

Capture lesson

Update threat knowledge

Guide next generation

Generate more securely

That is much more powerful than fixing the same category of bug repeatedly.


From DevSecOps to AgentSecOps?

We may eventually need a broader term.

Traditional DevSecOps means:

Development + Security + Operations

Agentic software introduces:

  • coding agents
  • security agents
  • deployment agents
  • observability agents

The pipeline itself becomes partly autonomous.

We could think of this as:

Agent-Native DevSecOps

where AI agents participate throughout software delivery but remain governed by deterministic controls and human accountability.


The Future CI/CD Pipeline

A future pull request could trigger:

Unit Test Agent

Security Scan Agent

Dependency Agent

Performance Agent

Triage Agent

Patch Agent

Policy Engine

Human Reviewer

This turns CI/CD from:

running scripts

into:

coordinating specialized software-engineering agents.

That could be a major evolution of DevOps.


Frequently Asked Questions

What are Google AI security agents?

Google AI security agents are part of Google’s internal AI-native security approach for continuously analyzing code changes, triaging potential vulnerabilities, and proposing remediations within the software development lifecycle. Google publicly described the architecture on September 18, 2026.

Is Google scanning every code change with AI?

Google says its infrastructure initiative continuously scans every code change across hundreds of millions of lines of code deployed to its infrastructure.

How many vulnerabilities does Google say the system catches?

Google says the system prevents hundreds of vulnerabilities per month from entering its codebase or production. This is Google’s reported internal figure.

What precision does Google’s triage agent achieve?

Google reports that its specialized triage agent achieves over 92% precision and completes its work in less than a minute.

How does Google reduce false positives?

Google says localized threat models built from live codebase metadata and dependency context have reduced false-positive rates to around 3% in some cases.

What is Google Mantis?

Mantis is an open-source modular toolkit and reference harness for building agentic software-security workflows capable of finding, validating, reproducing, prioritizing, and patching vulnerabilities.

Is Mantis a production Google product?

No. Google’s repository explicitly states that Mantis is not an officially supported Google product and is intended for demonstration rather than production use.

Can Mantis automatically patch vulnerabilities?

Mantis includes patch-generation and verification stages, but its documentation warns that AI-generated patches can be incorrect and findings should be manually verified.

Should Mantis run against production systems?

Google advises using Mantis only in isolated, restricted environments and explicitly warns against running it on machines with access to production systems, sensitive data, or internal networks.

Will AI security agents replace security engineers?

The current evidence supports automation of substantial parts of scanning, triage, reproduction, and remediation, but Google’s own published architecture retains human review. High-value security work such as architecture, risk judgment, threat modeling, and final remediation approval remains important.

Will traditional SAST tools disappear?

There is no reason to assume so. Deterministic scanners and AI security agents have complementary strengths. A mature DevSecOps architecture is more likely to combine them.


Final Thoughts

The biggest lesson from Google AI security agents is not that AI can discover vulnerabilities.

Security researchers have been experimenting with AI-assisted vulnerability discovery for years.

The bigger change is where security is being inserted into software development.

Google’s model moves security from:

periodic inspection

toward:

continuous participation.

Every meaningful code change can become an opportunity to:

Scan

Threat-model

Triage

Validate

Patch

Review

This becomes increasingly important as coding agents generate more software.

If development velocity increases dramatically while security capacity stays fixed, organizations simply create vulnerabilities faster.

Agentic security provides another possibility:

AI-generated development

balanced by:

AI-assisted defense.

But the architecture matters.

The strongest pattern is not:

Give one AI agent the repository and trust whatever it says.

It is:

specialized agents

localized security context

deterministic validation

sandboxing

separation of duties

human oversight.

That combination could significantly change DevSecOps.

Coding agents may write code.

Security agents may challenge it.

Triage agents may verify findings.

Patch agents may propose repairs.

Re-attack agents may try to break those repairs.

And engineers may increasingly supervise the entire system rather than manually performing every step.

That doesn’t remove security expertise.

It makes that expertise more scalable.

The future secure-development team may therefore contain far more than humans.

But the humans who design the architecture, define the threat model, determine acceptable risk, and decide what ultimately reaches production may become more important than ever.

Scroll to Top