Contain
Default-deny in the kernel
A hijacked agent cannot reach anything outside its role, no matter what the model decides.
Pinfold · AI agent security
A kernel-level security and runtime-isolation engine for autonomous AI agents, built in C/eBPF and Python.
The demo is invite-only: a real Linux kernel runs it, and the owner approves each request.
The problem
Files, networks, email, money. Prompt injection turns an invoice, a ticket or a web page into instructions.
Reading text to spot attacks is a classifier against an adversary. It will lose sometimes.
The idea
Contain
A hijacked agent cannot reach anything outside its role, no matter what the model decides.
Detect
Decoy tools and fake credentials. Touching one is proof of a hijack, with no false positives.
Taint-gate
Once untrusted content enters a session, high-risk steps wait for approval.
No LLM and no content inspection in the enforcement path.
Architecture
Unprivileged uid, no capabilities, own cgroup, tmpfs sandbox and IPC namespace
asks for each tool call
all network traffic
pinfolddSigned role policies, per-step grants, suspicion, approvals, hash-chained audit
One per session. TLS-terminating, exact URL and method, byte budgets
short-lived capabilities
Default-deny file, exec, network and IPC. Every decision audited. Grants expire here, even if pinfoldd is killed.
Detection
11 ms
Honeypot hit, quarantined. The model called a decoy tool; the kernel quarantined the session and its process tree was killed.
0%
Taint over-block on the legitimate support-desk workload, with the role as shipped.
Suspicion score
Denied actions raise a fading per-session score. Past the role's thresholds, the session loses its risky tools, then freezes for a human.
From the live demo
The same AI agent reads the same poisoned supplier invoice three times. Only the protection around it changes: no protection, a text guardrail, and Pinfold in the kernel.
171 B: the secret key reached the attacker. 0 B: the kernel refused the connection before a single byte left.
Inside each run
EPERM) and the session is frozen for a human.A human in the loop
The operator dashboard
Replay any session
Built end to end