Towards Verifiably Safe Tool Use for LLM Agents

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Doshi, Aarya, Hong, Yining, Xu, Congying, Kang, Eunsuk, Kapravelos, Alexandros, Kästner, Christian
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909988562141184
author Doshi, Aarya
Hong, Yining
Xu, Congying
Kang, Eunsuk
Kapravelos, Alexandros
Kästner, Christian
author_facet Doshi, Aarya
Hong, Yining
Xu, Congying
Kang, Eunsuk
Kapravelos, Alexandros
Kästner, Christian
contents Large language model (LLM)-based AI agents extend LLM capabilities by enabling access to tools such as data sources, APIs, search engines, code sandboxes, and even other agents. While this empowers agents to perform complex tasks, LLMs may invoke unintended tool interactions and introduce risks, such as leaking sensitive data or overwriting critical records, which are unacceptable in enterprise contexts. Current approaches to mitigate these risks, such as model-based safeguards, enhance agents' reliability but cannot guarantee system safety. Methods like information flow control (IFC) and temporal constraints aim to provide guarantees but often require extensive human annotation. We propose a process that starts with applying System-Theoretic Process Analysis (STPA) to identify hazards in agent workflows, derive safety requirements, and formalize them as enforceable specifications on data flows and tool sequences. To enable this, we introduce a capability-enhanced Model Context Protocol (MCP) framework that requires structured labels on capabilities, confidentiality, and trust level. Together, these contributions aim to shift LLM-based agent safety from ad hoc reliability fixes to proactive guardrails with formal guarantees, while reducing dependence on user confirmation and making autonomy a deliberate design choice.
format Preprint
id arxiv_https___arxiv_org_abs_2601_08012
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards Verifiably Safe Tool Use for LLM Agents
Doshi, Aarya
Hong, Yining
Xu, Congying
Kang, Eunsuk
Kapravelos, Alexandros
Kästner, Christian
Software Engineering
Large language model (LLM)-based AI agents extend LLM capabilities by enabling access to tools such as data sources, APIs, search engines, code sandboxes, and even other agents. While this empowers agents to perform complex tasks, LLMs may invoke unintended tool interactions and introduce risks, such as leaking sensitive data or overwriting critical records, which are unacceptable in enterprise contexts. Current approaches to mitigate these risks, such as model-based safeguards, enhance agents' reliability but cannot guarantee system safety. Methods like information flow control (IFC) and temporal constraints aim to provide guarantees but often require extensive human annotation. We propose a process that starts with applying System-Theoretic Process Analysis (STPA) to identify hazards in agent workflows, derive safety requirements, and formalize them as enforceable specifications on data flows and tool sequences. To enable this, we introduce a capability-enhanced Model Context Protocol (MCP) framework that requires structured labels on capabilities, confidentiality, and trust level. Together, these contributions aim to shift LLM-based agent safety from ad hoc reliability fixes to proactive guardrails with formal guarantees, while reducing dependence on user confirmation and making autonomy a deliberate design choice.
title Towards Verifiably Safe Tool Use for LLM Agents
topic Software Engineering
url https://arxiv.org/abs/2601.08012