Google Mantis: An Agentic Vulnerability Scanning Harness for Reducing False Positives
Sergio De Simone ยท rss ยท 2026-09-06 Reader ๐ฅ๏ธ
Agent SecurityAI-Driven Vulnerability DiscoveryModel RoutingMulti-Agent OrchestrationRetrieval & RAGSandboxingToken Efficiency
Google built Mantis, an open-source multi-agent harness that combines critic/reviewer agents, hierarchical repository context, and sandboxed reproduction of vulnerabilities, because conventional AI-powered vulnerability scanning is unreliable โ plagued by hallucinated bugs and true-positive rates under 7% โ and false positives can only be brought under control through disciplined agentic engineering, not by trusting a single LLM's judgment.
practical ยท expository โ A short InfoQ news report on a newly open-sourced Google tool. It explains what Mantis does and how it is architected, largely through paraphrase plus two direct quotes from Google's own blog posts; it makes no independent argument of its own beyond organizing and summarizing Google's claims. There is no narrative arc, no counter-evidence, and no author-original argument โ the piece is a practical technology writeup, not a theoretical treatise.
Structure
| Part | Role |
|---|---|
| Opening framing (what Mantis is and why it exists) | thesis statement |
| Google's quoted rationale (<7% true-positive rate; critic/review + sandboxed reproduction) | evidence / authority citation |
| Context-analysis description (repo history, architecture, threat models, hierarchical tree summarization, 85% token reduction) | mechanism detail |
| Agent roster (critic, reviewer, strategist, research agents) | mechanism detail |
| Modular skill-suite description (15+ tools, shared on-disk state) | mechanism detail |
| Model-selection guidance (flash/lite vs. frontier models per stage) | mechanism detail / secondary theme |
| mantis-review negative filter, with Google's caution against over-broad filtering | qualification / self-critique |
| Availability and pointer to full agent reference guide | closing / call to action |
Key terms
- hallucinated vulnerabilities
Findings an LLM-based scanner reports as real security bugs that do not actually exist in the code โ a failure mode distinct from merely low-severity or low-confidence findings. - vulnerability lifecycle
The full sequence from identifying a candidate bug, through validating it, to reproducing it in a controlled environment, to fixing it โ Mantis is scoped to automate all four stages, not just detection. - agentic harness
The orchestration layer wrapping multiple specialized AI agents (critic, reviewer, strategist, researcher) and 15+ modular tools coordinating through shared on-disk state โ the engineering scaffold, not any single model call. - grounding Retrieval & RAG
Providing verifiable, sandboxed-execution evidence that a flagged vulnerability is real, rather than relying solely on an LLM's textual judgment about the code. - critic and reviewer agents
Distinct agent roles: a critic agent adversarially evaluates candidate findings, and a separate reviewer agent (via the mantis-review stage's negative filter) screens out likely false positives before findings reach a human. - negative filter
A rule-based filtering mechanism in the mantis-review stage that eliminates candidate findings judged to be false positives; explicitly flagged by Google as risky if made too broad, since low-risk-looking findings should not be automatically discarded.
Propositions
- explicitcorroboratedGoogle open-sourced Mantis, an AI-agent framework designed to automate the full software vulnerability lifecycle โ identifying, validating, reproducing, and fixing bugs.conf: highsupports โAgentic AI in the Software Development Lifecycle (SDLC) ยท p5 โ Mantis is a concrete, specified example of exactly the kind of AI-driven vulnerability-scanning agent this memo asserts Telenor is 'already leveraging' in more general terms.
- explicitGoogle built Mantis specifically to address the high false-positive rate and hallucinated vulnerabilities produced by conventional AI-powered code scanning, whose true-positive rate falls under 7%.conf: highextendsProject Glasswing: what Mythos showed us ยท p4 โ Mythos coverage quantifies false-positive rate as dominated by target-language memory safety and model choice; Mantis proposes a harness-engineering answer to the same false-positive problem โ critic/reviewer agents plus sandboxed grounding โ applicable regardless of which underlying model or language is involved.
- explicitMantis achieves its accuracy improvement by combining critic and review agents with sandboxed reproduction of vulnerabilities for grounding, rather than relying solely on the LLM's own judgment.conf: highsupportsUsing AI to write better code more slowly ยท p5 โ Both treat independent, structured multi-stage verification โ sandboxed reproduction here, independent research there โ as the mechanism that makes a false-positive-filtering claim trustworthy rather than an unverified LLM assertion.
- explicitMantis analyzes repository history, previous security fixes, architecture, and threat models before scanning, rather than brute-force scanning files blindly.conf: high
- explicitMantis summarizes analyzed files into a hierarchical directory/repository-level context tree, cutting token usage by 85% while retaining important structural information.conf: high
- explicitMantis is organized as a modular skill suite of 15+ tools (e.g. mantis-summarize, mantis-review, mantis-critic) executable sequentially or in parallel, communicating through shared on-disk state.conf: high
- explicitMantis's guidance recommends pairing lightweight 'flash'/'lite' models with low-depth tasks (rapid classification, deduplication) and reserving heavier frontier models for tasks needing deep contextual understanding (crash reproduction, side-effect-free patch generation).conf: high
- explicitThe mantis-review stage applies a rule-based negative filter to eliminate likely false positives, but Google cautions the filter should be used carefully because an overly broad filter could reduce the system's ability to detect genuine vulnerabilities.conf: highsupportsWhen Guardrails Go Wrong ยท p3 โ Google's own caution about the mantis-review negative filter (avoid over-broad filtering or true positives get lost) is a concrete instance of the general no-binary-classifier-achieves-zero-both-errors trade-off this proposition states abstractly.
- implicitBecause Mantis requires sandboxed reproduction as evidence rather than trusting a critic agent's textual assessment alone, Google treats raw LLM judgment about vulnerabilities as structurally insufficient on its own, not merely as something to be improved with better prompting.conf: mediumsupportsArticle: Multi-Agent AI for Production Security Operations: An A2A and MCP Architecture in a 5G Core ยท p3 โ Both pieces embed the same underlying distrust of raw LLM judgment in a security-agent context: Mantis requires sandboxed-execution evidence rather than trusting a critic agent's text output, just as the reviewer agent there is required to call out to version-controlled deterministic policy rather than reason freely.
- implicitThe division of labor between a strategist agent (high-level structure, threat models, dependency graphs) and research agents (source-level data-flow, control-flow, and sanitization-logic tracing) implies Mantis's architecture deliberately separates broad contextual reasoning from narrow code-level verification, rather than asking one agent to do both.conf: medium
- implicitThe article itself never states any quantified accuracy figure for Mantis's own output (its true-positive or false-positive rate after the review/critic stages) โ only the problem baseline it addresses (<7% true-positive rate for 'conventional' scanning) is quantified.conf: high
Arguments
Mantis's harness-engineering approach โ a multi-agent pipeline combining critic/reviewer agents with sandboxed reproduction for grounding โ is presented as the solution to the false-positive and hallucination problem endemic to AI-powered vulnerability scanning. strength: medium
Explicit premises:
- Conventional AI code scanning produces hallucinated bugs and true-positive rates under 7%.
- Critic and reviewer agents filter out false positives and prioritize meaningful findings.
- Sandboxed reproduction provides evidence that a finding is real rather than relying solely on LLM judgment.
Implicit premises:
- False positives and hallucinations in AI vulnerability scanning are primarily an architecture/engineering problem, solvable by structured multi-stage verification, rather than solely a raw-model-capability problem that only a better base model can fix.
- A negative filter, used cautiously, removes more false positives than true positives โ the article assumes this balance is achievable without stating how it is measured or enforced.
- Structured, multi-stage agentic verification is inherently more reliable than a single LLM call making an end-to-end judgment, even though each stage is still LLM-driven and therefore still fallible.
Inferences:
- Therefore a well-engineered agentic harness can make AI vulnerability scanning practically trustworthy despite the underlying unreliability of any single LLM judgment.
Cost and speed should be optimized by matching model weight-class to task difficulty within the same vulnerability-scanning pipeline, rather than running every stage on the most capable available model. strength: medium
Explicit premises:
- You do not need the heaviest, most advanced frontier models for every stage.
- Rapid classification and deduplication tasks (mantis-researcher, mantis-dedupe) do not require logic depth.
- Crash reproduction (mantis-reproduce) and patch generation (mantis-patch) require deep contextual understanding and zero-shot problem-solving.
Implicit premises:
- Task difficulty within an agentic pipeline can be reliably classified in advance as 'shallow' or 'deep', and this classification generalizes across codebases without per-repo tuning.
- Using a weaker model for a 'shallow' task does not silently degrade quality in ways that only surface downstream, once a stronger model has already trusted the weaker model's output.
Inferences:
- Therefore strategic model-tiering across pipeline stages is a valid, low-risk way to control cost and latency without materially degrading Mantis's overall accuracy.
Questions addressed
- โญ Why do conventional AI-powered vulnerability scanners produce so many false positives and hallucinated findings?
The article asserts this is caused by 'sloppiness in AI code scanning' but does not explain the underlying mechanism (e.g. missing context, no grounding, single-pass LLM judgment) beyond gesturing at what Mantis does differently. - โญ How can an agentic pipeline reduce false positives without also suppressing genuine vulnerabilities?
Google names the mechanism (critic/reviewer agents plus a cautiously-scoped negative filter) but does not explain how the caution is operationalized โ what criteria distinguish a 'cautious' filter from an 'overly broad' one. - โ
How should compute/model resources be allocated across a multi-stage agentic security pipeline?
Resolved at a policy level: use lightweight models for logic-shallow tasks (classification, dedup) and frontier models for logic-deep tasks (reproduction, patching).
Gaps
- incompleteThe article never states any quantified accuracy figure for Mantis's own output โ no measured true-positive rate, false-positive rate, or before/after comparison against the <7% baseline it cites for 'conventional' tools. The only numbers given (the <7% baseline and the 85% token reduction) describe the problem and an efficiency gain, not Mantis's actual detection accuracy.
Read next: extract-project-glasswing-mythos#g1 flags the identical pattern (no quantitative baseline for a security-agent's triage quality) and extract-lawson-ai-write-better-code-slowly#g2 likewise notes a 'near zero false positive rate' claim offered with no numbers โ read both alongside this piece as a recurring evidentiary gap across AI security-agent coverage in this corpus. - incompleteGoogle's caution that the mantis-review negative filter 'should be used cautiously' because an overly broad filter risks suppressing genuine low-risk-looking vulnerabilities is stated as a warning, not a calibration method. No criterion, threshold, or measurement is given for what makes a filter 'cautious enough.'
Read next: extract-when-guardrails-go-wrong#p3 โ 'no binary classification system can simultaneously achieve zero false negatives and zero false positives' โ supplies the theoretical frame this article's caution gestures at but never engages explicitly; extract-when-guardrails-go-wrong#g1 also notes the same absence of data on over-blocking calibration in a different domain (Anthropic's cyber safeguards). - incompleteNo economics are given for running a 15+-tool multi-agent pipeline (strategist, critic, reviewer, multiple research agents, plus sandboxed reproduction) across a large repository โ no token cost, compute cost, or wall-clock time per scan is mentioned, despite the article's separate emphasis on the 85% token-usage reduction achieved by hierarchical summarization (implying cost was already a live concern elsewhere in the design).
Read next: extract-agentic-code-review#g5 flags the identical unpriced-economics gap for a comparable multi-reviewer stack, and extract-netflix-agentic-workflow-causal-inference#g4 raises the same absence for an actor-critic agentic workflow โ read together as a recurring blind spot in agentic-pipeline reporting. - incompleteThe article never addresses who or what validates the critic and reviewer agents themselves โ what happens when a critic agent wrongly clears a real vulnerability as a false positive, or wrongly flags a benign pattern as a vulnerability, and how (or whether) such errors are caught downstream.
Read next: extract-netflix-agentic-workflow-causal-inference#g2 raises the exact same unaddressed question ('who validates the critic agent itself') in a different agentic-pipeline domain โ directly comparable failure mode, unexamined in both pieces. - incompleteNo adversarial-robustness discussion: if attackers or malicious contributors know an agentic scanner with a rule-based negative filter and critic/reviewer stages is in the loop, they could potentially craft code patterns designed to trigger the negative filter and get real vulnerabilities auto-dismissed as false positives, or exploit known model biases in the critic stage.
Read next: extract-project-glasswing-mythos#g3 raises the identical concern (attackers seeding code with patterns that exploit known model biases โ false-negative attractors, hedging triggers) for a comparable LLM-based scanner; unexamined in both.
Related documents
- When Guardrails Go Wrong
- Using AI to write better code more slowly
- A big week for AI denialism
- Agentic AI and Code Reviews
- Podcast: Will Agentic AI Bring Fantasia's Sorcerer's Apprentice to Life?: A Conversation with Tracy Bannon
- Anthropic Details How It Contains Claude Across Web, Code, and Cowork
- Inside Claude Code Auto Mode: Anthropic's Autonomous Coding System with Human Approval Gates
- A harness for every task: dynamic workflows in Claude Code
- The Claude Code active attack didn't stop. 294,842 secrets stolen from 6,943 machines. It evolved and now spreads through Python too and uses Claude Code itself to steal your secrets. The risk to your credentials just got bigger.
- I stopped hitting Claude's usage limits - 10 things I changed