Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/encod3d-sec-bb-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, marketing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bb-workflow
What's inside
- Skill name
bb-workflow- Description
- Autonomous bug-bounty campaign driver. Runs a full programme end to end with no operator approvals - the deterministic driver (scripts/campaign.py) owns pass state, generates the killchain board from recon, and prints the exact next action (including which Skill and tool to run) every turn. Use when starting or resuming a bug-bounty engagement, "run the bb workflow", "hunt this program", "9-pass campaign", or when handed a *.scope wildcard to test for TIER1 findings. Single agent, refuter-verified, wiki-first, tool-first.
- License
- MIT
- Instructions
- 104 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: scripts/campaign.py, scripts/browser.sh, scripts/browser-visible.sh
Files (1)
- SKILL.md
SKILL.md (first lines)
# bb-workflow
The driver is the plan. You run one command, do exactly what it prints, record the result, repeat.
Nothing here is advisory: the gates are enforced by `scripts/campaign.py`, so follow its output
literally rather than improvising. This exists because prose routing failed - 22 Skill calls against
341 hand-rolled curls in the reference campaign; the board fixes that by making the mandate tool
output, fresh every turn.
## The loop
```
python3 scripts/campaign.py next # prints ONE required-action block
# do EXACTLY what it lists, in order
python3 scripts/campaign.py note <row> --arsenal <slug> # after Skill(wiki-arsenal)
python3 scripts/campaign.py done <row> --poc <img> --kind req # | --dead R | --park Q | --find F
# repeat
```
## Start / resume
1. `python3 scripts/campaign.py init --type bb` - validates `scope.md` + the autonomy envelope,
repairs `engagement_type`/schema, prints the Deadends size. If it exits 2, fix what it names
(an empty `scope.md` is the one thing it cannot invent - fill it from the programme brief first).
2. Passes 0-3 (OSINT/Wayback, crawl, fingerprint, CVE) feed `state.md`. Read every JS bundle and
handler end to end (`Skill`-less; volume-reduce first: source-map, drop vendor, beautify, read).
Grep never substitutes for the read.
3. `python3 scripts/campaign.py board` - writes the killchain 4a rows. Refuses on an empty state.
4. Enter the loop. `next` serves one row, depth-first, one open row at a time.
## Browser observation (chrome-devtools MCP)
The programme's targets are internet-reachable, so **drive them through a real browser**, not just
`curl` - a modern site's real attack surface is only visible rendered. Use the `chrome-devtools` MCP:
- **Pass 1 crawl:** `navigate_page` to each app, then `list_network_requests` - the XHR/fetch calls a
page makes reveal the **API endpoints/routes** a static crawl never sees (this is exactly the lead a
curl-only recon misses). `take_snapshot` for the rendered DOM; `evaluate_script` to read client
config / `__NEXT_DATA__` / JS globals.
- **Confirmation + evidence:** DOM-XSS fires in the real DOM (`evaluate_script` / console); a rendered
`take_screenshot` of the exploited state is a valid `web` PoC (G3).
Caveat: chrome-devtools drives a **local** browser, so it only reaches internet targets. For a
VPN-boxed host it cannot connect - use the VM-side browser (`scripts/browser.sh` / `capture.sh web`)
as the equivalent. `pt-workflow` / `ctf-workflow` default to the VM browser for that reason.
**Manual login / MFA the agent cannot do headlessly** (Smart-ID, Mobile-ID, a CAPTCHA) -> `Skill(chrome-devtools-browser)`: a VISIBLE chromium on the VM desktop (`scripts/browser-visible.sh`) the operator logs into, driven + observed live via the chrome-devtools MCP - capture the authenticated session and the real `/…` API calls, then feed the hunt skills.
## Gates (the driver enforces; do not fight them)
- **G1** no exploit action until the row's arsenal card exists (`Skill(wiki-arsenal)` fills it).
- **G2** a row cannot close unless its mapped `Skill(hunt-*)` actually fired.
- **G3** a row cannot close without typed evidence: `req` (default), `burp`, or `web` (visual classes
only). A page render is not evidence of a bug.
- **G8** run the mapped tool before hand-rolling; the driver warns if you skipped it.
## Autonomy
No approvals. Out-of-envelope work **parks** to `decisions.md` and the loop moves on - it never blocks
and never asks a question. A confirmed TIER1 is written up and chained but does not stop the run; the
campaign ends when the board is exhausted (two dry reframe rounds) or the request budget is spent.
## Model routing
Explicit per-role model assignment (the driver enforces the verifier gate; the rest is operating policy):
- **Main brain - Opus 5 1M:** the `campaign.py` loop, board/state, strategy, Burp/chrome-devtools, finding write-ups. This session.
- **Verifier - Opus (fresh context), MANDATORY:** before any CONFIRMED, `campaign.py verify <F>` prints an Opus refuter prompt; dispatch ONE fresh Opus agent that reads the raw PoC, tries to REFUTE, and writes `verdicts/<F>.json`. `done --find` refuses unless that verdict exists, is `refuted:false`, and cites the finding's PoC (anti-rubber-stamp). Fails CLOSED.
- **RTL - Opus (fresh context):** `Skill(redteamlead)` for direction at a fork or when a vector stalls.
- **Short tasks - Haiku:** `Skill(wiki-arsenal)` deep, `Skill(delegate)` (mechanical exploit-run), `Skill(ingest)` recon-parse. Bounded, fully-specified, single-shot ONLY.
The line that keeps quota safety: Haiku is allowed for a **bounded single job**, never for open-ended parallel hunting.
## Discipline (carried, not restated - hunt-core owns the gates)
- **Do NOT** invoke `superpowers:brainstorming` or `superpowers:writing-plans` mid-campaign, and keep
no parallel `TaskCreate` list. The board is the plan.
- Model routing (see `## Model routing`): Opus-1M drives the loop; bounded short tasks go to Haiku;
the mandatory Opus **verifier** gates every finding (`done --find` refuses without a passing
`verdicts/<F>.json`). Still **no open-ended hunter fan-out** (it exhausted the weekly quota last
time) - Haiku is only for single, fully-specified jobs.
- Load-bearing exploit requests go through Burp Repeater when it is reachable; degrade to
`capture.sh req` when it is not. Never block on Burp.
- Scope and the enumeration ceiling come from `scope.md`, never from this skill.
- **RCE-first:** with >1 vector open, take the code-exec one first - it is the attack vector with
impact; chase lower-impact classes only after code-exec is ruled out or the target needs them.
- **Read whole, not grep:** on a post-foothold host where a sudoer has no findable password and the
usual vectors dead-end, READ `/etc/pam.d/{sudo,su}` + `/etc/sudoers.d/*` and linpeas output WHOLE -
a `pam_ssh_agent_auth`/`pam_exec`/`NOPASSWD` line is the tell a grep skips. See [[linux-privesc]].
- **Long tools:** run pspy/linpeas via `bash scripts/vm-bg.sh <eng> <win> '<tool>'` (stages to
`/dev/shm`, runs in the stabilized shell, `--read`/`--wait 120` the logfile); never retry a broken
tool pattern >2x - switch method or call `Skill(redteamlead)`.
## Close-out
When `next` prints the close-out chain, run it: `Skill(triage)` -> `Skill(evidence)` ->
`Skill(report)` -> `Skill(learn)`.
## If the driver is unavailable
Manual fallback, same gates by hand: read `Approach.md`, take the top open row for the current
asset, run its wiki lookup then its hunt skill, capture `req` evidence, mark it `[x]`; on exhaustion
one `Deadends.md` line and `[!]`.From Encod3d-Sec/TORCH, MIT.
More from Encod3d-Sec/TORCH
- 0.741score
ingest
Encod3d-Sec
Synthesize raw recon/test output into engagement state.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
metasploit
Encod3d-Sec
Drive msfconsole across the workflow - DB-backed recon (db_nmap, auxiliary scanners), version->exploit search/check/run, multi/handler reverse shells…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
campaign-health
Encod3d-Sec
Health check for the bb/pt/ctf workflow driver subsystem - verifies everything is in place so every machine runs the same.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
fuzz
Encod3d-Sec
Adaptive, targeted web fuzzing - deterministic wordlist selection (wl-pick.sh) plus judgment.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
hunt-idor
Encod3d-Sec
IDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
learn
Encod3d-Sec
Post-engagement knowledge harvest AND harness retrospective - after a box/bugbounty/pentest/CTF is completed, first diff how the engagement was EXECUTED…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
hunt-windows
Encod3d-Sec
Local Windows privilege escalation on a STANDALONE / workgroup host, or a local shell on a domain member - foothold to SYSTEM.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
arsenal
Encod3d-Sec
Wiki-first "what do I use" lookup - pick the automated TOOL (wiki/tools/), then the PAYLOAD/technique (wiki/payloads/ + wiki/cheatsheets/), for a…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
coverage
Encod3d-Sec
Show per-asset vuln-class coverage gaps for the active engagement so nothing in scope is skipped.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
delegate
Encod3d-Sec
Autonomous sub-agent hand-off for a fiddly, fully-specified exploit-compile / escalation RUN - the main agent stays on strategy and the board while a cheap…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
hunt-ics
Encod3d-Sec
ICS/SCADA/OT exploitation - Modbus (502), S7comm (102), EtherNet/IP (44818), DNP3, OpenPLC, Node-RED SCADA, PLC/HMI/coil/holding-register attacks.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
redteamlead
Encod3d-Sec
On-demand senior red-team lead advisor.
SkillBFreshness: B★ 335Claude Code +9
Signals
- Stars
- 335
- Forks
- 49
- Open issues
- 0
- Last commit (this folder)
- Aug 19, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Encod3d-Sec/TORCH
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Encod3d-Sec
- 0.741score
hunt-windows
Encod3d-Sec
Local Windows privilege escalation on a STANDALONE / workgroup host, or a local shell on a domain member - foothold to SYSTEM.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
campaign-health
Encod3d-Sec
Health check for the bb/pt/ctf workflow driver subsystem - verifies everything is in place so every machine runs the same.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
hunt-ics
Encod3d-Sec
ICS/SCADA/OT exploitation - Modbus (502), S7comm (102), EtherNet/IP (44818), DNP3, OpenPLC, Node-RED SCADA, PLC/HMI/coil/holding-register attacks.
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
hunt-idor
Encod3d-Sec
IDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
arsenal
Encod3d-Sec
Wiki-first "what do I use" lookup - pick the automated TOOL (wiki/tools/), then the PAYLOAD/technique (wiki/payloads/ + wiki/cheatsheets/), for a…
SkillBFreshness: B★ 335Claude Code +9 - 0.741score
coverage
Encod3d-Sec
Show per-asset vuln-class coverage gaps for the active engagement so nothing in scope is skipped.
SkillBFreshness: B★ 335Claude Code +9
Cite this page
bb-workflow skill. Agent Mart. https://agentmart.dev/skills/encod3d-sec-bb-workflow (last updated 2026-10-24)