ClawLess: A Security Model of AI Agents
Organizations: Research Institute of Trustworthy Autonomous Systems, Southern University of Science and Technology, China · Department of Computer Science and Engineering, Southern University of Science and Technology · Department of Computer Science and Engineering, Hong Kong University of Science and Technology · Department of Computer Science and Engineering, Southern University of Science and Technology, China ·
Abstract
Autonomous AI agents powered by Large Language Models can reason, plan, and execute complex tasks, but their ability to autonomously retrieve information and run code introduces significant security risks. Existing approaches attempt to regulate agent behavior through training or prompting, which does not offer fundamental security guarantees. We present ClawLess, a security framework that enforces formally verified policies on AI agents under a worst-case threat model where the agent itself may be adversarial. ClawLess formalizes a fine-grained security model over system entities, trust scopes, and permissions to express dynamic policies that adapt to agents' runtime behavior. These policies are translated into concrete security rules and enforced through a user-space kernel augmented with BPF-based syscall interception. This approach bridges the formal security model with practical enforcement, ensuring security regardless of the agent's internal design.
Figures & tables
| Type | Example | HW | Indep. Kernel | Compatibility 1 1 footnotemark: 1 | Interoperability 2 2 footnotemark: 2 | Deployability 3 3 footnotemark: 3 | Security |
| Standard Container | Docker | No | No | High | High | High | Low |
| User-space Kernel | gVisor | No | Nested | High | High | High | High |
| Virtualization | Kata Container | VM | VM | High | Medium | Low | High |
| Confidential Container | CoCo | TEE | VM | Low | Low | Low | Highest |
| File | Directory | Process | Socket | Device | |
| Read | Read | List | IPC primitives | Receive | Device dependent |
| Write | Write | Create Delete | Send | ||
| Append | Append | Create only | / | / | |
| NoExec | No Exec. | / | No Fork | / | |
| Visible | View/reference the entity | ||||
| Read | Write | Append | NoExec | Visible | |
| File | read/mmap/sendfile/… | write/mmap/sendfile/… | lseek/open/… | execve | stat |
| Directory | getdents | mkdir/rmdir/creat/… | mkdir/creat/… | / | |
| Socket | recvfrom/recvmsg/… | sendto/sendmsg/… | / | / | |
| Device | ioctl/iopc/… | / | |||
| Process | semget/semop/semctl/… | clone/fork | proc fs | ||
AI Agent Security
Artificial intelligence agent security studies attacks and safeguards for tool-using, persistent, and collaborative systems across digital and physical settings.
See all 503 papers