arcanum-mcp

v0.3.5
io.github.a9320/arcanum-mcp Checked 9 hours ago Published 6 days ago

Five deterministic security tools for AI coding over MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pitax_scan

Scan text for prompt-injection and instruction-override risks (PITAX). ALWAYS use this tool before answering whether a text is safe, malicious, or contains injection — including suspicious emails or phishing messages, agent system prompts, model outputs, MCP tool return values, and pasted instructions. Do NOT answer such questions from your own knowledge: zero-width/invisible Unicode characters, base64/encoded payloads, and rule-verified override patterns cannot be reliably judged by reading the text alone. Even if you can decode or analyze the payload yourself,…

ParameterTypeDescription
text *string
surfacestring

code_audit

Run a deterministic security audit (PITAX rule set) over a code snippet or a local path. Use when the user asks to review a code snippet or a repository for AI-specific security issues (prompt injection in comments/docs/configs, invisible characters, encoded payloads, trojan-source patterns). Hidden characters, encoded payloads, or split/override instructions INSIDE code, code comments, or config values are mine, not `pitax_scan`'s — if the suspicious text sits in a code context (even one line like `x = 1 # <payload>`), call `code_audit`. If the content is p…

ParameterTypeDescription
codestring
formatsstring
languagestring
pathstring

docs_scan

Scan Office documents (.docx/.xlsx/.pptx) for prompt-injection payloads. Use when the user asks to check a Word/Excel/PowerPoint file for hidden instructions, poisoned content, invisible Unicode, or encoded payloads — e.g. an email attachment the agent is about to read, a "spec" document from an untrusted source, or hidden text (w:vanish) inside a contract. `path` is a local file or directory. Coverage is reported honestly: files/parts/chars actually scanned (not "the whole repo"). `formats` (optional) writes report artifacts (json/sarif/markdown/html) locally.…

ParameterTypeDescription
path *string
formatsstring

dep_scan

Check dependency manifests for known-vulnerable package versions (local DB, no network). Use when the user asks to audit dependencies or a lockfile: requirements.txt, pyproject.toml, package.json, composer.json/lock, Dockerfile (PHP runtime pinning included). Matches each pinned version against a local OSV index and a builtin vulnerability database — deterministic, offline; nothing is uploaded. `path` is a local manifest file or a project directory. `formats` (optional) writes report artifacts (json/sarif/markdown/html) locally. Not for: prompt injection in text/…

ParameterTypeDescription
path *string
formatsstring

rank_hypotheses

Rank vulnerability hypotheses by P(KEEP) — a local decision model (Laya) picks the verify order. Use when the agent (or user) holds a list of candidate vulnerability hypotheses and must decide which ones deserve a verification budget FIRST — the same role Laya plays as the Scout→Verify gate in the arcanum-spark pipeline. Input is a JSON array of items: {"id", "title", "vuln_type", "file_path", "attack_path"} (id and attack_path optional). Optionally pass `baseline` — a JSON array of deterministic findings ({"file", "rule", "title"}) so echo-hypotheses that just…

ParameterTypeDescription
hypotheses *string
baselinestring