Cybersecurity router

From oyi77/1ai-skills · View interactive version

Cybersecurity router is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when starting any cybersecurity task — master router that determines the testing phase (Recon/Validation/Exploitation/Post-Exploitation) and routes to the correct specialized skill (Recon, Web/API/Infra/AD/Cloud/Mobile/Binary/Crypto/Forensics/Threat Intel).

How to use this skill

Skill file

Cybersecurity Router: Master Entry for Security Operations

Master router for 790+ cybersecurity skills. Determines the testing phase, routes to the correct category, and ensures structured methodology over random tool usage.

Overview

cybersecurity-router is the master entry for security work: it classifies a target (type, identity model, network position, input/output locations), routes the task to the right specialized skill by observed attack surface (web, API, auth, AD, cloud, mobile, binary, crypto, forensics, threat intel), enforces a testing priority order (Recon → API/Auth/IDOR → Injection → Business Logic → PrivEsc → Chain), and drives methodology before tooling. It maps 790+ cybersecurity skills into a decision tree so an engagement never starts with a random scanner run.

When NOT to Use


Verification

Anti-Rationalization Table

| Excuse | Reality | Rule |

|--------|---------|------|

| "I'll just run nmap/nuclei/burp" | Random tool usage misses context-specific attack chains | Route by observed behavior, then load specialized skill |

| "I know web/appsec, I don't need a router" | Real engagements chain recon→auth→injection→business logic→privilege escalation | Follow the phase order: Recon → Validation → Exploitation → Post-Exploitation |

| "The scanner found nothing" | Scanners miss business logic, race conditions, auth bypass, second-order vulns | Manual methodology catches what scanners miss |

| "I'll just focus on XSS/SQLi" | Real impact comes from chaining: auth→IDOR→race→RCE | Always consider the full kill chain |

| "AD/Cloud/Mobile is separate" | Modern environments are hybrid — AD connects to cloud, mobile talks to API | Route across domains based on observed attack surface |


When to Use

Use when:

Don't use for:


Workflow

  1. Classify — Determine target type, identity model, network position, and input/output locations (Phase 1).
  2. Route — Match observed signals to an attack-surface category using the routing table (Phase 2).
  3. Prioritize — Test in order: Recon → API/Auth/IDOR → Injection → Business Logic/Race → PrivEsc → Chain (Phase 3).
  4. Load & execute — Load the category skill, run its workflow, collect evidence.
  5. Report — Methodology, findings, evidence, impact, remediation — within authorized scope only.

Routing Decision Example

The routing table is a lookup, not judgment-by-hand. Model it as data so the same decision is repeatable:

import json  # signal -> primary skill, deep skill mapping from the Phase 2 table

def route(signal: str, mapping: dict[str, list[str]]) -> list[str]:
    return mapping.get(signal, [])

mapping = {
    "REST API / GraphQL": ["api-testing", "api-destroyer"],
    "login / reset / 2FA / JWT": ["auth-patterns", "auth-killer"],
    "input reflects in HTML/JS": ["testing-for-xss-vulnerabilities", "testing-for-xss-vulnerabilities-with-burpsuite"],
    "server fetches URL": ["exploiting-server-side-request-forgery", "performing-blind-ssrf-exploitation"],
    "object IDs in APIs": ["testing-api-for-broken-object-level-authorization", "testing-api-for-mass-assignment-vulnerability"],
}
print(route("REST API / GraphQL", mapping))  # -> ['api-testing', 'api-destroyer']

On non-Kali Linux, install the recon toolchain with apt install nmap sqlmap nikto; on Kali it ships preinstalled.

Operating Model: The Cybersecurity Router

Phase 1: Recon & Context Validation (Always First)

Collect before testing:

Phase 2: Route by Attack Surface

| Signal | Priority Direction | Load Category Skill |

|--------|-------------------|---------------------|

| New target, unknown surface | Recon & methodology | recon-automation |

| REST API, GraphQL, mobile backend | API Security | api-testing → api-destroyer |

| Login, reset, 2FA, sessions, JWT, OAuth, SAML | Authentication & Authorization | auth-patterns → auth-killer |

| Input reflects in HTML/JS | XSS / SSTI | testing-for-xss-vulnerabilities → testing-for-xss-vulnerabilities-with-burpsuite |

| Server fetches URL/hostname | SSRF | exploiting-server-side-request-forgery → performing-blind-ssrf-exploitation |

| Accepts XML/Office/SVG | XXE | testing-for-xxe-injection-vulnerabilities → testing-for-xml-injection-vulnerabilities |

| Path/filename/download controllable | Path Traversal / LFI | testing-for-broken-access-control → performing-directory-traversal-testing |

| Object IDs in APIs | IDOR / BOLA / BFLA | testing-api-for-broken-object-level-authorization → testing-api-for-mass-assignment-vulnerability |

