AI coding agent security tools
Coding agents run shell commands, read your files and call the network. These tools add guardrails at different layers: checking each action before it runs, isolating the agent from your machine, or requiring a policy or a person to approve changes before they merge. Most teams combine more than one.
Security and guardrail tools in the directory
- Stroq: Open-source (Apache-2.0) local security tool for coding agents. Scans past Claude Code, Codex and Cursor sessions for known secrets, then adds hooks that check each tool call before it runs, deny curl | sh and outbound calls carrying a known secret, and trace risky commands back to the text that prompted them. No account, no telemetry. Run with npx @stroq/cli. Official site
- Eclipse Enclave: Open-source (MIT), vendor-neutral runtime from the Eclipse Foundation that runs coding agents like Claude Code, Codex and OpenCode in isolated containers, each with its own git worktree and a network gateway limited to an allowlist. Sessions can be paused and resumed. 1.0 released Nov 19, 2026. Official site
- Claude Ship: Anthropic's pull request pipeline for GitHub: Code Review (generally available) plus two beta agents, PR Steward (fixes failing CI, merge conflicts and review feedback, but does not approve or merge) and Claude Approvals (approves routine changes under a policy file in your repo). Try it with /ship in Claude Code. Team and Enterprise plans, billed on tokens. Launched Nov 2026. Official site
- E2B: Secure cloud sandboxes for AI-generated code. Official site
- Daytona: Fast, secure infrastructure for running AI code. Official site
Which layer each tool covers
- Before each action (hooks). Stroq hooks into agents like Claude Code, Cursor and Codex and checks tool calls before they run. A hook is a filter, not a sandbox.
- Isolation. Eclipse Enclave runs agents in containers with their own git worktree and an allowlisted network. E2B and Daytona provide cloud sandboxes for running AI-generated code.
- Before merge (approvals). Claude Approvals, part of Claude Ship, applies an approval policy file in your repository to decide which pull requests need a person.
Things to check before you pick one
- Which agents it supports. Hooks and integrations differ by agent and version; check the docs for the agent you use.
- Local or hosted. Local tools keep session data on your machine; hosted sandboxes and review services send code to the vendor.
- Network access. Look for a way to limit outbound calls, since leaked secrets usually leave over the network.
- Cost. Open-source tools are free to run; hosted sandboxes and review agents bill by usage.
Related guides
- AI agent sandboxes
- AI code review tools for pull requests
- Cloud AI coding agents that open pull requests
- AI coding agents that run in your terminal
- All agent infrastructure tools
Missing a tool? Submit it for free.