2026 Agent Wrapped is here! Check out yours

How AI agent security works

Follow one tool call through Prismor. Watch where its data goes and what happens when Prismor stops it

Follow one tool call

Agents act through tool calls, from shell commands to MCP requests. Prismor hooks into each agent and checks every call at five points before it runs. Pick one call below and watch it travel.

Prismor control plane: read morePrismorAudit trail: read moreAudit trailAgent: read moreAgentClaude Code, Cursor, Codex, SDKsIdentity: read moreIdentityenrolled device keyPolicy: read morePolicysigned rulesSecrets: read moreSecretscloaking, leak guardsSandbox: read moreSandboxSeatbelt or bubblewrapNetwork: read moreNetworkegress allowlistShell: read moreShellFilesMCP: read moreMCPWebScrub: read moreScrub
$ cat src/config.ts

Click any box in this diagram to read more. Green marks allowed calls and amber marks changed ones. Red marks stops. For more depth, read our control plane page

placeholderactual keykey in outputplaceholder againAgent context@@SECRET:stripe@@Transcripts on disk~/.claude · ~/.codex@@SECRET:stripe@@Stop secret leaks guidePrismor swaps keys in, then scrubs them outCommand runs withsk_live_••••4242

Actual key lives inside its running command. Transcripts in ~/.claude and ~/.codex keep its placeholder

Secrets stay out of agent context

Agents hold placeholders, and each secret value lives inside its running command

Coding agents save each session to disk as plaintext JSONL, Claude Code under ~/.claude/projects and Codex under ~/.codex/sessions. Keys pasted into chat or read from .env land in those files and stay after sessions end.

Teams register each secret once under its own name. Agents write @@SECRET:name@@ wherever they need one. Prismor swaps in its stored value as each command runs, then scrubs it back out of whatever returns, MCP tool results included.

Cloaking covers context. Leak guards catch what agents try next, like piping .env into curl or reading CLI token stores, and Prismor blocks those calls before they run. Prismor also redacts telemetry on each machine, and by default its uploads carry metadata and hashes alone.

Sandbox agent shell commands guideOS sandboxwrite keyconnectwrite src/Egress allowlist guideallowlistAgent commandProjectwritable~/.sshoutside projectInternetallowlisted hosts

Ring 2: writable project, HTTPS only through its egress allowlist. Writes outside this project fail unless policy marks their path writable

Sandbox rings decide what commands can touch

Prismor runs agent shell commands inside OS sandboxes, Seatbelt on macOS and bubblewrap on Linux

Each ring sets two things at once: whether projects are writable and how much network commands get. Ring 0 mounts projects read only with no network. Ring 3 gives writable projects and open network. Ring 2 sits between them, and HTTPS leaves through its egress allowlist.

Policy checks each command before it starts. Sandboxes catch what commands do once they run, like postinstall scripts writing to ~/.ssh. Prismor can also block commands whose sandbox fails to start, instead of running them unconfined.

Egress allowlist guideEgress allowlistAgentgithub.comallowedpypi.orgapi.anthropic.com45.13.7.9x1.ngrok.app

github.com sits on this allowlist

Click any host to send it one call

Network: deny by default, allow what work needs

Prismor checks each outbound host against its egress allowlist before any connection opens

Teams list hosts their agents need, like github.com and their model APIs. Other hosts get policy's default verdict, usually deny. Prismor also flags bare IP addresses and reverse tunnels like ngrok or ssh -R.

Observe mode logs would-be blocks, so teams can tune their list first. Enforce mode stops those calls. Agents needing new hosts get them through access requests, which admins approve from Prismor’s console.

After Prismor stops calls

Blocked calls never run. Agents hear why, and ask rules pull in teammates for approval

Prismor hands each agent its reason plus one safer route, so agents change course on their own. Rules set to ask hold their call until one teammate approves it in Slack. Both outcomes land on Prismor’s audit trail.

Prismor’s console signs policy with Ed25519 before pushing it to devices. Devices ignore tampered or unverifiable copies, and core protections stay locked against remote changes. If Prismor can’t verify policy, it fails closed.

Prismor helps with outcomes
for safe AI usage

Prismor checks every tool call your agents make against your policy, blocks what breaks it, and keeps the audit trail. Run the open-source runtime yourself, or let us set it up across your org

Or email [email protected]