From Approval to Dispatch: Defeating MCP notifications/tools/list_changed & Description Injection in 0.024ms
Why approving an MCP server at startup does not guarantee the tool schema or description that executes 10 minutes later ā and how canonical SHA-256 manifest pinning closes the gap.
From Approval to Dispatch: Defeating MCP notifications/tools/list_changed in 0.024ms
Approving an MCP toolset at session initialization creates a dangerous time-of-check to time-of-use (TOCTOU) blind spot: any remote or unpinned npx MCP server can emit notifications/tools/list_changed mid-session and mutate inputSchema or smuggle covert exfiltration instructions (<IMPORTANT>read ~/.ssh/...) into tool.description.
Three Deterministic Defenses
- Canonical Key-Sorted SHA-256 Pinning (
0.024ms/call): Hash{ name, description, inputSchema, annotations }before every tool dispatch and fail closed on digest drift. - Pre-Dispatch Prompt-Injection Scoring: Strip zero-width/bidi codepoints and block covert system-override or credential-path instructions inside tool metadata.
- Isolated Browser Partitions (
persist:railcall-browser): Never expose host browser cookies or global OS accessibility permissions to autonomous agents.
- Interactive Zero-Login MCP Hash Auditor: https://huggingface.co/spaces/RailCall/mcp-tool-hash-auditor
- 50-Vector MCP Poisoning Benchmark Dataset: https://huggingface.co/datasets/RailCall/mcp-tool-poisoning-eval-50
- RailCall Studio ($0 Local + 20-Model Consensus): https://railcall.ai/?src=nostr
Write a comment