exploit-playbook-authoring
Conventions for replayable exploit playbook scripts — bash structure,
от VigilOSS★ 35 звёзд на GitHub
Установить exploit-playbook-authoring в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Exploit Playbook Authoring
Identity
A playbook is a replayable script that reproduces a confirmed exploit from the Kali runtime without
manual state lookup. This skill owns how playbooks are written: path conventions, bash structure, the
# MANUAL: rule for steps the agent cannot perform, and how lab assists are declared. It applies to
every exploit class; the tool the playbook calls varies, the structure does not.
When to Activate
- An exploit-developer (or other specialist) has confirmed an exploit and is about to write
tools/exploit-state/playbook-<slug>.sh. - Reviewing an inherited playbook against these conventions, including exploit-developer review mode.
This skill governs the internal playbook only. Its header block, step comments, and annotations
serve the operator replaying the exploit inside the engagement. Never attach it as a bug-bounty or
disclosure PoC: the report-writer stages a separate, minimal, de-harnessed
submissions/<slug>/poc.<ext> per agent/references/submission-format.md "PoC Script Authoring".
The two files serve different readers and differ on purpose.
Path and File Conventions
- Path:
tools/exploit-state/playbook-<slug>.shunder the engagement directory, executable (chmod +x). The slug is the finding slug. - Companion artifacts (cookie jars, tokens, request bodies, intermediate JSON) live under
tools/exploit-state/<slug>/. The playbook resolves them from its own location (BASE="$(cd "$(dirname "$0")/../.." && pwd)", then$BASE/tools/exploit-state/<slug>/...), so the same script works at/engagements/$ENGAGEMENT_KEY/in the runtime and under$DIRon the host. - Running it: replay through the audited route,
vigil assess kali exec --technique <TAG> --intent "replay playbook <slug>" --probe-kind replay --phase exploit --timeout N -- bash /engagements/$ENGAGEMENT_KEY/tools/exploit-state/playbook-<slug>.sh. Program attribution headers are injected only into recognised tool argv, not into a wrappedbashscript, so a playbook against a program that requires them writes thescope.jsonrequired_headersinto its owncurl -Hlines (agent/skills/kali-exec/SKILL.md"Required attribution headers").
Structure
#!/usr/bin/env bash
# Playbook: <finding title>
# Finding: <slug>
# Target: <target>
# Auth: <auth context>
# Tools: curl, sqlmap, ysoserial, etc.
set -euo pipefail
# Step 1: <what this does>
<command>
# Step 2: <what this does>
<command>
The header lets a future operator decide from it alone whether to run the script, and
set -euo pipefail keeps a silent intermediate failure from producing a playbook that printed
something and claimed success.
Use the tool the exploit was proven with (sqlmap, ysoserial, impacket, …) rather than forcing
non-HTTP work into curl. For an exploit proven through a typed vigil assess kali verb, write the
direct tool command the verb executed (its resolved_argv): the playbook is the standalone script that
runs inside the runtime, while the vigil assess kali invocation stays in the audit history.
Reproduction Requirements
- Every confirmed exploit gets a playbook.
- Automated steps run without interactive input or prior dispatch state: cookies, session and CSRF tokens, and auth-flow state are re-derived inline (a fresh login as Step 1 if needed).
- The finding's
details.steps_to_reproduceanddetails.repro_runsremain its reproduction; the playbook is their executable companion, because a finding outlives the engagement's working files. - Register the playbook against the finding
(
vigil assess artifact register tools/exploit-state/playbook-<slug>.sh --finding <slug> --agent-id <agent-id>) and list it in the handoff'sworking_artifacts. Leaveevidence_refon the decisive capture: it names one artifact, and replacing it is a claim edit.
Lab Assists and Production Equivalents
Some playbooks need a condition that is hard to drive purely from network input: an LD_PRELOAD shim
to fault a specific malloc, a debugger attach to leak a base address, an attacker read of
/proc/<pid>/maps, or a hardcoded ASLR base that won't hold across deployments. These lab assists
are acceptable in a PoC; what makes them disclosure-grade is naming each one and pairing it with its
production equivalent. For every assist, the playbook header or a companion LAB-ASSISTS.md records:
- What the assist does in the PoC — the exact mechanism, in one line.
- The production equivalent — the network-only or deployment-realistic primitive that drives the same condition (a parallel allocation-bomb connection plus the routine Kubernetes cgroup memory cap; an info-leak through the target's stderr captured by container logging; brute force over bounded entropy under a supervisor that auto-restarts).
- A negative control showing the production equivalent suffices on its own — typically a sibling cycle script that runs
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл exploit-playbook-authoring?
Conventions for replayable exploit playbook scripts — bash structure,
Как установить скилл exploit-playbook-authoring?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл exploit-playbook-authoring запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…