program-analysis
SolidUse ast_grep_scan, source_sink_scan, and smt_check_reachability (mantis_program_analysis MCP server) to move a candidate toward a proven-reachable finding
AI & Automation 466 stars
73 forks Updated 1 weeks ago Apache-2.0
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
The `mantis_program_analysis` MCP server is the program-analysis substrate (PRD FR-3.1/3.2/3.3): it doesn't find vulnerabilities by itself, it gives you the primitives to prove or disprove reachability for candidates surfaced elsewhere (semgrep, CodeQL, manual reading).
Three tools, three different jobs:
- **`source_sink_scan`**: fast, dependency-free regex proxy for attacker-controlled-input sources (`req.query`, `request.args`, `os.Args`, ...) and dangerous sinks (`eval`, `exec`, `innerHTML`, `pickle.loads`, ...) across JS/TS, Python, Go, and Java. This is a **recall** tool, not proof -- it will surface sources and sinks in the same file or project without knowing if they're actually connected. Use it to cheaply widen your candidate list early in Recon/Detect, then manually trace whether a specific source really flows to a specific sink.
- **`ast_grep_scan`**: precise structural search when you need to find every call site of a specific pattern (e.g. `exec($CMD, $CB)`) with real AST semantics instead of regex guessing. Use this to enumerate all call sites of a sink once you've picked a vulnerability class to chase, or to confirm a source-sink pair you suspect from `source_sink_scan` actually appears in the same statement/scope.
- **`smt_check_reachability`**: once you've traced a concrete path from source to sink and can express the path condition (e.g. "sink fires when `cmd` is attacker-controlled and no allowlist check occurred on that branch") as SMT-LIB2 constraints, ...
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
Data & Documents Solid
mantis-pipeline
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
466 Updated 1 weeks ago
deonmenezes AI & Automation Listed
semgrep-triage
Run semgrep via the mantis_semgrep MCP server and triage results into the candidate/confirmed/rejected lifecycle
466 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
466 Updated 1 weeks ago
deonmenezes