Attack Path Architect logo

Attack Path Architect

Organization
Orizon-eu
attack-path-architect

Generates strategic attack trees and kill chains from reconnaissance data or domain input. Maps MITRE ATT&CK TTPs, identifies chaining opportunities, trust relationships, and prioritizes attack paths by feasibility and impact. Use when user asks for "attack path", "kill chain", "attack tree", "threat modeling from recon", "attack surface analysis", or "prioritize targets". Requires prior recon data or a domain to analyze. For authorized pentesting and red team engagements only.

Overview

PublisherOrizon-eu
Repositoryclaude-code-pentest
Skill nameattack-path-architect
Stars
32
Forks
7
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Orizon-eu on GitHub. Read the source before you install it.

Installation

Install the Attack Path Architect AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Orizon-eu/claude-code-pentest/tree/main/attack-path-architect
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Orizon-eu/claude-code-pentest.git /tmp/claude-code-pentest
mkdir -p .claude/skills
cp -r /tmp/claude-code-pentest/attack-path-architect .claude/skills/attack-path-architect
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Attack Path Architect in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Attack Path Architect on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Attack Path Architect is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Attack Path Architect

Strategic attack path generator. Transforms reconnaissance data into actionable kill chains mapped to MITRE ATT&CK.

Important

CRITICAL: This skill is for authorized penetration testing and red team engagements ONLY. Confirm authorization before generating attack paths.

Instructions

Step 1: Input Collection

Accept one of these inputs:

  1. Recon JSON data from recon-dominator (consolidated.json or individual module outputs)
  2. Raw domain - will perform lightweight recon first to gather data
  3. Manual asset list - user provides hostnames, IPs, services, technologies

If the user provides only a domain, run a quick recon summary first using recon-dominator scripts, then proceed.

Step 2: Asset Classification

bash
python scripts/classify_assets.py --input {recon_data}

Classify every discovered asset by:

Exposure Level:

  • EXTERNAL: Internet-facing, directly reachable
  • SEMI-EXTERNAL: Behind CDN/WAF but still reachable
  • INTERNAL-EXPOSED: Internal service accidentally exposed (common with cloud misconfig)

Asset Type:

  • WEB_APP: Web applications (highest attack surface)
  • API: REST/GraphQL/SOAP endpoints
  • MAIL: Email infrastructure
  • DNS: DNS servers
  • VPN: VPN gateways
  • DATABASE: Exposed database services
  • ADMIN_PANEL: Management interfaces
  • CI_CD: Build/deploy infrastructure
  • MONITORING: Grafana, Kibana, Prometheus, etc.
  • STORAGE: S3, GCS, Azure Blob, etc.
  • LEGACY: Old/deprecated systems still running

Risk Score (1-10): Based on technology age, known CVE count, misconfiguration signals, exposure level.

Step 3: Trust Relationship Mapping

bash
python scripts/map_trust.py --input {recon_data}

Identify trust relationships between assets:

  • SSO/OAuth connections: Shared authentication across subdomains
  • Cookie scope: Wildcard cookies (.domain.com) enabling session sharing
  • API dependencies: Internal APIs called by external apps
  • DNS relationships: CNAME chains, shared nameservers
  • Certificate sharing: Shared TLS certificates (SAN entries)
  • IP proximity: Assets in same subnet/ASN suggesting shared infrastructure

Output: Directed graph of trust relationships in JSON format.

Step 4: Attack Tree Generation

bash
python scripts/generate_attack_tree.py --input {classified_assets} --trust-map {trust_map} --objective {objective}

For each objective (RCE, Data Access, Lateral Movement, Privilege Escalation), generate attack trees:

Tree Structure:

OBJECTIVE: Remote Code Execution on production
|
+-- PATH 1: Web Application Exploitation (Feasibility: HIGH)
|   +-- Step 1: Identify injectable parameter on app.target.com
|   |   TTP: T1190 - Exploit Public-Facing Application
|   |   Tools: sqlmap, Burp Suite
|   +-- Step 2: Achieve SQL injection -> OS command execution
|   |   TTP: T1059 - Command and Scripting Interpreter
|   +-- Step 3: Establish reverse shell
|       TTP: T1059.004 - Unix Shell
|
+-- PATH 2: Cloud Pivot via SSRF (Feasibility: MEDIUM)
|   +-- Step 1: Find SSRF in PDF generator on docs.target.com
|   |   TTP: T1190 - Exploit Public-Facing Application
|   +-- Step 2: Access cloud metadata (169.254.169.254)
|   |   TTP: T1552.005 - Cloud Instance Metadata API
|   +-- Step 3: Extract IAM credentials
|   |   TTP: T1078.004 - Cloud Accounts
|   +-- Step 4: Use credentials to access EC2/Lambda
|       TTP: T1078 - Valid Accounts

