pipelock
Provides a local HTTP proxy pipelock that scans outbound requests for API-key leaks, SSRF, prompt injection, and DLP. The skill includes explicit CLI examples (brew install, go install, pipelock run --config pipelock.yaml, curl "http://localhost:8888/fetch?url=https://example.com/api/data") that run the binary and perform network calls.
Pipelock Security Harness
Pipelock is a fetch proxy that sits between you and the internet. Every outbound HTTP request passes through a 7-layer scanner pipeline that catches API key leaks, SSRF attempts, prompt injection, and data exfiltration.
Installation
# Homebrew (macOS/Linux)
brew install luckyPipewrench/tap/pipelock
# Or Go
go install github.com/luckyPipewrench/pipelock/cmd/pipelock@latest
Quick Start
Generate a config and start the proxy:
pipelock generate config --preset balanced -o pipelock.yaml
pipelock run --config pipelock.yaml
The proxy listens on http://localhost:8888. Route your HTTP requests through it:
curl "http://localhost:8888/fetch?url=https://example.com/api/data"
Using with MCP Servers
Wrap any MCP server to scan its responses for prompt injection:
pipelock mcp proxy -- npx @modelcontextprotocol/server-filesystem /path/to/dir
What It Catches
- SSRF - blocks requests to internal IPs, catches DNS rebinding
- Domain blocklist - blocks exfiltration targets (pastebin, transfer.sh)
- Rate limiting - detects unusual request bursts
- DLP patterns - detects API keys (Anthropic, OpenAI, AWS, GitHub) in URLs and bodies
- Env var leaks - detects your actual env var values in outbound traffic
- Entropy analysis - flags high-entropy strings that look like secrets
- URL length limits - flags unusually long URLs suggesting exfiltration
Actions
Configure what happens when a threat is detected:
block- reject the requeststrip- redact the match and forwardwarn- log and pass throughask- terminal prompt for human approval (y/N/s)
Presets
balanced- default, good for most setupsstrict- blocks aggressively, tight thresholdsaudit- detect and log only, never blocksclaude-code- tuned for Claude Code agent workflowscursor- tuned for Cursor IDEgeneric-agent- works with any agent framework
Workspace Integrity
Detect unauthorized changes to your workspace files:
pipelock integrity init ./workspace
pipelock integrity check ./workspace
More Info
- OWASP Agentic Top 10 mapping
- Claude Code integration guide
- Apache 2.0 license, single binary, zero dependencies