Your agent can read the attack. It cannot run it.
curl -fsSL kprobe.xyz/install.sh | shSecrets the agent cannot open, whatever it was told
One policy file per agent. Kprobe follows the agent's whole process tree through its cgroup and refuses every open of a protected path in the kernel, before a single byte is read. Learn more →
Paths, names and inodes
Protect a directory, a file name anywhere on disk, or an inode. Symlinks and hard links resolve to the same answer.
Enforced below the agent
The verdict comes from ksyscall and LSM hooks, or seccomp on microVM kernels. A prompt can change the model, not the kernel.
One YAML file
deny_read, egress_allow, kill_on. Lint it with kprobe policy lint, commit it next to the agent's config.
ksyscall/openatkprobe/security_file_openlsm/file_openseccomp user-notifyOnly the model API and the registries you allow
cgroup/connect and cgroup/sendmsg programs sit on the agent's own cgroup. Every socket it opens is checked against the allowlist in the kernel. DNS leaves through one resolver, so it cannot be used as a tunnel.
Learn more →Hosts, CIDRs and IPv6
Names resolve when the run starts; addresses land in an LPM trie map.
Every connect on the timeline
Allowed and denied, with the process that asked and the rule that answered.
cgroup/connect4connect6sendmsg4sendmsg6A secret read followed by a new host ends the whole tree
Sequence rules watch the order of events. When a denied secret read is followed by a connect to a host the policy never allowed, Kprobe writes to cgroup.kill and every process the agent started ends at once.
Learn more →The packet never leaves
The connect is refused in the kernel first. The kill only ends the run.
Children included
Background jobs, subshells and detached processes share the cgroup and go with it.
KP-0007 secret-then-egresscgroup.killEvery file, exec and socket your agent touched, in order
The timeline is JSON lines from a BPF ring buffer: one event per syscall that matters, with the hook, the process and the rule. Pipe it, store it, or read it with kprobe watch. Learn more →
JSON lines
Stable fields: t, ev, pid, comm, path or addr, verdict, rule, hook. Easy to grep, easy to ship.
kprobe watch
A colour terminal view of any run log, live with -f. Blocks in vermilion.
Audit mode
Run with --audit to see what a policy would deny on a real workload before you enforce it.
evverdictrulehookPut the agent in a pipeline. Fail the job when a rule fires.
GitHub Actions runners have root and BTF, so the full kernel backend loads in a workflow step. The run exits non-zero on a deny and the timeline goes up as an artifact. Learn more →
