CRAIDec 11, 2025

MiniScope: A Least Privilege Framework for Authorizing Tool Calling Agents

arXiv:2512.11147v111 citations
Originality Highly original
AI Analysis

This addresses security vulnerabilities for users of LLM-based agents in sensitive applications, representing a novel method for a known bottleneck.

The paper tackles the security risks of tool calling agents in LLMs by introducing MiniScope, a framework that automatically enforces least privilege principles to confine potential damage from unreliable LLMs, resulting in only 1-6% latency overhead and outperforming baselines in minimizing permissions and costs.

Tool calling agents are an emerging paradigm in LLM deployment, with major platforms such as ChatGPT, Claude, and Gemini adding connectors and autonomous capabilities. However, the inherent unreliability of LLMs introduces fundamental security risks when these agents operate over sensitive user services. Prior approaches either rely on manually written policies that require security expertise, or place LLMs in the confinement loop, which lacks rigorous security guarantees. We present MiniScope, a framework that enables tool calling agents to operate on user accounts while confining potential damage from unreliable LLMs. MiniScope introduces a novel way to automatically and rigorously enforce least privilege principles by reconstructing permission hierarchies that reflect relationships among tool calls and combining them with a mobile-style permission model to balance security and ease of use. To evaluate MiniScope, we create a synthetic dataset derived from ten popular real-world applications, capturing the complexity of realistic agentic tasks beyond existing simplified benchmarks. Our evaluation shows that MiniScope incurs only 1-6% latency overhead compared to vanilla tool calling agents, while significantly outperforming the LLM based baseline in minimizing permissions as well as computational and operational costs.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes