tainted-mcp
v0.1.3Tainted MCP server — analyze/prove/fix as tools for a coding agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tainted_analyze
Statically analyze a repository for vulnerabilities (read-only). `exclude` is a comma-separated list of demo/fixture/specimen paths to leave unscanned — folders you know hold deliberately-vulnerable sample code, so Tainted does not report specimens as if the running app were vulnerable. Choose them yourself from the repo layout; a bare name (e.g. `fixtures`) excludes that folder anywhere, and a glob (e.g. `tests/*`, `**/demo.py`) is matched against each path.
| Parameter | Type | Description |
|---|---|---|
repo_path * | string | |
exclude | string | |
only | string | |
skip | string |
tainted_prove_start
Start a live exploit run against a RUNNING app you own. Pass the URL explicitly; it must be a human-named, verified-or-local target. `login_a`/`login_b` are two accounts as 'email:password' — the cross-account attacks need them. Do NOT invent credentials or read them out of the code: ask the developer for permission and for the logins first, and pass back exactly what they give you. Called without them, this returns a prompt to do that rather than an error. Returns a job_id to poll.
| Parameter | Type | Description |
|---|---|---|
repo_path * | string | |
url * | string | |
anon_key | string | |
login_a | string | |
login_b | string | |
seed | string |
tainted_prove_status
Poll a prove job's status by job_id.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
tainted_prove_result
Fetch the report of a finished prove job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
tainted_fix
Generate the remediation for a candidate (patch-only; the client applies the edits). Name it with `finding_id` (a candidate's own `id`, straight out of tainted_analyze); `index` is a row number in that same report and goes stale the moment the code does. Tool-plane candidates are architecturally underdetermined: call tainted_fix_interview first and pass the answers back here as {question_key: choice}.
| Parameter | Type | Description |
|---|---|---|
repo_path * | string | |
answers | ||
finding_id | string | |
index | integer |
tainted_fix_interview
The decision-shaped questions a tool-plane fix needs answered before it can be written. Their leaves are the four remediations: scope split, mediation, sink confirmation, provenance tracking.
| Parameter | Type | Description |
|---|---|---|
repo_path * | string | |
finding_id | string | |
index | integer |
tainted_tutorial
How to use Tainted's tools correctly: call order, the index contract, the async prove job, the ownership boundary, the fix interview, and how to report a result without overclaiming. Call with no topic to list topics; pass a topic to read it. Read this before the first tainted_prove_start or tainted_fix of a session.
| Parameter | Type | Description |
|---|---|---|
topic | string |