brain
GitHub管理安全测试上下文记忆(Brain),支持初始化、预检、状态查看及结果记录。通过标准化字段存储漏洞证据与下一步行动,确保测试状态持久化,避免重复工作,提升多轮会话协作效率。
Trigger Scenarios
Install
npx skills add H-mmer/pentest-agents --skill brain -g -y
SKILL.md
Frontmatter
{
"name": "brain",
"description": "Manage the engagement brain. Subcommands: 'init' to set up, 'brief <target>' for pre-flight, 'status' for overview, 'exhausted [target]' to see dead ends."
}
Brain management: $ARGUMENTS
Route to the brain tool:
- If "$ARGUMENTS" is "init": run
uv run python3 ../../tools/brain.py init - If "$ARGUMENTS" starts with "brief": run
uv run python3 ../../tools/brain.py brief <target> - If "$ARGUMENTS" is "status": run
uv run python3 ../../tools/brain.py status - If "$ARGUMENTS" starts with "exhausted": run
uv run python3 ../../tools/brain.py exhausted <target> - If "$ARGUMENTS" starts with "record": run
uv run python3 ../../tools/brain.py record <target> <status> <technique> "<details>"
After running, also launch the brain agent to update the MEMORY.md index if any state changed.
Top-Tier Memory Bar
Bad memory makes the whole suite worse. Record facts as reusable evidence, not diary entries.
For every record, include:
target: canonical host or repo namesurface: endpoint, file, workflow, account role, or componenttechnique: vuln class plus variant, not just "tested auth"status: confirmed, partial, exhausted, blocked, duplicate-risk, chain-pendingevidence: request id, file path, response marker, screenshot path, command output, or blockernext_action: the exact command or test a future session should run
Never store "no bug" without the tested matrix. An exhausted entry must say what was tried and why that evidence is strong enough to skip it later.
Version History
- 41d49b6 Current 2026-07-24 11:58


