# ptn1411/skill architecture

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

- Interactive diagram: https://gitdiagram.com/ptn1411/skill
- Repository: https://github.com/ptn1411/skill

## Overview

Authorized Artifact Auditor is a toolkit of standalone security-analysis skills plus dispatchers that select workflows for authorized targets. The main workflow classifies a target, invokes relevant inspection or recovery skills, and produces structured findings and remediation guidance; separate branches cover web/network assessment, dependencies and infrastructure, vulnerability intelligence, and Windows logs. The graph reflects README-described capabilities and sampled source relationships; several skill implementations were not sampled, so their internal call paths are not inferred.

Main entry points: [`scripts/full_assess.py`](https://github.com/ptn1411/skill/blob/main/scripts/full_assess.py) (Full assessment), [`web-app-scanner/python-library/web_audit.py`](https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/web_audit.py) (Web audit), [`scripts/orchestrate.py`](https://github.com/ptn1411/skill/blob/main/scripts/orchestrate.py) (Artifact orchestrator), [`scripts/assess.py`](https://github.com/ptn1411/skill/blob/main/scripts/assess.py) (Target classifier)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dispatch["Workflow dispatch"]
  node_orchestrate["Artifact orchestrator<br/>[orchestrate.py]"]
  node_full_assess["Full assessment<br/>[full_assess.py]"]
  node_assess["Target classifier<br/>[assess.py]"]
  node_report["Assessment report<br/>[full_assess.py]"]
end

subgraph group_artifacts["Artifact analysis"]
  node_fingerprint["Binary fingerprint<br/>[identify_app.py]"]
  node_artifact_recovery["Artifact recovery skills"]
end

subgraph group_webnet["Web and network"]
  node_web_recon["Web reconnaissance<br/>[web_recon.py]"]
  node_web_audit["Web audit<br/>[web_audit.py]"]
  node_bundle_analysis["Bundle analysis<br/>[bundle_analyzer.py]"]
  node_header_audit["Headers and TLS"]
  node_sourcemaps["Sourcemap recovery"]
  node_network_scan["Network scanning<br/>[nmap_scan.py]"]
  node_traffic_analysis["Traffic analysis<br/>[analyze_traffic.py]"]
end

subgraph group_assurance["Supply chain and intelligence"]
  node_cloud_audit["Cloud configuration audit"]
  node_supply_chain["SBOM and dependency audit"]
  node_vuln_lookup["Vulnerability lookup<br/>[lookup_vuln.py]"]
  node_exploit_search["Exploit-DB search"]
end

subgraph group_evidence["Host evidence"]
  node_windows_hunt["Windows log hunting<br/>[hunt_eventlog.py]"]
end

node_user(("Authorized assessor"))
node_target(("Authorized target"))

node_user -->|"submit artifact"| node_orchestrate
node_user -->|"request assessment"| node_full_assess
node_user -->|"classify target"| node_assess
node_target -->|"provide artifact"| node_orchestrate
node_target -->|"provide target"| node_full_assess
node_assess -.->|"select workflow"| node_fingerprint
node_orchestrate -->|"fingerprint target"| node_fingerprint
node_orchestrate -->|"route by type"| node_artifact_recovery
node_full_assess -->|"run network scan"| node_network_scan
node_full_assess -->|"run web recon"| node_web_recon
node_full_assess -->|"compile phases"| node_report
node_web_recon -.->|"audit target"| node_web_audit
node_web_audit -->|"analyze bundles"| node_bundle_analysis
node_web_audit -->|"inspect headers"| node_header_audit
node_web_audit -->|"probe sourcemaps"| node_sourcemaps
node_user -->|"audit infrastructure"| node_cloud_audit
node_user -->|"audit dependencies"| node_supply_chain
node_user -->|"lookup vulnerability"| node_vuln_lookup
node_user -->|"search public records"| node_exploit_search
node_user -->|"hunt local logs"| node_windows_hunt

click node_orchestrate "https://github.com/ptn1411/skill/blob/main/scripts/orchestrate.py"
click node_full_assess "https://github.com/ptn1411/skill/blob/main/scripts/full_assess.py"
click node_assess "https://github.com/ptn1411/skill/blob/main/scripts/assess.py"
click node_fingerprint "https://github.com/ptn1411/skill/blob/main/binary-identifier/scripts/identify_app.py"
click node_artifact_recovery "https://github.com/ptn1411/skill/tree/main/android-apk-pentester/scripts"
click node_web_recon "https://github.com/ptn1411/skill/blob/main/web-app-scanner/scripts/web_recon.py"
click node_web_audit "https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/web_audit.py"
click node_bundle_analysis "https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/bundle_analyzer.py"
click node_header_audit "https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/security_headers.py"
click node_sourcemaps "https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/sourcemap_extractor.py"
click node_network_scan "https://github.com/ptn1411/skill/blob/main/network-scanner/scripts/nmap_scan.py"
click node_traffic_analysis "https://github.com/ptn1411/skill/blob/main/network-interceptor/scripts/analyze_traffic.py"
click node_cloud_audit "https://github.com/ptn1411/skill/blob/main/container-cloud-auditor/scripts/analyze_container_cloud.py"
click node_supply_chain "https://github.com/ptn1411/skill/blob/main/sbom-supply-chain-auditor/scripts/analyze_supply_chain.py"
click node_vuln_lookup "https://github.com/ptn1411/skill/blob/main/vulnerability-lookup/scripts/lookup_vuln.py"
click node_exploit_search "https://github.com/ptn1411/skill/blob/main/searching-exploit-db/scripts/search_exploit_db.py"
click node_windows_hunt "https://github.com/ptn1411/skill/blob/main/windows-log-hunter/scripts/hunt_eventlog.py"
click node_report "https://github.com/ptn1411/skill/blob/main/scripts/full_assess.py"

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_orchestrate,node_full_assess,node_assess,node_report toneBlue
class node_fingerprint,node_artifact_recovery toneAmber
class node_web_recon,node_web_audit,node_bundle_analysis,node_header_audit,node_sourcemaps,node_network_scan,node_traffic_analysis toneMint
class node_cloud_audit,node_supply_chain,node_vuln_lookup,node_exploit_search toneRose
class node_windows_hunt,node_user,node_target toneIndigo
```

## Components

### Workflow dispatch

- [Artifact orchestrator](https://github.com/ptn1411/skill/blob/main/scripts/orchestrate.py): `scripts/orchestrate.py`
- [Full assessment](https://github.com/ptn1411/skill/blob/main/scripts/full_assess.py): `scripts/full_assess.py`
- [Target classifier](https://github.com/ptn1411/skill/blob/main/scripts/assess.py): `scripts/assess.py`
- [Assessment report](https://github.com/ptn1411/skill/blob/main/scripts/full_assess.py): `scripts/full_assess.py`

### Artifact analysis

- [Binary fingerprint](https://github.com/ptn1411/skill/blob/main/binary-identifier/scripts/identify_app.py): `binary-identifier/scripts/identify_app.py`
- [Artifact recovery skills](https://github.com/ptn1411/skill/tree/main/android-apk-pentester/scripts): `android-apk-pentester/scripts`

### Web and network

- [Web reconnaissance](https://github.com/ptn1411/skill/blob/main/web-app-scanner/scripts/web_recon.py): `web-app-scanner/scripts/web_recon.py`
- [Web audit](https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/web_audit.py): `web-app-scanner/python-library/web_audit.py`
- [Bundle analysis](https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/bundle_analyzer.py): `web-app-scanner/python-library/bundle_analyzer.py`
- [Headers and TLS](https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/security_headers.py): `web-app-scanner/python-library/security_headers.py`
- [Sourcemap recovery](https://github.com/ptn1411/skill/blob/main/web-app-scanner/python-library/sourcemap_extractor.py): `web-app-scanner/python-library/sourcemap_extractor.py`
- [Network scanning](https://github.com/ptn1411/skill/blob/main/network-scanner/scripts/nmap_scan.py): `network-scanner/scripts/nmap_scan.py`
- [Traffic analysis](https://github.com/ptn1411/skill/blob/main/network-interceptor/scripts/analyze_traffic.py): `network-interceptor/scripts/analyze_traffic.py`

### Supply chain and intelligence

- [Cloud configuration audit](https://github.com/ptn1411/skill/blob/main/container-cloud-auditor/scripts/analyze_container_cloud.py): `container-cloud-auditor/scripts/analyze_container_cloud.py`
- [SBOM and dependency audit](https://github.com/ptn1411/skill/blob/main/sbom-supply-chain-auditor/scripts/analyze_supply_chain.py): `sbom-supply-chain-auditor/scripts/analyze_supply_chain.py`
- [Vulnerability lookup](https://github.com/ptn1411/skill/blob/main/vulnerability-lookup/scripts/lookup_vuln.py): `vulnerability-lookup/scripts/lookup_vuln.py`
- [Exploit-DB search](https://github.com/ptn1411/skill/blob/main/searching-exploit-db/scripts/search_exploit_db.py): `searching-exploit-db/scripts/search_exploit_db.py`

### Host evidence

- [Windows log hunting](https://github.com/ptn1411/skill/blob/main/windows-log-hunter/scripts/hunt_eventlog.py): `windows-log-hunter/scripts/hunt_eventlog.py`

### Other components

- **Authorized assessor**
- **Authorized target**

## Connections

- Authorized assessor → Artifact orchestrator: submit artifact (evidence: `README.md`)
- Authorized assessor → Full assessment: request assessment (evidence: `README.md`)
- Authorized assessor → Target classifier: classify target (evidence: `README.md`)
- Authorized target → Artifact orchestrator: provide artifact (evidence: `README.md`)
- Authorized target → Full assessment: provide target (evidence: `README.md`)
- Target classifier → Binary fingerprint: select workflow
- Artifact orchestrator → Binary fingerprint: fingerprint target (evidence: `scripts/orchestrate.py`)
- Artifact orchestrator → Artifact recovery skills: route by type (evidence: `scripts/orchestrate.py`)
- Full assessment → Network scanning: run network scan (evidence: `README.md`)
- Full assessment → Web reconnaissance: run web recon (evidence: `README.md`)
- Full assessment → Assessment report: compile phases (evidence: `README.md`)
- Web reconnaissance → Web audit: audit target
- Web audit → Bundle analysis: analyze bundles (evidence: `web-app-scanner/python-library/web_audit.py`)
- Web audit → Headers and TLS: inspect headers (evidence: `web-app-scanner/python-library/web_audit.py`)
- Web audit → Sourcemap recovery: probe sourcemaps (evidence: `web-app-scanner/python-library/web_audit.py`)
- Authorized assessor → Cloud configuration audit: audit infrastructure (evidence: `README.md`)
- Authorized assessor → SBOM and dependency audit: audit dependencies (evidence: `README.md`)
- Authorized assessor → Vulnerability lookup: lookup vulnerability (evidence: `README.md`)
- Authorized assessor → Exploit-DB search: search public records (evidence: `README.md`)
- Authorized assessor → Windows log hunting: hunt local logs (evidence: `README.md`)
