pentest-agents-chain-table — Claude Code rule: setup
pentest-agents-chain-table is a Claude Code rule that directs security audit agents to chain verified vulnerabilities into exploit paths.
no license ★ 1,298 updated 2026-06-12
.github/instructions/pentest-agents-chain-table.instructions.mdWhat pentest-agents-chain-table does
The rule outlines the Chain Walk workflow for security testing agents. Once an agent verifies an initial bug, it identifies the resulting capability and consults an internal mapping table to test subsequent vectors. Every hop enforces a strict 20-minute cap and tolerates at most three consecutive candidate failures at that depth.
Included tables map findings like text injection, open redirects, SSRF, and cross-origin misconfigurations to deeper outcomes. An agent cannot simply mark standalone issues complete: it must validate specific feeder anchors with exact HTTP traffic pairs until reaching a defined terminal state.
What it helps with
- chain low-severity findings into documented privilege escalation paths
- systematize secondary checks for open redirects and CORS flaws
- enforce timeouts and failure limits during vulnerability chaining
- verify multi-step security flows using exact request and response pairs
Example prompts for the agent
- Evaluate potential escalation links from an initial SSRF finding
- Run the chain walk algorithm on the confirmed redirect bug
- Inspect cross-origin misconfigurations against the feeder anchors list
How to install pentest-agents-chain-table
Manually: put the files in place
.github/instructions/pentest-agents-chain-table.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.claude/rules/pentest-agents-chain-table.mdThe paths frontmatter field limits the files: move applyTo from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/pentest-agents-chain-table.mdcFrontmatter: description, globs, alwaysApply. Move applyTo from the source into globs, or the rule will not attach on its own
Manually: put the files in place
.devin/rules/pentest-agents-chain-table.mdManually: put the files in place
.clinerules/pentest-agents-chain-table.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about pentest-agents-chain-table
How to install pentest-agents-chain-table in Claude Code?
Place the file at .claude/rules/pentest-agents-chain-table.md inside your project directory.
What does pentest-agents-chain-table do?
It guides AI agents through mapping verified security primitives into complete escalation chains.
What failure limits does the chaining algorithm enforce?
The rule limits each hop to a 20-minute testing window and permits at most three candidate failures per depth.