---
title: "Claw Patrol: an open-source security firewall for agents"
description: "Claw Patrol is an MIT-licensed, alpha-stage gateway that sits outside AI agents and enforces policy on their production access."
url: "https://swe.quest/articles/claw-patrol-an-open-source-security-firewall-for-agents-3c096aa1a5974c00"
canonical: "https://deno.com/blog/clawpatrol"
source: "Deno"
published: "2026-05-21"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 4
tags: ["ai-agents","security","identity-auth","networking","open-source"]
---

# Claw Patrol: an open-source security firewall for agents

A post on [Deno](https://swe.quest/sources/deno.md), published 2026-05-21, 4 min read, Announcement. Original: [https://deno.com/blog/clawpatrol](https://deno.com/blog/clawpatrol)

## Summary

Claw Patrol is an MIT-licensed, alpha-stage gateway that sits outside AI agents and enforces policy on their production access. Agent traffic flows through a WireGuard or Tailscale tunnel to a gateway that terminates TLS, parses the inner protocol (HTTP, Postgres SQL, Kubernetes API), injects credentials the agent never holds, and evaluates each request against HCL rules. Rules can match on facets such as SQL verb and tables or Kubernetes resource and namespace. Verdicts can allow, deny, or route through chained LLM-judge and Slack human approvers. The gateway can also tunnel onward into otherwise unreachable networks, such as an Aurora database behind an EKS apiserver, a case HTTP-only proxies and sandboxes can't cover.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Security](https://swe.quest/tags/security.md) (Security)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- TLS termination ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- Kubernetes API basics ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- AI coding agents ([easy posts on AI for coding](https://swe.quest/tags/ai-coding.md?difficulty=easy))

## Keywords

Claw Patrol, Deno, WireGuard, Tailscale, HCL, Kubernetes, PostgreSQL, Claude Code

## Related posts

- [Run OpenClaw (Formerly Moltbot and Clawdbot) in a Sprite](https://swe.quest/articles/run-openclaw-formerly-moltbot-and-clawdbot-in-a-sprite-e675a6ce4227de15.md): Fly.io · 2026-01-26 · Medium · 3 min read · AI agents, Sandboxing & isolation, Serverless
  OpenClaw, the open-source AI assistant formerly called Clawdbot and Moltbot, can run inside a Fly.io Sprite, a hardware-isolated, stateful Linux sandbox, so the agent can have broad permissions without a dedicated Mac Mini.
- [Run OpenClaw Securely in Docker Sandboxes](https://swe.quest/articles/run-openclaw-securely-in-docker-sandboxes-b17a5a67ad4dfd4c.md): Docker · 2026-02-23 · Medium · 4 min read · Sandboxing & isolation, AI agents, Containers, LLMs
  OpenClaw, an open-source AI coding agent, can run inside Docker Sandboxes (isolated microVMs) against local models served by Docker Model Runner, with no API keys or cloud costs.
- [We got local models to triage the OpenClaw repo for FREE!\*](https://swe.quest/articles/we-got-local-models-to-triage-the-openclaw-repo-for-free-60bcac27d80eddae.md): Hugging Face · 2026-06-22 · Medium · 13 min read · AI agents, Inference & serving, Evaluation, LLMs, Open source
  Local open-weight models running in an agent harness on an NVIDIA GB10 (DGX Spark) can triage OpenClaw's GitHub issues and PRs in real time, routing only relevant topics to a maintainer via Discord.
- [How to Secure AI Agents: A Practical Overview for Development Teams](https://swe.quest/articles/how-to-secure-ai-agents-a-practical-overview-for-development-teams-8ef3e4fd91efa459.md): Docker · 2026-06-02 · Easy · 9 min read · AI agents, Sandboxing & isolation, Identity & auth, Security, Observability
  AI agents need a different security model than traditional services because they select tools, chain actions and act on credentials autonomously, widening the blast radius of prompt injection or tool poisoning.
- [How we contain Claude across products](https://swe.quest/articles/how-we-contain-claude-across-products-b42a3aa0de1e1d62.md): Anthropic Engineering · 2026-05-25 · Medium · 19 min read · Sandboxing & isolation, AI agents, Security, Virtualization, AI safety
  Anthropic caps the blast radius of Claude agents mainly through containment (sandboxes, VMs, egress controls) rather than human approval, after telemetry showed users approved about 93% of permission prompts. claude.ai runs code in ephemeral gVisor containers, Claude Code combines human approval with an OS-level sandbox (Seatbelt/bubblewrap) that cut prompts by 84%, and Cowork runs inside a full local VM with credentials kept on the host.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
