Borrowing it
Nothing to install: this file belongs to go-appsec/toolbox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/go-appsec/toolbox/main/AGENTS.mdgit clone --depth 1 https://github.com/go-appsec/toolboxWrote 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.
[](https://agentmods.dev/instructions/go-appsec/toolbox/agents-md)<a href="https://agentmods.dev/instructions/go-appsec/toolbox/agents-md"><img src="https://agentmods.dev/badge/instructions/go-appsec/toolbox/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/go-appsec/toolbox/agents-md"><img src="https://agentmods.dev/badge/instructions/go-appsec/toolbox/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.06826 | $0.06826 |
| Opus 5.5 | $0.02730 | $0.02730 |
| Sonnet 5.5 | $0.01365 | $0.01365 |
| Haiku 4.5 | $0.00683 | $0.00683 |
Grade A, and why
toolbox 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 19d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Overview
go-appsec/toolbox (sectool) is a CLI and MCP toolkit for human and LLM agent collaboration for application security testing.
Key characteristics:
- MCP-primary architecture: single API serves both agents and CLI
- CLI is a thin client over MCP for human interaction
- Global config at
~/.sectool/config.json(auto-created) - All output in markdown format for LLM consumption
- Pluggable backend architecture (native built-in proxy or Burp MCP for HTTP, Interactsh for OAST, Colly for crawling)
Build Commands
make build # Build to bin/sectool
make build-cross # Cross-compile (linux/darwin, amd64/arm64)
make test # Quick tests (-short flag)
make test-all # Full tests with -race and coverage
make lint # Run golangci-lint and go vet
Architecture
CLI Command → MCP Client → MCP Server → Backends (Built-in Proxy or Burp MCP, OAST, Crawler)
MCP Agent → MCP Server → Backends (Built-in Proxy or Burp MCP, OAST, Crawler)
Core Files
sectool/main.go- Entry point; routesmcpsubcommand to server mode, else CLI command dispatchsectool/config/config.go- Config loading/saving, defaults, auto-creationsectool/config/socket_unix.go/socket_windows.go-DefaultSidecarSocket: per-OS sidecar IPC address (Unix domain socket, or loopback TCP on Windows)sectool/mcpclient/client.go- MCP client wrapper for CLI usagesectool/mcpclient/tools.go- Typed methods for each MCP toolsectool/mcpclient/types.go- Client-specific option types (*Opts structs)sectool/bundle/bundle.go- Client-side bundle file operations for export
Protocol
sectool/protocol/workflow.go- Workflow mode constants shared between service and mcpclientsectool/protocol/types.go- Shared MCP response types (used by both service and mcpclient)
Service Layer
sectool/service/server.go- MCP server lifecycle and backend coordinationsectool/service/mcp_server.go- MCP server setup, tool registration, workflow handlingsectool/service/mcp_proxy.go- Proxy and flow_get tool handlers (poll, flow_get, cookie_jar, rules)sectool/service/mcp_proxy_internal.go- Internal MCP proxy tool (_internal_history_delete)sectool/service/mcp_replay.go- Replay tool handlers (send, request_send)sectool/service/mcp_crawl.go- Crawl tool handlers (create, seed, status, poll, sessions, stop)sectool/service/mcp_oast.go- OAST tool handlers (create, poll, get, list, delete)sectool/service/mcp_encode.go- Encode/decode tool handlers (url, base64, html)sectool/service/mcp_uuid.go- UUID generation tool handler (v4, v7)sectool/service/mcp_hash.go- Hash tool handler (md5, sha1, sha256, sha512, HMAC)sectool/service/mcp_jwt.go- JWT decode tool handlersectool/service/mcp_diff.go- Diff tool handler (structured flow comparison)sectool/service/mcp_reflection.go- Reflection tool handler (parameter reflection detection)sectool/service/mcp_jssurface.go- JS analyze tool handler (extract API surface from JS/HTML responses)sectool/service/mcp_jsendpoint.go- JS endpoint detail tool handler (per-call-site request shape by deterministic id)sectool/service/js/- JS bundle parser and extractors (tdewolff/parse/v2/js)sectool/service/js/analyze.go- main JS bundle analyzersectool/service/js/dedupe.go- deduplication logicsectool/service/js/detail.go- per-call-site request-shape extraction (body/headers/query/path params) and deterministic EndpointIDsectool/service/js/extract.go- extraction logicsectool/service/js/html.go- HTML-specific handlingsectool/service/js/parse.go- parsing logicsectool/service/js/scope.go- scoping logicsectool/service/js/secrets.go- secrets detectionsectool/service/mcp_notes.go- Notes tool handlers (save, list) and flow listing attachmentsectool/service/mcp_respond.go- Proxy responder tool handlers (respond_add, respond_delete, respond_list); native backend onlysectool/service/flags.go- MCP server flag parsing (--port,--proxy-port,--burp,--workflow,--config,--notes,--sidecar-socket)sectool/service/backend.go- HttpBackend, ResponderBackend, OastBackend, CrawlerBackend interfacessectool/service/backend_http_native.go- Native built-in proxy implementation of HttpBackendsectool/service/backend_http_native_respond.go- Native backend implementation of ResponderBackendsectool/service/backend_http_burp.go- Burp MCP implementation of HttpBackend; hostsburpFlowIndex(flow_id ↔ Burp offset mapping)sectool/service/backend_oast_interactsh.go- Interactsh implementation of OastBackendsectool/service/smtputil.go- SMTP email header parsing utilitiessectool/service/backend_crawler_colly.go- Colly-based crawler implementationsectool/service/capture_filter.go- BuildCaptureFilter: compiles proxy exclusion patterns from configsectool/service/mcp_coreinvoke.go-CoreInvokedispatch for sidecars: invoke a core MCP tool by name (reuses the handlers agents call; internal tools excluded)sectool/service/mcp_replay_originate.go- Native HTTP origination for sidecar sends (originateNative); mirrors request_send, produces an attributable flowsectool/service/mcp_sidecar_tools.go- Recomposes the advertised MCP tool list as sidecars connect/disconnect; adds sidecar-conditional params to core toolssectool/service/sidecar_replay_sink.go-replayRoutingSink: diverts sidecar-performed replays (annotatedreplay=true) into the replay history store, else proxy historysectool/service/search.go- RE2 pattern compilation with LLM-friendly double-escape correction; flow content matchingsectool/service/httputil.go- HTTP request/response parsing utilitiessectool/service/jsonutil.go- JSON read/analysis helpers (flatten, parse list)sectool/service/types.go- Service-specific request and internal typessectool/service/dedupe/dedupe.go- Order-preserving slice deduplication helperssectool/service/fileutil/fileutil.go- Filesystem helpers (AtomicWriteFile)
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.
- 19d ago Changed · +1 lines · +24 tokens per session bbf4627c8fcf
- 1mo ago Changed · +4 lines · +75 tokens per session 2b414d1166af
- 1mo ago First seen · 393 lines · 6,727 tokens per session scan A 6a90b40d15e2
toolbox AGENTS.md is an instructions file published in the GitHub repository go-appsec/toolbox (43 stars, last pushed yesterday), licensed MIT. It adds 6,826 tokens to every session, about $0.0273 per session on Opus 5.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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.