
Attack path stitcher
Chains confirmed single-asset findings into multi-hop attack paths across an organization
Attack path stitcher is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 641
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Attack path stitcher
This skill takes validated findings from per-asset security testing and links them into graphs where each node is an asset and each edge is a confirmed exploit hop backed by the findings that enable it. It is meant to show how a foothold on one system can lead to a critical asset elsewhere, rather than treating each finding in isolation.
The workflow loads validated findings, an organization-wide surface graph of assets, services, network zones and trust relationships, and raw evidence files where credentials or tokens may appear. It then builds an edge for each detected pivot, using seven detector types covering credential reuse, shared secrets, trust-zone access, Active Directory chains, cloud role assumption, SSRF reach and supply-chain dependencies. From there it works backward from crown-jewel assets to find externally reachable entry points, and writes a JSON graph, a Graphviz DOT file and a ranked Markdown list of paths.
Paths are split into confirmed and inferred groups. Confirmed paths require every hop to have a reproduced proof of concept with a feasibility score of 1.0, while inferred paths rely on topology or supply-chain reasoning and are flagged for analyst review. The skill is read-only and does not re-run exploits. A Python tool in the repository performs the graph construction, and the skill supplies the rules it applies, with limits on edge count and path depth that are reported in the output.
When your agent uses it
Stitches confirmed single-asset findings into multi-hop attack paths across the organization. Builds a graph where nodes are assets and edges are confirmed exploit hops citing the findings that enable them.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (10 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/attack-path-stitcher to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/attack-path-stitcher &&
cp -R "$tmp/skills/attack-path-stitcher" ~/.claude/skills/attack-path-stitcher &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/attack-path-stitcher inside it instead.
Copy the skill folder to ~/.agents/skills/attack-path-stitcher to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/attack-path-stitcher &&
cp -R "$tmp/skills/attack-path-stitcher" ~/.agents/skills/attack-path-stitcher &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/attack-path-stitcher inside it instead.
Copy the skill folder to ~/.cursor/skills/attack-path-stitcher to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/attack-path-stitcher &&
cp -R "$tmp/skills/attack-path-stitcher" ~/.cursor/skills/attack-path-stitcher &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/attack-path-stitcher inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/attack-path-stitcherOr copy the folder to ~/.gemini/skills/attack-path-stitcher yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/attack-path-stitcher:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/attack-path-stitcher &&
cp -R "$tmp/skills/attack-path-stitcher" ~/.copilot/skills/attack-path-stitcher &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/attack-path-stitcher inside it instead.
Get the folder:
git clone --depth 1 https://github.com/transilienceai/communitytools.gitThen copy communitytools/skills/attack-path-stitcher into your agent's skills folder as attack-path-stitcher. Agents that support SKILL.md read one folder per skill.
What it does
- Asset graph construction
- Builds nodes for each asset with its tier, services, network zone and trust relationships.
- Seven pivot detectors
- Detects credential reuse, shared secrets, trust-zone reach, AD, cloud IAM, SSRF and supply-chain hops.
- Crown-jewel reachability
- Traces backward from critical assets to find external entry points that can reach them.
- Confirmed versus inferred paths
- Separates paths backed by reproduced findings from those based on topology alone.
- Feasibility scoring
- Scores each hop as reliable, conditional or theoretical to rank attack paths.
- Graph and report outputs
- Writes JSON, Graphviz DOT and ranked Markdown files describing the discovered paths.
Good for
- Map how a compromised web server could lead to a database holding customer data
- Show which externally exposed assets can reach crown-jewel systems
- Find credentials leaked in one engagement that are reused on other hosts
- Produce a ranked list of confirmed multi-hop attack paths for remediation planning
Attack path stitcher FAQ
What inputs does the skill need?
It reads validated findings in validated/*.json, an organization surface file at artifacts/org-surface.json, and raw evidence files for credential extraction.
Does Attack path stitcher run exploits?
No. The skill is read-only, never re-fires proof-of-concept tests and does not modify the findings folder.
How does Attack path stitcher decide if a path is confirmed?
A path is confirmed only when every hop has feasibility 1.0 and cites at least one validated finding. Paths based only on trust zones, shared secrets or supply-chain links are listed as inferred.
When does Attack path stitcher run?
The skill's trigger is a daily scheduled run, default 03:00 UTC, and it may also re-run after a validation batch completes.
How do I install Attack path stitcher in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/attack-path-stitcher to use it in all your projects, or to .claude/skills/attack-path-stitcher in one project.
Does Attack path stitcher run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Attack path stitcher?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Attack path stitcher?
The closest alternatives to Attack path stitcher are Risk prioritiser, Chain construct, System, Systematic bug hunting and Systematic attacking.
Where this comes from
- Description: from the skill's own SKILL.md.
More from transilienceai/communitytools

Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications
- Open source
- 641 GitHub stars
- Security

Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs
- Open source
- 641 GitHub stars
- Security

Obtains a logged-in session through MFA/OTP for later authenticated security testing
- Open source
- 641 GitHub stars
- Security

Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA
- Open source
- 641 GitHub stars
- Security

Guides an agent through Solidity smart contract security testing and blockchain CTF
- Open source
- 641 GitHub stars
- Security

Guides an agent through testing web apps for XSS, CSRF, CORS, clickjacking and more
- Open source
- 641 GitHub stars
- Security




