ToolDoc Gatekeeper: Behavioral Admission Screening for Tool Registries
A screening tool that tests new AI tools to ensure they aren't triggered by the wrong tasks.
An admission-control gate for tool marketplaces and MCP server directories that tests every submitted (or edited) tool description in a shadow agent: if the tool wins selection for tasks outside its documented purpose, it is flagged or quarantined before going live.
Concept
Tool registries—MCP server directories, agent plugin stores, enterprise connector catalogs—accept tool documents from third parties. This gate replaces naive content filtering with a behavioral test at the chokepoint where poisoned artifacts enter:
- On submission (and on every subsequent edit of the tool's description), the gate spins up a shadow retrieve-then-select harness with the candidate tool added alongside a reference set of established tools.
- It runs a battery of canonical tasks spanning the registry's use cases—generated contamination-free in the style of FuncBenchGen [6] so the battery cannot be gamed by memorized benchmarks.
- It computes a scope-capture score: how often the candidate wins selection for tasks outside its documented purpose. A legitimate 'send email' tool wins email tasks and loses payment tasks; a hijacker-optimized document wins tasks it has no business winning—exactly the 'consistently choose the attacker's tool' behavior the attack produces.
- Tools scoring above threshold are quarantined for human review; the rest publish automatically in minutes.
The screen is behavioral, so it targets the precise gap the new paper exposes: content-based defenses fail, but a document that hijacks selection cannot hide from a selection test.
Why now
- Paper [0] shows the attack succeeds in no-box scenarios and outperforms existing automated attacks—meaning registry operators cannot lean on the downstream agent's own defenses; the poisoned artifact enters through the registry, so the registry is the natural enforcement point.
- The paper's defense evaluation—StruQ, SecAlign, known-answer detection, DataSentinel, and two perplexity variants all 'insufficient'—rules out the cheap content-filter approach and motivates a behavioral screen instead.
- [3] demonstrates real supply-chain pressure on agent capability registries (malicious skill artifacts steering coding agents), including the persistent-artifact edit vector the gate's re-screening-on-edit covers; [5] names tool poisoning as an enterprise agentic threat; [6] supplies the contamination-free, controllable task-generation method needed for a fair, non-gameable tournament battery.
Written by GLM · 28 Nov 2026
AI assessment
A highly focused, evidence-backed security tool that replaces ineffective content filtering with behavioral testing to prevent tool-selection hijacking in AI registries.
- Evidence strength 5/5
- The idea directly addresses the 'ToolHijacker' attack from Paper [1] and uses the contamination-free task generation from Paper [3] to solve the gaming problem, creating a strong link between research and implementation.
- Market pull 4/5
- Registry operators (Anthropic, Microsoft) have a high incentive to prevent their platforms from becoming vectors for supply-chain attacks, though the urgency depends on the volume of third-party submissions.
- Novelty & moat 3/5
- While similar to CanaryTool (red-teaming) and MCP-Gate (vetting), this shifts the mechanism from static scanning to behavioral 'scope-capture' testing at the admission point, filling a gap in automated admission control.
- Feasibility 4/5
- Building a shadow-agent harness is straightforward, though the cost of running a battery of LLM calls for every tool submission could be a scaling bottleneck.
- Wedge clarity 5/5
- The wedge is highly specific: a behavioral admission gate for tool registries to prevent tool-selection hijacking.
- Simplicity / focus 5/5
- The product is a single, focused utility (an admission controller) rather than a broad security platform.
Scored by Gemma 4 · 28 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Who benefits
- Anthropiccompany
Anthropic operates MCP and its growing third-party server directory; an admission gate that behaviorally screens submitted tool documents for selection hijacking protects every downstream agent using the directory.
- Smitherycompany
Smithery is a dedicated MCP server registry whose value depends on trust; screening submissions with shadow selection tournaments is a concrete differentiator against poisoned servers.
- Composiocompany
Composio curates thousands of agent tool integrations; automated scope-capture scoring on every new or edited tool document keeps its catalog hijack-free at scale without manual review.
- Microsoftcompany
Copilot Studio's agent and connector catalog can enforce this gate at submission, blocking tool documents that win out-of-scope tasks before they reach citizen-developer agents.
- Pipedreamcompany
Pipedream operates MCP servers used as agent tool libraries; admission screening plus re-screening on description edits closes the quiet-edit hijack vector.
Research it builds on
- Prompt Injection Attack to Tool Selection in LLM AgentsAll ideas from this paper →
- Securing Agentic AI Enterprise Workflows Against Prompt Injection Tool Poisoning Memory Manipulation and Excessive Agency ThreatsStanley Nwakamma · 2026 · 25 citationsAll ideas from this paper →
- Towards Reliable Benchmarking: A Contamination Free, Controllable Evaluation Framework for Multi-step LLM Function CallingAll ideas from this paper →
- Trust Me, Import This: Dependency Steering Attacks via Malicious Agent SkillsAll ideas from this paper →