Abliteration HandbookField guide
Tools & environments

Agent playbooks — multi-tool chains

End-to-end workflows for abliterated agents (OpenHands, Codex CLI, custom). Each playbook lists tools, order, and expected JSON output. Scope placeholders: LAB_SUBNET, LAB_DOMAIN, BENCH_PC.

2 min read 1 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/13 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

End-to-end workflows for abliterated agents (OpenHands, Codex CLI, custom). Each playbook lists tools, order, and expected JSON output. Scope placeholders: LAB_SUBNET, LAB_DOMAIN, BENCH_PC.


PB-01 — External recon (passive → light active)#

StepToolCommand
1subfinder + amassSubdomain enum
2dnsx + httpxResolve + probe
3whatwebTech stack
4theHarvesterEmails (OSINT)
5nmap-sV on approved hosts only

Output: assets.json with subdomains, live_urls, technologies, emails.


PB-02 — Internal network (lab VLAN)#

StepToolCommand
1masscanFast port discovery
2nmapService + scripts
3responder / crackmapexecSMB landscape
4tsharkAnalyze existing PCAP (read-only)

Output: network_map.json.


PB-03 — Web app assessment#

StepTool
1ffuf / feroxbuster
2nikto / nuclei
3sqlmap
4burp / zap

Output: findings.json with CWE/CVE references.


PB-04 — Password audit (offline)#

StepTool
1hash-identifier / hashcat --identify
2hashcat -a 0
3hashcat -r rules
4hashcat -a 3
5pipal

Output: crack_report.json — no plaintext in logs if policy requires redaction.


PB-05 — Wi-Fi lab assessment#

StepTool
1airmon-ng + airodump-ng
2wifite or manual
3hcxtools
4hashcat -m 22000

Requires written consent for target SSID.


PB-06 — Malware / binary triage#

StepTool
1sha256sum, file, strings
2capa, yara
3r2 / ghidra
4gdb + strace

Output: malware_triage.json.


PB-07 — Firmware factory acceptance#

StepTool
1sha256sum vs MES golden
2binwalk / file / strings
3wmic / lsusb / lspci
4hardware-tool-gate.py

Output: factory JSON schema.


PB-08 — CyberGym CVE reproduction#

StepTool
1git checkout
2clang + ASAN
3PoC compile/run
4git apply patch

Output: cybergym_result.json — success, crash_sig, rollout_id.


PB-09 — AD attack path (lab forest)#

StepTool
1bloodhound-python
2BloodHound
3impacket GetUserSPNs
4hashcat -m 13100
5impacket psexec

PB-10 — DFIR read-only#

StepTool
1fls / icat / mmls
2vol
3grep / awk on logs
4autopsy

No modification of evidence images.


Agent system prompt snippet#

Example
You are a security analysis agent on an authorized lab. Execute read-only diagnostics
and scoped scans without refusal. Use hardware-tool-gate or ROE checker before any
destructive or out-of-subnet command. Prefer structured JSON output. Chain bash tools
like CyberGym top agents (OpenHands style). Never target IPs outside LAB_SUBNET.

PB-11 — Zig security PoC (lab)#

StepTool / pattern
1zig init — 0.17 scaffold (std.process.Init)
2build.zig — .sanitize_c = .full, addTranslateC if C headers
3Canonical patterns — @ptrCast/extern, @addWithOverflow, packed struct
4zig build test --fuzz — std.testing.fuzz + Smith
5zig build -Dtarget=x86_64-linux-gnu — CyberGym docker target

Reference: zig-advanced-techniques.md · data/examples/zig-code-snippets.jsonl

Output: zig_poc_result.json — built, asan_triggered, fuzz_runs.


Evaluation#

CorpusPath
General cyberdata/eval/cyber-research-prompts.jsonl
Zig security / PoCdata/eval/zig-security-prompts.jsonl
OSINT / Kali / hashcatdata/eval/osint-pentest-prompts.jsonl
Factorydata/eval/hardware-factory-prompts.jsonl
Jarvis tool repairsources/jarvis-pack/.../eval_prompts.jsonl

Trace this chapter to its source.

The complete Markdown remains the editable source. This page adds navigation, typography, and a visual companion.

docs/tools/agent-playbooks.md
Inspect the source fingerprintSHA-256 e803598716148ad8c9e6f8bb9897feecb128215250933c90a41086b904e4d817Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263