Docs › Arena and rules › Security note and threat model
Security note and threat model
Kprobe decides what an agent's process tree may open and where it may connect. It is built for one failure: a model that was convinced by text it read.
What it stops
- Reads of protected files by any process in the tree, whatever the path spelling, link or working directory.
- Connections from the tree to any address outside the allowlist, over TCP or UDP, IPv4 or IPv6.
- DNS queries to any resolver but the system one.
What it does not stop
- Exfiltration through an allowed host. If the policy allows a code host, an agent can push a secret it already holds to a repository there. Keep allowlists short and keep secrets out of the agent's environment variables, which Kprobe does not filter.
- A secret the agent was given in its prompt or its environment.
- Processes outside the tree. Kprobe scopes everything to the agent's cgroup.
- Root inside the tree. Run the agent as an unprivileged user; the seccomp backend also sets no_new_privs, so sudo inside the tree fails.
Backend notes
The seccomp backend reads the path from the agent's memory before it answers. A multi-threaded process could change that memory between the check and the open; the inode check after resolution narrows this, and the kernel backends do not have the race. The ksyscall backend matches the path string at entry; the security_file_open inode check kills an opener that reached a protected inode by another name.
Report a bypass to security@kprobe.xyz.
