Google Open-Sources Mantis: A Modular Skills Toolkit That Lets Coding Agents Find, Reproduce and Patch Vulnerabilities
Google has open-sourced Mantis, a stack-agnostic toolkit of safety evaluation expertise that lets an AI coding agent run the entire vulnerability lifecycle. It finds a suspected flaw, strips the false positives, reproduces the bug inside a sandbox, writes a minimal patch, re-attacks that patch, and scores the residual danger.
Mantis is just not a scanner you goal at a repository and stroll away from. It is a set of slash instructions your current coding agent masses, plus a strict algorithm about the place that agent is allowed to execute code.
Is it deployable? Yes for native and inside analysis, not but for manufacturing. You can clone it in the present day and run it with Gemini CLI, Antigravity CLI, the Google ADK, or any comparable agent framework.
The pipeline
Mantis publishes every stage as a separate ability listing, invoked as a slash command and chained sequentially. A supervisor ability, /mantis-meta-agent, can drive the entire loop in a long-lived session.
The early levels study the goal: /mantis-history mines model management historical past for previous safety fixes, /mantis-summarize writes the listing maps, /mantis-architecture builds a Markdown data base, /mantis-threat-model derives belief boundaries, and /mantis-plan produces a focused roadmap.
The center levels discover and filter: /mantis-researcher sweeps information towards the plan, then /mantis-dedupe, /mantis-review and /mantis-critic collapse duplicates, apply adverse guidelines, and drop points that can’t happen in a launch construct.
The late levels show and repair: /mantis-reproduce executes payloads in gVisor or a VM with networking disabled, /mantis-chain assembles multi-step exploit chains from individually confirmed findings, /mantis-patch applies and verifies the repair, /mantis-calibrate assigns a danger rating from 1 to 10, /mantis-reflect writes learnings again for the subsequent move, and /mantis-report produces the human-readable evaluation packet.
A newer ability, /mantis-advise, inverts the movement. It queries the accrued menace mannequin, previous bug lineages and verified patch patterns earlier than you write code, so the identical class of bug doesn’t land twice.
But why?
Most agentic safety tooling stops at producing findings. Mantis is attention-grabbing as a result of it treats the reproducer and the re-attack because the belief boundary, and as a result of it publishes the inter-stage contracts so groups can wrap the abilities in a deterministic harness as a substitute of trusting an LLM to orchestrate shell instructions.
Key Takeaways
- Mantis is a modular expertise toolkit for coding brokers, not a standalone scanner or a supported Google product.
- Its differentiator is grounding: sandboxed copy and patch re-attack, not mannequin confidence.
- A hierarchical abstract tree cuts token overhead by over 85 p.c, per Google.
- Google cites sub-7 p.c true-positive charges for naive AI code scanning as the issue Mantis targets.
- Deployable domestically underneath Apache 2.0 however not advisable but for manufacturing.
Check out the google/mantis on GitHub, Agent Reference Guide, Cloud CISO Perspectives, and Getting started with Mantis. Also, be at liberty to comply with us on Twitter and don’t overlook to hitch our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
Need to associate with us for selling your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar and many others.? Connect with us
The publish Google Open-Sources Mantis: A Modular Skills Toolkit That Lets Coding Agents Find, Reproduce and Patch Vulnerabilities appeared first on MarkTechPost.
