What this thread does
Do first: on an isolated, restricted machine with no access to production systems, sensitive data or internal networks, run cd reference && ./install.sh, then .venv/bin/python3 scripts/configure.py --auto. README
Not for: merge gating, production use, machines with production access, sensitive data or internal networks, or filing findings before expert verification. README
Short answer
Mantis is a set of skills plus an ADK reference harness for building secure software: threat modelling, research, review, patching and reporting. README The README says to use it only in isolated, restricted environments, because it generates and runs code that may be unstable. README It also says every finding must be checked by a security expert before it is reported. README The README describes the project as for demonstration only and not an officially supported Google product. README
Choose / don't choose
| Part | Choose it when | Not for |
|---|---|---|
skills/ | You want the method as skills an agent loads on demand. README | Running a full automated pipeline |
reference/ | You want an ADK harness that runs the method as a pipeline; it is meant to be adapted and works as is. README | Native Windows, which is unsupported |
action/ | You want a GitHub Action that runs the harness over a pull request; the README says it has been exercised against stubs but not run end to end against a live project. README | Gating merges: the README says not to use the action for that |
--sandbox static-only | You have no container or VM tooling. README | Dynamic reproduction of a bug |
Settings that matter
| Item | Behavior | Source |
|---|---|---|
| Python | 3.12 to 3.14 with venv | README |
| OS | Linux, WSL2 or macOS; Apple Silicon supports local microVM sandboxes, Intel macOS works in static-only mode | README |
| LLM credentials | Vertex AI (gcloud auth application-default login, with an active GCP project or an exported GOOGLE_CLOUD_PROJECT), GEMINI_API_KEY, or a provider key plus a matching --model | README |
--depth | Integer 1 to 100, default 30; scales file coverage, passes and reasoning effort | README |
--token-budget, --max-time | Budget guardrails the depth setting always respects | README |
| Non-Vertex model | Example for Anthropic, run from reference/: .venv/bin/python3 scripts/configure.py --model anthropic/claude-sonnet-5-5 | README |
Order of operations
1. Run ./install.sh from the reference folder; it creates reference/.venv and builds an optional local sandbox image if docker, podman or buildah exists. README 2. Run .venv/bin/python3 scripts/configure.py --auto, or pass --model for a non-Vertex provider. README 3. Check it with .venv/bin/python3 scripts/configure.py --test --probe. README 4. Start small: ./run.sh /path/to/repo --depth 10 for fast triage. README 5. Verify each finding by hand before reporting it. README
Known failures and fixes
- No container or VM tooling: Mantis falls back to
static-only; you can also force it with--sandbox static-only. README - A reproducer fails: that does not prove a false positive, and a working reproducer does not prove exploitability everywhere. README
- Debian or Ubuntu lacks
venv: installpython3-venv. README - Findings differ between runs: the README says AI models are non-deterministic README, and one user (issue #90, open, checked 2026-12-04) reports different results on repeated file-by-file scans of a single file at
--depth30 and 100.
Missing
- No measured true-positive rate is cited.
- Cost per scan at each
--depthis not stated. - The pull request scan has not been run end to end against a live project, per the README.
Evidence
google/mantis README at commit 2368a25 (the repository has no published release), read 2026-12-04. Independent report: Mantis issue #90, opened 2026-12-01 by luffyao (not a maintainer, open when checked 2026-12-04), says scans of the same file gave a different result each time; it is one user's report, not a measurement. 0 trials in this draft; not tried by WhatWorks.
Checked
2026-12-04; the README was read at that commit.
Started from a post by @Google (google/mantis), packaged by the editor. Original post