mantis-pipeline

Solid

The master Mantis playbook -- how to run an authorized vulnerability-discovery engagement end to end, which subagent owns each stage, which MCP tool feeds it, and how findings move through the tool-owned lifecycle

Data & Documents 468 stars 72 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 79/100

Stars 20%
89
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Mantis runs a staged detect-then-validate pipeline. The core bet: detection is commodity, **validation precision is the product** -- "what survives attacker-simulation is real." Detect is generous (high recall, no self-censoring); Validate is ruthless (kill false positives with cited roadblocks). Establish scope and authorization FIRST. Work only on targets the user owns or is explicitly authorized to test. If authorization for active/exploit testing is unclear, restrict the run to read-only static analysis until scope is established. Never do destructive, persistence, exfiltration, DoS, or stealth actions. Pipeline, stage -> subagent (`spawn_agent` agent_type) -> tools: 1. Recon -> `recon` -> program-analysis (`source_sink_scan`, `ast_grep_scan`), read code. Output: ranked attack-surface map. 2. Context/Enrich -> `context-enrich` -> program-analysis, code retrieval. Output: per-sink context + reachability pre-classification. 3. Detect -> `detector` -> `semgrep_scan`, `codeql_analyze`, `osv_scan`, `trufflehog_scan`, `bandit_scan`, `trivy_scan` + LLM reasoning for classes scanners miss (IDOR, authz, logic, SSRF, deserialization, SSTI). Registers `candidate`s via `finding_create`. Do NOT self-censor here. 4. Reachability -> `reachability` -> `smt_check_reachability` (z3), taint tracing. `unsat` -> reject with the unsat as roadblock. 5. Validate -> `validator` -> attacker-simulation. Confirms (`finding_update` to `confirmed`, needs reachability evidence) or rejects (needs a s...

Details

Author
deonmenezes
Repository
deonmenezes/mantishack
Created
3 months ago
Last Updated
1 weeks ago
Language
Rust
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

program-analysis

Use ast_grep_scan, source_sink_scan, and smt_check_reachability (mantis_program_analysis MCP server) to move a candidate toward a proven-reachable finding

468 Updated 1 weeks ago
deonmenezes
AI & Automation Solid

findings-spine

Record and advance every vulnerability finding through the tool-owned mantis_findings service instead of tracking findings in prose

468 Updated 1 weeks ago
deonmenezes
Data & Documents Listed

vantage

Autonomous, artifact-driven SAST (Static Application Security Testing) for web AND mobile app repositories, plus optional code-level remediation. Use whenever the user asks to security-review, pentest, audit, or scan a codebase for vulnerabilities — web (SQLi, XSS, IDOR/BOLA, auth bypass, SSRF, XXE, hardcoded secrets, vulnerable dependencies, business logic flaws) or mobile/Android/iOS (OWASP Mobile Top 10 2024: improper credential usage, insecure data storage, insecure communication, insufficient cryptography, etc.) — via static code analysis, never by running the app, installing it, or sending requests. Also use when the user asks to fix, patch, or remediate a finding this framework produced, or to check a single commit/PR/MR for newly introduced vulnerabilities without a full repo scan. Drives a 6-phase scan pipeline (recon, mapping, testing, validation, PoC, reporting) through the vantage plugin's specialized subagents, branching on platform, plus a separate on-demand fix step and a fast incremental commi

4 Updated 1 weeks ago
tinoimammp