Step 5: Chaining Opportunity Analysis

bash
python scripts/find_chains.py --attack-tree {tree_file} --trust-map {trust_map}

Identify where vulnerabilities on different assets can be chained:

  • XSS on subdomain A -> cookie theft -> session on subdomain B (shared cookie scope)
  • SSRF on app -> cloud metadata -> credentials -> S3 bucket access
  • SQL injection -> database credentials -> access to internal API
  • Admin panel default creds -> CI/CD access -> code deployment -> RCE
  • DNS takeover -> phishing page -> credential capture -> internal access

For each chain:

  1. List all steps with specific assets
  2. Assign overall feasibility score
  3. Estimate impact (what access is gained)
  4. Map full MITRE ATT&CK path

Step 6: Priority Ranking

Score each attack path on:

  • Feasibility (1-10): How likely is successful exploitation?
    • Known CVEs: +3
    • Default credentials: +3
    • Missing security headers: +1
    • Outdated software: +2
    • Exposed admin panel: +2
  • Impact (1-10): What access does this provide?
    • RCE on production: 10
    • Database access: 9
    • Admin panel access: 7
    • User data exposure: 8
    • Internal network pivot: 9
  • Stealth (1-10): How likely to avoid detection?
    • No WAF: +3
    • No monitoring visible: +2
    • Uses legitimate protocols: +2
  • Combined Score: (Feasibility * 0.4) + (Impact * 0.4) + (Stealth * 0.2)

Step 7: Report Generation

bash
python scripts/generate_attack_report.py --project {name}

Output:

  1. Attack Surface Summary: Asset count by type and exposure
  2. Trust Relationship Graph: Visual representation of connections
  3. Prioritized Attack Paths: Ranked by combined score
  4. MITRE ATT&CK Mapping: Full TTP matrix for all paths
  5. Recommended Testing Order: Which paths to test first
  6. Detection Opportunities: What the blue team should monitor for each path

Examples

Example 1: Full Analysis from Recon Data

User says: "Analyze attack paths from this recon data"

Actions:

  1. Load consolidated.json from recon-dominator
  2. Classify all assets
  3. Map trust relationships
  4. Generate attack trees for RCE, data access, lateral movement
  5. Find chaining opportunities
  6. Rank and report

Example 2: Quick Assessment from Domain

User says: "What are the most likely attack paths for example.com?"

Actions:

  1. Quick recon (passive only for speed)
  2. Classify discovered assets
  3. Generate attack trees based on visible technology stack
  4. Prioritize by feasibility
  5. Provide top 5 attack paths with rationale

Example 3: Targeted Objective

User says: "Find paths to access the database from external for target.com"

Actions:

  1. Load existing recon or perform quick recon
  2. Focus classification on database-adjacent services
  3. Generate attack tree with single objective: database access
  4. Map all possible paths (direct exposure, SQL injection, SSRF chains, credential reuse)
  5. Rank by feasibility

Error Handling

No recon data available

If no prior recon exists:

  1. Suggest running recon-dominator first for best results
  2. Offer to do lightweight passive recon inline
  3. Work with whatever information the user provides manually

Insufficient data for path generation

If assets lack detail:

  1. Note assumptions clearly in output
  2. Mark paths as "requires validation"
  3. Suggest specific additional recon to fill gaps

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Attack Path Architect AI skill do?

Generates strategic attack trees and kill chains from reconnaissance data or domain input. Maps MITRE ATT&CK TTPs, identifies chaining opportunities, trust relationships, and prioritizes attack paths by feasibility and impact. Use when user asks for "attack path", "kill chain", "attack tree", "threat modeling from recon", "attack surface analysis", or "prioritize targets". Requires prior recon data or a domain to analyze. For authorized pentesting and red team engagements only.

Why use Attack Path Architect on TypingMind?

Because you install it once and use it with any model. Attack Path Architect is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Attack Path Architect in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Orizon-eu/claude-code-pentest/tree/main/attack-path-architect. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Attack Path Architect?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Attack Path Architect?

As many as you like. As long as a model supports skills, you can use Attack Path Architect with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Attack Path Architect AI skill free?

Yes. It is published on GitHub by Orizon-eu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