pipelock AGENTS.md

pipelock AGENTS.md is an instructions file for Codex, OpenCode from luckyPipewrench/pipelock. It costs 2,745 tokens per session, scanned A, original, Apache-2.0.

A contributor guide for Pipelock, an agent firewall that proxies AI-agent network and tool traffic. It scans mediated HTTP, WebSocket, and MCP traffic for secret leaks, prompt injection, server-side request forgery, and malicious tool behavior.

In plain words
What is it for?
Use it when developing or testing Pipelock, reviewing its security capabilities, building the Go binary, or checking how traffic is routed through the proxy.
Why use it?
It explains what the firewall protects, where protection applies, and which build, license, and deployment details contributors must follow.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/luckypipewrench/pipelock/agents-md
Clone the repo
git clone --depth 1 https://github.com/luckyPipewrench/pipelock

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pipelock AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/luckypipewrench/pipelock/agents-md.svg)](https://agentmods.dev/instructions/luckypipewrench/pipelock/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/luckypipewrench/pipelock/agents-md"><img src="https://agentmods.dev/badge/instructions/luckypipewrench/pipelock/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,745 This file is loaded in full into every session.
When invoked 2,745 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.02745 $0.02745
Opus 5 $0.01373 $0.01373
Sonnet 5 $0.00549 $0.00549
Haiku 4.5 $0.00275 $0.00275

Measured today against content hash bc14bed9ac4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pipelock AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md - Pipelock Contributor Guide

Pipelock is an agent firewall: a network and tool proxy that mediates AI-agent HTTP, WebSocket, and MCP traffic and scans it for secret exfiltration, prompt injection, SSRF, and tool poisoning. Direct egress controls are deployment guidance; binary-enforced coverage applies to mediated traffic.

Quick Reference

Item Value
Module github.com/luckyPipewrench/pipelock
Go 1.25+; CI tests Go 1.25 and 1.26
License Apache 2.0 core, ELv2 under enterprise/
Binary Single Go binary; size varies by OS, build tags, and release flags
Dependencies See go.mod. Run make stats before citing the current direct-dependency count.

Capability surface

The code-checked capability manifest is docs/security/capability-manifest.json. It lists the operator entry point and license gate for each surface below. Free means no license feature is required.

Capability Access Operator entry point Platform or deployment qualifier
HTTP, WebSocket, and proxy mediation Free pipelock run Applies only to traffic routed through Pipelock; direct agent egress needs containment or network policy.
MCP proxy scanning Free pipelock mcp proxy Applies only to MCP transports that run through the Pipelock proxy.
Signed action receipts Free flight_recorder
Host containment for agent processes Free pipelock contain Kernel-enforced containment requires Linux, nftables, and the managed identities; other targets cannot provide this containment path.
Single-agent process sandbox Free pipelock sandbox Kernel isolation requires Linux user namespaces. Without them, best-effort network isolation only sets HTTP(S)_PROXY; seccomp adds restrictions only on linux/amd64.
Global canary tokens Free canary_tokens
Named agent profiles Pro agents.
Per-agent sandbox overrides Pro agents..sandbox
Per-agent crypto address allowlists Pro agents..allowed_addresses
Read-only operator dashboard Pro or Enterprise pipelock dashboard serve
Full assessment artifacts Assess pipelock assess finalize
Conductor fleet coordination Enterprise pipelock conductor serve
Per-agent coverage certificates Pro pipelock dashboard coverage-cert generate
Exemption lifecycle records Pro pipelock dashboard exemption list
Legal-hold metadata Pro pipelock dashboard legal-hold list
Fleet audit sink Enterprise pipelock fleet-sink
Fleet receipt reports Enterprise pipelock conductor fleet report
Emergency kill switch Free kill_switch
Rule bundles Free rules
Adaptive enforcement Free adaptive_enforcement
TLS interception Free tls_interception Requires a configured local CA that the intercepted client trusts; passthrough traffic remains encrypted and cannot be body-scanned.
A2A protocol scanning Free a2a_scanning Applies to A2A traffic carried on Pipelock's supported forward-proxy and MCP HTTP paths.
Browser shield Free browser_shield Applies only to supported browser response traffic that flows through Pipelock.
Offline receipt verification Free pipelock verify-receipt
Verdict explanations Free pipelock explain
Deployment diagnostics Free pipelock doctor

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +5 lines · +76 tokens per session bc14bed9ac4a
  2. 4d ago First seen · 203 lines · 2,669 tokens per session scan A 0118d282ee3f

Subscribe to this mod's changes

pipelock AGENTS.md is an instructions file published in the GitHub repository luckyPipewrench/pipelock (832 stars, last pushed today), licensed Apache-2.0. It adds 2,745 tokens to every session, about $0.0137 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.