Open-source agent firewall for MCP and AI agent egress

Pipelock mediates MCP, HTTP, and WebSocket traffic at the agent boundary and emits signed action receipts any third party can verify offline when receipt signing is configured.

Wraps stdio MCP servers too, the local subprocess servers most agents actually use, with the same scanner pipeline as network upstreams. New to the category? Start with what an agent firewall does and where its boundary stops.

install
$ go install github.com/luckyPipewrench/pipelock/cmd/pipelock@latest
# Then protect Claude Code
$ pipelock claude setup
# Wrap a stdio MCP server
$ pipelock mcp proxy -- ./mcp-server
# Verify a signed receipt offline
$ pipelock verify-receipt receipt.json
# Generate a signed assessment
$ pipelock assess init && pipelock assess run assessment-*/

v3.3.0 ships · operator dashboard · evidence viewer · stricter receipts

27 public demo receipts
Allowed: a safe read passes, receipt 1, session anchor Allowed: a safe read passes, receipt 2, allow Blocked: secret exfiltration over a URL, receipt 1, session anchor Blocked: secret exfiltration over a URL, receipt 2, block Blocked: a hijack hidden in fetched content, receipt 1, session anchor Blocked: a hijack hidden in fetched content, receipt 2, block Blocked: a reach for cloud metadata, receipt 1, session anchor Blocked: a reach for cloud metadata, receipt 2, block Blocked: destructive API mutation, receipt 1, session anchor Blocked: destructive API mutation, receipt 2, allow Blocked: destructive API mutation, receipt 3, block Blocked: poisoned ticket webhook exfiltration, receipt 1, session anchor Blocked: poisoned ticket webhook exfiltration, receipt 2, block Blocked: poisoned README key paste, receipt 1, session anchor Blocked: poisoned README key paste, receipt 2, block Blocked: hostile page session key exfiltration, receipt 1, session anchor Blocked: hostile page session key exfiltration, receipt 2, block Warned: suspicious payload observed, receipt 1, session anchor Warned: suspicious payload observed, receipt 2, warn Blocked: a secret split across WebSocket frames, receipt 1, session anchor Blocked: a secret split across WebSocket frames, receipt 2, block Blocked: poisoned MCP tool instructions, receipt 1, session anchor Blocked: poisoned MCP tool instructions, receipt 2, block Chain: two safe actions, then a blocked write, receipt 1, session anchor Chain: two safe actions, then a blocked write, receipt 2, allow Chain: two safe actions, then a blocked write, receipt 3, allow Chain: two safe actions, then a blocked write, receipt 4, block

792+

GitHub Stars

31,000+

Test Cases

>90%

Core Coverage

Go

Single Binary

214

Public Bench Cases

7

Compliance Mappings

Product metrics verified against pipelock@38bd9056b812 · corpus snapshot verified against agent-egress-bench@fb75dbf6e381.

CNCF Landscape

Pipelock is listed under Provisioning · Security & Compliance.

Listed via cncf/landscape#4807 · category: provisioning · security-compliance

View listing

Narrative

Detect. Enforce. Prove.

One binary, three jobs. Each line below is a real surface in the Pipelock source tree.

Detect

11-layer scanner pipeline. 65 DLP patterns. A2A scanning. Encoded payload handling across HTTP, WebSocket, and MCP.

11 layers 65 DLP patterns 33 injection

Enforce

OR-composed kill switch. Adaptive escalation. Process sandbox on Linux and macOS. MCP tool policy with redirect. Fail-closed on mediated paths.

6 kill sources 3 escalation levels fail-closed

Prove

Evidence for mediated machine operations. Hash-chained flight recorder. Ed25519-signed assessment reports. 30+ attack simulations.

7 frameworks Ed25519 signed offline verify

Get Started

Two minutes to protection

Works with Claude Code, Cursor, VS Code, JetBrains, local stdio MCP servers, or any agent that speaks HTTP or WebSocket.

claude-code
$ go install github.com/luckyPipewrench/pipelock/cmd/pipelock@latest
# Wire Claude Code through Pipelock
$ pipelock claude setup
✓ proxy configured · scanner running

In production

Run by people who ship agents

Operators running Pipelock in front of real coding agents with real secrets.

verify it yourself: pipelab.org/playground/

Public methodology · Public attack cases · Public Pipelock results