Portable skills plus an ADK reference harness let coding agents threat-model, scan, reproduce, and patch issues across many stacks. Intended only for isolated, restricted environments.
Overview
Mantis is a modular toolkit meant for AI coding agents that autonomously find, reproduce, and patch security vulnerabilities. It combines on-demand agent skills—from threat modeling through research, review, patching, and reporting—with a reference ADK harness that runs the workflow as a pipeline. A GitHub Action can run the harness over pull requests, though upstream notes that path is not fully verified end-to-end on live projects.
A typical run builds a semantic tree-sitter index across many languages, ingests repository documentation as intent context, generates a threat model, forms research hypotheses, executes scans, deduplicates and triages findings, and may reproduce issues statically or in sandboxes when container tooling is available. Results land in a local knowledge database with optional SARIF export, and MCP integration supports change gating during development.
Operators install via a provided script on Linux, WSL2, or macOS, configure LLM credentials from several providers, and invoke scans with configurable depth, budgets, and sandbox modes. Google’s disclaimer positions the project as demonstration software, not production-ready, and urges manual verification of all AI-generated findings.
Key features
- On-demand security agent skills
- ADK reference scan pipeline
- Tree-sitter multi-language indexing
- Threat model generation
- Finding reproduction sandboxes
- SARIF and knowledge DB output
- MCP sidecar for live checks
- Pull request GitHub Action (experimental)
Use cases
- Deep security audits of repositories
- Dev-time diff gating via MCP
- Custom objective-driven security graphs
- Multi-stack firmware and smart contract review
- Learning agentic security workflows