Pentest Copilot is an AI-driven penetration-testing agent that connects to a Kali attack box, runs security tools, interprets their output, and chooses subsequent actions. It is intended for ethical hacking engagements, boot-to-root challenges, and capture-the-flag competitions. Catalogue add-ons extend its workflows.
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.
git clone --depth 1 https://github.com/bugbasesecurity/pentest-copilotWrote 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/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist)<a href="https://agentmods.dev/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist"><img src="https://agentmods.dev/badge/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist/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/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist"><img src="https://agentmods.dev/badge/rules/bugbasesecurity/pentest-copilot/tool-registration-checklist.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.00000 | $0.00374 |
| Opus 5.5 | $0.00000 | $0.00150 |
| Sonnet 5.5 | $0.00000 | $0.00075 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
tool-registration-checklist 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 3mo 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.
What it actually says
Tool Registration Checklist
When adding or removing an agent tool, update ALL of these locations:
Backend (source of truth)
- Handler:
backend/src/tools/handlers/<tool-name>.ts— create/delete theToolDefinition - Registry:
backend/src/tools/registry.ts— import +toolRegistry.register() - Availability (if tool requires config):
backend/src/utils/toolAvailability.ts— add to unconfigured list when env var is missing
Frontend (must stay in sync with registry)
- Sidebar panel:
frontend/src/components/session/AgentToolsPanel.jsxTOOL_GROUPS— add the tool name to the appropriate group (or create a new group)TOOL_LABELS— add a human-readable label
- Chat transcript:
frontend/src/components/pages/session/sessionId/ToolCallBlock.jsxTOOL_LABELS— add the display labelformatArgsPreview()— add a one-liner showing the most useful arggetCodePreview()— optionally add syntax-highlighted preview (for script/command tools)
Notes
- The backend API (
GET /agent/session/:id/agent-tools-config) dynamically returns all registered tools fromtoolRegistry.getAll(), so the backend side is automatic after step 2. - The frontend filters tools through
TOOL_GROUPS— any tool not listed there won't appear in the sidebar even if the API returns it. - If the tool needs consent gating, set
requiresConsent: trueor implementshouldRequireConsentin the handler.
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.
- 3mo ago First seen · 29 lines · 0 tokens per session scan A a332249860ba
tool-registration-checklist is a cursor rule published in the GitHub repository bugbasesecurity/pentest-copilot (1,576 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 374 tokens. 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.
tool-registration-checklist compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tool-registration-checklistbugbasesecurity/pentest-copilot | Cursor rule | 1.6k | 3mo ago | MIT | A | 0 | Cursor |
| no-jumping-aheadBrad-Edwards/aptl | Cursor rule | 25 | 1mo ago | MIT | A | 407 | Cursor |
| dependenciesraw-labs/mxcp | Cursor rule | 68 | 5mo ago | none | A | 86 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 201k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | 4d ago | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |