Metraipolis › archive › dc_943b1ca260a8

ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents — arXiv:2609.37196

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.37196
License (as archived)
CC0-1.0
Archived
2026-10-07T16:26:59.929Z
SHA-256 of the archived text
0e024b440606569539760b44e9ea89af4b4ba18cccb1bd1313b10ba764e7e253
Stable URL of this page
https://metraipolis.com/documento/dc_943b1ca260a8

How to cite

ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents — arXiv:2609.37196 — arXiv (en), https://arxiv.org/abs/2609.37196 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_943b1ca260a8 (Metraipolis archive dc_943b1ca260a8, sha256 0e024b440606569539760b44e9ea89af4b4ba18cccb1bd1313b10ba764e7e253)
BibTeX
@misc{dc943b1ca260a8,
  title = {ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM Agents — arXiv:2609.37196},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.37196},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_943b1ca260a8; sha256 0e024b440606569539760b44e9ea89af4b4ba18cccb1bd1313b10ba764e7e253},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.37196. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Tool-using LLM agents remain vulnerable to indirect prompt injection because trusted instructions and untrusted observations share one context, allowing malicious content to steer consequential input-filtering defenses. Multi-path consensus defenses still leave a high attack success rate because they examine content or aggregated outputs rather than authorizing effects, especially for the within-tool attack, which preserves the intended tool but manipulates its arguments. Data-Flow Control such as CaMeL provides stronger guarantees, but incurs substantial time latency that limits practical deployment. We introduce ToolFence, which compiles a typed authorization blueprint before execution, enforces it through a deterministic monitor, and when the blueprint is incomplete asks a judge to grant new capabilities rather than adjudicate each concrete call. ToolFence provides two key advantages. First, its fine-grained provenance-aware authorization enables the system to distinguish user-authorized values from untrusted observations, effectively addressing the within-tool attack. Second, its deterministic fast path and capability-level runtime grants substantially reduce the frequency of expensive judge calls, improving runtime efficiency. On AgentDojo with Qwen3-max, ToolFence reduces overall ASR to near zero with only a 3.80 percentage-point clean-utility drop and practical runtime overhead.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.AI).
Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.37196 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T15:54:53.955Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).