| Multi-step: coupons, pricing, inventory | Business Logic | testing-for-business-logic-vulnerabilities → exploiting-race-condition-vulnerabilities |

| MongoDB/JSON query syntax | NoSQL Injection | exploiting-nosql-injection-vulnerabilities |

| CLI tools, image processing, importers | Command Injection | exploiting-api-injection-vulnerabilities |

| HTTP parsing anomalies | Request Smuggling | exploiting-http-request-smuggling |

| Node.js __proto__ controllable | Prototype Pollution | exploiting-prototype-pollution-in-javascript |

| PHP weak comparison / 0e hash | Type Juggling | exploiting-type-juggling-vulnerabilities |

| Active Directory, domain joined | AD Attacks | ad-killer → exploiting-active-directory-with-bloodhound |

| Windows host, local admin needed | Windows PrivEsc | kernel-killer → performing-privilege-escalation-assessment |

| Linux host, SUID/sudo present | Linux PrivEsc | kernel-killer → performing-privilege-escalation-on-linux |

| Docker/Kubernetes environment | Container/K8s Security | hardening-docker-containers-for-production → performing-container-escape-detection |

| Cloud (AWS/Azure/GCP) | Cloud Security | cloud-hunter → auditing-aws-s3-bucket-permissions |

| Mobile app (iOS/Android) | Mobile Security | mobile-hacking → analyzing-android-malware-with-apktool |

| Binary/ELF/PE, heap/stack | Binary Exploitation | binary-breaker → reverse-engineering-malware-with-ghidra |

| Binary/ELF/PE, reverse engineering | Reverse Engineering | reverse-engineering-router → binary-breaker |

| Crypto implementation | Crypto Attacks | crypto-breaker → performing-cryptographic-audit-of-application |

| Smart contract/DeFi | Blockchain Security | web3-auditor → smart-contract-exploiter |

| LLM/RAG/prompt injection | AI/ML Security | ai-hacker → detecting-ai-model-prompt-injection-attacks |

| Memory dump, disk image | Forensics | analyzing-memory-dumps-with-volatility → analyzing-disk-image-with-autopsy |

| Threat actor profiling | Threat Intel | analyzing-threat-actor-ttps-with-mitre-attack → analyzing-threat-actor-ttps-with-mitre-navigator |

| Source code, API repo, defensive audit | Codebase Vulnerability Audit | cloudflare-security-audit → conducting-api-security-testing |

| All-in-one hacking tool, pentest suite | Security Tooling & CLI Hub | hackingtool → recon-automation |

Phase 3: Testing Priority Order

  1. Recon & Methodology — recon-automation, bbot-recon
  2. API Security / Auth / IDOR — api-testing, api-destroyer, auth-killer, testing-api-for-broken-object-level-authorization
  3. Injection Core — testing-for-xss-vulnerabilities, exploiting-sql-injection-vulnerabilities, exploiting-server-side-request-forgery, exploiting-template-injection-vulnerabilities, testing-for-xxe-injection-vulnerabilities
  4. Auth & AuthZ — auth-killer, testing-api-authentication-weaknesses, testing-api-for-broken-object-level-authorization
  5. Business Logic / Race — testing-for-business-logic-vulnerabilities, exploiting-race-condition-vulnerabilities
  6. Privilege Escalation / Lateral Movement — OS/AD/Container/Cloud skills
  7. Post-Exploitation / Persistence — ad-killer, kernel-killer, hardening-docker-containers-for-production
  8. Chained Exploits / Full Kill Chain — Combine findings across categories

Core Skill Map (790+ Skills)

Reconnaissance & Methodology

Web Application Security

API Security

Defensive Code Audit & Tooling

Authentication & Authorization

Active Directory & Windows

Linux & Container Security

Cloud Security

Mobile Security

Reverse Engineering

Binary Exploitation (Pwn)

Cryptography

Blockchain & Smart Contract

AI/ML & LLM Security

Forensics & Incident Response

Blue Team Threat Hunting & Defense

Red Team Recon & Initial Access

Red Team Credential Access & Lateral Movement

Threat Intelligence & Hunting


High-Value Expert Intuitions

  1. Same filter reused across endpoints — if one bypassable, similar endpoints usually are too
  2. Parameter names are attack surface — WAFs often inspect values, not names
  3. Second-order vulns are common — safe at storage ≠ safe when later read dangerously
  4. BOLA = authenticated but unauthorized — replay with account A/B switching critical
  5. Older API versions miss patches — fixing v2 doesn't mean v1 retired
  6. Business logic = highest impact — scanners miss them, persist longer
  7. Race conditions → one-time actions — coupons, claims, resets, invites, inventory
  8. JWT: check key/algorithm context first — verify alg, kid, JWKS, key source before spraying

Suggested Prompts


Verification Checklist


References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.