Abstract
Large Language Model (LLM) agents are increasingly deployed to automate complex tasks, yet they suffer from a critical security flaw: over-privilege. This vulnerability allows attackers to exploit agents via indirect prompt injection, leading to unauthorized data exfiltration or malicious tool execution. We present Progent, a programmable privilege control framework that enforces the principle of least privilege deterministically. By utilizing a domain-specific language for fine-grained policies and context-aware dynamic updates, Progent reduces attack success rates to 0% across major benchmarks with negligible performance overhead.
Introduction
The rise of autonomous LLM agents has introduced a new attack surface. These agents are typically granted broad access to toolkits—APIs for web searching, file management, and communication—to fulfill user requests. However, because LLMs are probabilistic "black boxes," they can be easily manipulated by malicious instructions embedded in external data (indirect prompt injection). Current security measures often rely on LLM-based detection, which is inherently unreliable. Progent addresses this by moving security logic into a deterministic runtime enforcement layer, ensuring agents only perform actions strictly necessary for the user's original intent.
The Progent Framework
Progent acts as a security proxy between the LLM agent and its environment. Its architecture is built on four pillars:
- Domain-Specific Language (DSL): Progent employs a JSON-based DSL to define fine-grained security policies. These policies specify
alloworforbidactions based on tool arguments, such as restricting email recipients to internal domains. - Deterministic Runtime Enforcement: Unlike probabilistic guardrails, Progent evaluates every tool call against symbolic rules before execution, providing provable security guarantees.
- Dynamic Policy Updates: To handle evolving task contexts, Progent can automatically update its policy set. For instance, if an agent accesses sensitive financial data, Progent can trigger a rule to block all subsequent external data transfers.
- Flexible Fallback Actions: When a tool call is blocked, Progent provides safe feedback to the agent, allowing it to continue the task through non-malicious paths or requesting human intervention.
Context-Aware Security
A key innovation in Progent is its ability to adapt to the agent's state. Traditional static permissions are insufficient for agents that process untrusted data. Progent's dynamic update mechanism ensures that privilege levels are adjusted in real-time based on the information the agent has encountered.
Evaluation and Results
Progent was evaluated against three major benchmarks: AgentDojo (indirect prompt injection), Agent Security Bench (malicious tools), and AgentPoison (knowledge base poisoning).
The results demonstrate the framework's efficacy:
- Security: Manually defined policies reduced the Attack Success Rate (ASR) from 80% to 0% across multiple benchmarks. An automated version, Progent-LLM, achieved an ASR of ~1%.
- Utility: Progent maintains high agent utility. In some scenarios, utility improved under attack because the framework's fallback mechanisms prevented the agent from being derailed by malicious instructions.
- Efficiency: The overhead of policy enforcement is approximately 0.0008 seconds per task, making it practically invisible compared to LLM inference times.
Discussion and Limitations
Progent shifts the focus from attack detection to capability restriction. By enforcing determinism, it bypasses the unpredictability of neural networks. However, challenges remain. Currently, the framework is optimized for text-based tool calls and does not yet support multimodal interactions (e.g., visual GUI navigation). Furthermore, the security of the system depends on the completeness of the defined policies. Future work will explore extending Progent to vision-language models and refining automated policy generation to ensure comprehensive coverage in dynamic threat landscapes.
Conclusion
Progent provides a robust, efficient, and deterministic solution to the over-privilege problem in LLM agents. By integrating fine-grained privilege control into the agent's execution loop, it enables the safe deployment of autonomous systems in sensitive environments.
Summary updated