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.
npx agentmods add commands/allsmog/blackbox-claude-plugin/bb-setupgit clone --depth 1 https://github.com/allsmog/blackbox-claude-pluginWrote 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/commands/allsmog/blackbox-claude-plugin/bb-setup)<a href="https://agentmods.dev/commands/allsmog/blackbox-claude-plugin/bb-setup"><img src="https://agentmods.dev/badge/commands/allsmog/blackbox-claude-plugin/bb-setup.svg" alt="Measured on agentmods" 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 | $0.00028 | $0.00841 |
| Opus 5 | $0.00014 | $0.00420 |
| Sonnet 5 | $0.00006 | $0.00168 |
| Haiku 4.5 | $0.00003 | $0.00084 |
Grade A, and why
bb-setup scanned grade A with 2 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 3d 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt update Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
which curl wget nc netcat How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Environment Setup Verification
Overview
Verifies that all required penetration testing tools are installed and accessible. Optionally installs missing tools.
Tool Categories
Core Tools (Required)
# Network scanning
which nmap masscan
# Web enumeration
which gobuster feroxbuster nikto whatweb
# Credential attacks
which hydra medusa
# Windows/AD tools
which crackmapexec impacket-smbclient smbclient
# Utilities
which curl wget nc netcat
Optional Tools (Recommended)
# Exploit search
which searchsploit
# Directory fuzzing alternatives
which ffuf wfuzz
# Password cracking
which john hashcat
# Reverse shell helpers
which rlwrap
Privilege Escalation Scripts
Check for linpeas/winpeas availability:
# Check local copies
ls -la ~/tools/linpeas.sh ~/tools/winpeas.exe 2>/dev/null
# Or download locations
ls -la /opt/privilege-escalation-awesome-scripts-suite/ 2>/dev/null
Installation Commands
Kali/Parrot (apt-based)
sudo apt update
sudo apt install -y nmap gobuster nikto hydra crackmapexec smbclient \
curl wget netcat-openbsd rlwrap feroxbuster exploitdb
macOS (brew-based)
brew install nmap gobuster nikto hydra curl wget netcat
pip3 install crackmapexec
Python Tools
pip3 install impacket crackmapexec
Linpeas/Winpeas Download
mkdir -p ~/tools
# Linpeas
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh -o ~/tools/linpeas.sh
chmod +x ~/tools/linpeas.sh
# Winpeas
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEASany.exe -o ~/tools/winpeas.exe
VPN Verification
# Check if connected to HTB VPN
ip addr show tun0 2>/dev/null || echo "No VPN connection detected"
# Verify HTB network reachability
ping -c 1 10.10.10.1 2>/dev/null && echo "HTB network reachable"
Wordlist Verification
# Check common wordlist locations
ls /usr/share/wordlists/rockyou.txt 2>/dev/null
ls /usr/share/wordlists/dirb/common.txt 2>/dev/null
ls /usr/share/seclists/ 2>/dev/null
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.
- 3d ago First seen · 144 lines · 28 tokens per session scan A 012f621341a5
bb-setup is a command published in the GitHub repository allsmog/blackbox-claude-plugin (5 stars, last pushed 6mo ago), licensed MIT. It adds 28 tokens to every session and 841 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
pentest
Activate pentest mode — displays ASCII art, configures session isolation, collects engagement scope, then OWNS the engagement: pre-flight, recon, planning (via the pentester-orchestrator planner), executor dispatch, a time-budget quota loop, aggregation, and report generation.
pentest-attacks
Define the attack profile for an engagement — select which attack categories and skills to use. Saves to .pentest-attacks.json. If run before /pentest:pentest, the orchestrator will respect the selection. If run standalone, does not launch a pentest.
pentest-kali
Connect to a Metasploit-Kali Server (MKS) REST API — verifies connectivity, discovers available Kali tools, and configures agents to prefer MKS endpoints over local Bash equivalents.
pentest-scope
Define or update engagement scope — saves scope to disk without launching a pentest. Can be run before or during an engagement. If a pentest is active and the target changes drastically, warns the operator and suggests a new engagement.
pentest-exit
Close pentest session — summarizes findings, ensures outputs are saved, lifts isolation, and prompts for /clear.
planner
Analyze engagement state and create a strategic attack plan.