ToFu tests the security boundary between LLM agents and their tools

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

The ToFu framework is designed to uncover security problems at the boundary between language models, orchestration layers, and external tools. An evaluation of 273 MCP servers containing 3,405 tools found verified bugs in 343 tools across 118 servers.

For agents, an orchestration layer turns a language model’s output into structured tool calls. The researchers say that documented meanings and rules for tool inputs may go unenforced in this process. Arguments generated by a model should therefore not automatically be treated as trustworthy.

ToFu derives security checks from existing tool metadata and a sanitizer corpus guided by CWE weakness classes. It specializes checks for individual tools and uses runtime introspection and sanitized outcomes to automatically generate fuzzing harnesses and semantic oracles.

The findings indicate that tools on the servers studied often fail to enforce their documented input semantics. The summary does not give severity ratings or specific impacts for individual bugs. The original paper provides further details on the method and evaluation: arXiv: ToFu

🇬🇧 https://arxiv.org/abs/2610.13651v1

Leave a Comment

The weekly brief: selected developments, projects and videos