Command Palette

Search for a command to run...

Назад к скиллам
скилл № 71836

exploit-playbook-authoring

Conventions for replayable exploit playbook scripts — bash structure,

БесплатноБез исполняемых скриптов
VigilOSSот 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>.sh under 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 $DIR on 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 wrapped bash script, so a playbook against a program that requires them writes the scope.json required_headers into its own curl -H lines (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_reproduce and details.repro_runs remain 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's working_artifacts. Leave evidence_ref on 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл exploit-playbook-authoring?

Conventions for replayable exploit playbook scripts — bash structure,

Как установить скилл exploit-playbook-authoring?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл exploit-playbook-authoring запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить exploit-playbook-authoring с