# suspectdevice636/penetration-testing-playbooks architecture

> Architecture diagram of the GitHub repository suspectdevice636/penetration-testing-playbooks, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/suspectdevice636/penetration-testing-playbooks
- Repository: https://github.com/suspectdevice636/penetration-testing-playbooks

## Overview

This repository is a reference library of penetration-testing playbooks, plus a reconnaissance script and an automated LLM security tester. The principal workflow is for an assessor to identify a target type, consult its playbook, work through testing stages, and document findings. The README describes the common methodology and major capability areas; relationships among the unsampled playbooks are therefore shown only where that documentation supports them. The LLM tester’s internal stages are based on the sampled source excerpt.

Main entry points: [`09-AI-LLM/Chatbot-Prompt-Injection-Playbook.md`](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/Chatbot-Prompt-Injection-Playbook.md) (LLM Testing Guide), [`09-AI-LLM/test-cases.py`](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/test-cases.py) (LLM Test Runner), [`tools/recon.sh`](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/tools/recon.sh) (Recon Script), [`01-Web-Applications`](https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/01-Web-Applications) (Web App Playbooks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_method["Testing Methodology"]
  node_recon["Reconnaissance"]
  node_enumeration["Scanning and Enumeration"]
  node_analysis["Vulnerability Analysis"]
  node_exploitation["Exploitation"]
  node_postexploit["Post-Exploitation"]
  node_reporting["Reporting and Remediation"]
  node_reconscript["Recon Script<br/>[recon.sh]"]
end

subgraph group_webapi["Web and API"]
  node_web["Web App Playbooks"]
  node_api["API Playbooks"]
end

subgraph group_infra["Infrastructure and Cloud"]
  node_network["Network Playbook"]
  node_aws["AWS Testing"]
end

subgraph group_devices["Device Security"]
  node_mobile["Mobile Testing"]
  node_iot["IoT and Embedded"]
end

subgraph group_special["Specialized Testing"]
  node_osint["OSINT and Attribution"]
  node_pci["PCI-DSS Testing"]
  node_llmguide["LLM Testing Guide"]
  node_llmrunner["LLM Test Runner<br/>[test-cases.py]"]
  node_payloads["LLM Payloads<br/>[payloads.json]"]
  node_mcp["MCP Playbooks"]
end

node_assessor(("Security Assessor"))

node_assessor -->|"selects by target"| node_web
node_assessor -->|"selects by target"| node_api
node_assessor -->|"selects by target"| node_network
node_assessor -->|"selects by target"| node_aws
node_assessor -->|"selects by target"| node_mobile
node_assessor -->|"selects by target"| node_iot
node_assessor -->|"selects by target"| node_osint
node_assessor -->|"selects by target"| node_pci
node_assessor -->|"selects by target"| node_llmguide
node_assessor -->|"selects by target"| node_mcp
node_assessor -->|"runs for reconnaissance"| node_reconscript
node_recon -->|"precedes"| node_enumeration
node_enumeration -->|"precedes"| node_analysis
node_analysis -->|"precedes"| node_exploitation
node_exploitation -->|"precedes"| node_postexploit
node_postexploit -->|"precedes"| node_reporting
node_llmguide -->|"automated testing"| node_llmrunner
node_llmrunner -.->|"loads payloads"| node_payloads

click node_web "https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/01-Web-Applications"
click node_api "https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/02-APIs"
click node_network "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/03-Network-Infrastructure/network-infrastructure-pentesting-playbook.md"
click node_aws "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/04-Cloud/cloud-aws-pentesting-playbook.md"
click node_mobile "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/05-Mobile/mobile-app-security-playbook.md"
click node_iot "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/06-IoT-Embedded/iot-embedded-security-playbook.md"
click node_osint "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/07-OSINT/osint-attribution-playbook.md"
click node_pci "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/08-Compliance/pci-dss-pentesting-playbook.md"
click node_llmguide "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/Chatbot-Prompt-Injection-Playbook.md"
click node_llmrunner "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/test-cases.py"
click node_payloads "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/payloads.json"
click node_mcp "https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/10-MCP"
click node_reconscript "https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/tools/recon.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_recon,node_enumeration,node_analysis,node_exploitation,node_postexploit,node_reporting,node_reconscript toneBlue
class node_web,node_api toneAmber
class node_network,node_aws toneMint
class node_mobile,node_iot toneRose
class node_osint,node_pci,node_llmguide,node_llmrunner,node_payloads,node_mcp,node_assessor toneIndigo
```

## Components

### Testing Methodology

- **Reconnaissance**
- **Scanning and Enumeration**
- **Vulnerability Analysis**
- **Exploitation**
- **Post-Exploitation**
- **Reporting and Remediation**
- [Recon Script](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/tools/recon.sh): `tools/recon.sh`

### Web and API

- [Web App Playbooks](https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/01-Web-Applications): `01-Web-Applications`
- [API Playbooks](https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/02-APIs): `02-APIs`

### Infrastructure and Cloud

- [Network Playbook](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/03-Network-Infrastructure/network-infrastructure-pentesting-playbook.md): `03-Network-Infrastructure/network-infrastructure-pentesting-playbook.md`
- [AWS Testing](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/04-Cloud/cloud-aws-pentesting-playbook.md): `04-Cloud/cloud-aws-pentesting-playbook.md`

### Device Security

- [Mobile Testing](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/05-Mobile/mobile-app-security-playbook.md): `05-Mobile/mobile-app-security-playbook.md`
- [IoT and Embedded](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/06-IoT-Embedded/iot-embedded-security-playbook.md): `06-IoT-Embedded/iot-embedded-security-playbook.md`

### Specialized Testing

- [OSINT and Attribution](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/07-OSINT/osint-attribution-playbook.md): `07-OSINT/osint-attribution-playbook.md`
- [PCI-DSS Testing](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/08-Compliance/pci-dss-pentesting-playbook.md): `08-Compliance/pci-dss-pentesting-playbook.md`
- [LLM Testing Guide](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/Chatbot-Prompt-Injection-Playbook.md): `09-AI-LLM/Chatbot-Prompt-Injection-Playbook.md`
- [LLM Test Runner](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/test-cases.py): `09-AI-LLM/test-cases.py`
- [LLM Payloads](https://github.com/suspectdevice636/penetration-testing-playbooks/blob/main/09-AI-LLM/payloads.json): `09-AI-LLM/payloads.json`
- [MCP Playbooks](https://github.com/suspectdevice636/penetration-testing-playbooks/tree/main/10-MCP): `10-MCP`

### Other components

- **Security Assessor**

## Connections

- Security Assessor → Web App Playbooks: selects by target (evidence: `README.md`)
- Security Assessor → API Playbooks: selects by target (evidence: `README.md`)
- Security Assessor → Network Playbook: selects by target (evidence: `README.md`)
- Security Assessor → AWS Testing: selects by target (evidence: `README.md`)
- Security Assessor → Mobile Testing: selects by target (evidence: `README.md`)
- Security Assessor → IoT and Embedded: selects by target (evidence: `README.md`)
- Security Assessor → OSINT and Attribution: selects by target (evidence: `README.md`)
- Security Assessor → PCI-DSS Testing: selects by target (evidence: `README.md`)
- Security Assessor → LLM Testing Guide: selects by target (evidence: `README.md`)
- Security Assessor → MCP Playbooks: selects by target (evidence: `README.md`)
- Security Assessor → Recon Script: runs for reconnaissance (evidence: `README.md`)
- Reconnaissance → Scanning and Enumeration: precedes (evidence: `README.md`)
- Scanning and Enumeration → Vulnerability Analysis: precedes (evidence: `README.md`)
- Vulnerability Analysis → Exploitation: precedes (evidence: `README.md`)
- Exploitation → Post-Exploitation: precedes (evidence: `README.md`)
- Post-Exploitation → Reporting and Remediation: precedes (evidence: `README.md`)
- LLM Testing Guide → LLM Test Runner: automated testing (evidence: `README.md`)
- LLM Test Runner → LLM Payloads: loads payloads
