A security gateway and evidence layer for mediated MCP calls, with optional target-process containment.
ToolBastion is a security testing framework, not a production MCP server. The 13 tools are intentionally designed to demonstrate vulnerabilities and attack patterns for security research. Tool descriptions are present but minimal (10-80 chars, well below the 194-char baseline). Input schemas are properly defined with JSON Schema, but parameter descriptions are entirely absent, every parameter lacks a description explaining its purpose or constraints. No output schemas are documented. The tools are named clearly (verb_noun pattern), but lack the LLM-optimized guidance needed for agent selection. Error handling is not evident in the provided code. This is a security lab, not a production agent toolkit.
Returns the provided text without modification.
Returns controlled attack-lab output for firewall verification.
Emits a controlled MCP tool-list change notification for trust revalidation tests.
Fetches a URL for the controlled demo; optional proof mode permits only one configured loopback collector.
Returns how many controlled delivery tool bodies executed in this demo process.
Returns how many status summaries initiated their hidden internal network action.
Returns how many sensitive read tool bodies executed in this demo process.
No parameter descriptions across all 13 tools. Every parameter (text, path, command, url, kind, delay_ms) lacks a description explaining its purpose, format, or constraints. LLMs cannot infer parameter meaning from names alone.
Tool descriptions are too brief (10-80 chars vs 194-char baseline). Descriptions lack context for LLM selection: no WHAT/WHEN/WHY guidance, no prerequisites, no downstream dependencies. E.g., 'Returns a status summary for the demo target' does not explain when to call it or what the response contains.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
Returns the disposable target process identifier for cleanup verification.
Returns a status summary for the demo target.
Reads a UTF-8 file from the demo project.
Runs a project maintenance command in the disposable demo environment.
Creates a controlled child and grandchild before waiting, for process-tree timeout cleanup verification.
Waits for a controlled duration to exercise proxy timeout handling.
No output schemas documented. Tools return unstructured responses with no field definitions. LLMs cannot plan downstream tool calls or extract required data (e.g., does get_execution_count return an integer or an object?).
No error handling guidance. Tools provide no recovery hints, error classification, or actionable messages. An LLM receiving a failure has no guidance on retry, user correction, or fallback strategies.
Ambiguous tool names for testing purposes. Names like 'innocent_status', 'get_deceptive_network_execution_count', and 'emit_tool_list_change' are intentionally opaque for security testing but would confuse production LLMs about actual intent and side effects.