MCP proxy checks whether AI tool calls serve the user's task
In an arXiv preprint, Ridwan Amure and Precious Sanni describe SemFW, a Model Context Protocol proxy that checks whether an AI agent's tool calls fit the user's task and routes flagged high-risk calls to a human for approval. On a fixed test corpus, the proxy blocked all tested attempts to exceed tool or resource permissions. For misuse within those permissions, the authors report that their model-based check reduced attack success from 100% to at most 4.2% while allowing 85.3% to 88.2% of benign calls. The authors have yet to test whether agents can complete legitimate tasks under the proposed authorization system.
Why it matters
Task-level checks could add a defensive layer for agents that already have permission to use sensitive tools. The benign-call results show that some legitimate calls were blocked in testing.
Sources
- Gemini API previews mid-conversation instruction and tool updates
- GitHub shows Copilot review activity in the pull request Overview preview
- GitHub Copilot previews dependency vulnerability and license scans
- GitHub Copilot adds 17 connectors in public preview
- PinPoint improves image segmentation with five point prompts