Hack skills

From oyi77/1ai-skills · View interactive version

Hack skills is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when starting web application testing, API security assessment, bug bounty hunting, or authorized penetration testing. Master router that determines testing phase (Recon/Validation/PrivEsc/Chain) and routes to the correct vulnerability category skill (XSS, SQLi, SSRF, IDOR, JWT, API, Auth, etc.)

How to use this skill

Skill file

Overview

This skill is the master router for web application testing, API security assessment, bug bounty hunting, and authorized penetration testing. Load it to determine the testing phase — recon, validation, privilege escalation, chain — and get routed to the correct vulnerability-category skill. It is the entry point into the cybersecurity playbook set.

HackSkills: Master Router for Security Testing

Master entry router for HackSkills — a curated knowledge base of 101 offensive security skills covering web, API, auth, injection, file access, business logic, infrastructure, OS privilege escalation, Active Directory, mobile, binary exploitation, reverse engineering, cryptography, blockchain, AI/ML security, and forensics.

Built for bug bounty, penetration testing, CTF competitions, and authorized security research.


Verification

Anti-Rationalization Table

| Excuse | Reality | Rule |

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

| "I'll just spray payloads from memory" | Random payloads miss context-specific bypasses and chain opportunities | Route by observed behavior, then load specialized skill |

| "XSS/SQLi/SSRF are all I need" | Real engagements chain auth→IDOR→race→RCE; single-category testing leaves gaps | Follow the phase order: Recon → API/Auth/IDOR → Injection → Business Logic → Chain |

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

| "JWT attacks are just alg=none" | Real JWT attacks involve key confusion, JWKS abuse, claim tampering, kid manipulation | Verify alg/kid/JWKS/key source first, then choose attack vector |

| "BOLA is just changing IDs" | BOLA requires systematic testing across 8 categories with ORM filter chain analysis | Load IDOR skill for structured testing matrix |

| "I don't need recon, I know the target" | Asset discovery reveals shadow APIs, old versions, and forgotten endpoints | Always start with recon-for-sec |


When to Use

Use when:

Don't use for:


Operating Model: The HackSkills Router

Phase 1: Recon & Context Validation (Always First)

Collect before testing:

Phase 2: Route by Observed Behavior

| Signal | Priority Direction | Load Skill |

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

| Input reflects into HTML / JS | XSS / SSTI | xss-cross-site-scripting, ssti-server-side-template-injection |

| Server fetches URL / hostname | SSRF | ssrf-server-side-request-forgery |

| Accepts XML / Office / SVG | XXE | xxe-xml-external-entity |

| Path, filename, download controllable | Path Traversal / LFI | path-traversal-lfi |

| Many object IDs in APIs | IDOR / BOLA / BFLA | idor-broken-object-authorization |

| Login, reset, 2FA, sessions | Auth Bypass / JWT / OAuth | authbypass-authentication-flaws, jwt-oauth-token-attacks |

| Multi-step: coupons, pricing, inventory | Business Logic | business-logic-vulnerabilities |

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

| CLI tools, image processing, importers | Command Injection | cmdi-command-injection |

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

| Node.js __proto__ controllable | Prototype Pollution | prototype-pollution |

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

| Repeated params / WAF-app mismatch | HTTP Parameter Pollution | http-parameter-pollution |

| One-time ops (coupon/reset/invite) | Race Condition | race-condition |

| XML/XSLT processing | XSLT Injection | xslt-injection |

| .git/.svn/.env accessible | Insecure SCM | insecure-source-code-management |

| CSV/Excel export | CSV Formula Injection | csv-formula-injection |

| WebSocket upgrades | WebSocket Security | websocket-security |

| Internal package names | Dependency Confusion | dependency-confusion |

Phase 3: Testing Priority Order

  1. Recon / Methodology — recon-for-sec → recon-and-methodology
  2. API Security / Auth / IDOR — api-sec → api-authorization-and-bola, api-auth-and-jwt-abuse, idor-broken-object-authorization
  3. Injection Core — injection-checking → xss-cross-site-scripting, sqli-sql-injection, ssrf-server-side-request-forgery, ssti-server-side-template-injection, xxe-xml-external-entity
  4. Business Logic / Race — business-logic-vuln → business-logic-vulnerabilities, race-condition
  5. Chained Exploits / PrivEsc — OS/AD/container/mobile skills based on target

Workflow

  1. Install — npx skills add yaklang/hack-skills or clone the repo
  2. Start with Recon — Load recon-for-sec to map assets, tech stack, endpoints
  3. Route by Signal — Use the Phase 2 table to select category skill(s)
  4. Drill Deep — Load specific deep topic skill(s) for exploit details
  5. Chain & Escalate — Combine findings across categories for max impact
  6. Report — Document findings with reproduction steps, impact, remediation

Core Skill Map (101 Deep Topic Skills)

Reconnaissance & Methodology

API Security

Authentication & Authorization

Injection Attacks

File & Path Attacks

Business Logic & Session

Advanced Web Security

Infrastructure & Network

Linux & Container Security

Windows & Active Directory

macOS Security

Mobile Security

Binary Exploitation (Pwn)

Reverse Engineering

Cryptography Attacks

Blockchain & Smart Contract

AI/ML & LLM Security

Forensics & Steganography


High-Value Expert Intuitions

  1. Same filter reused across pages — if one bypassable, similar pages 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


Installation

# Via npx (preferred)
npx skills add yaklang/hack-skills

# Or raw URL
curl -fsSL https://raw.githubusercontent.com/yaklang/hack-skills/main/skills-hack/SKILL.md

# Offline ZIP (AES-256, password: hack-skills)
curl -fsSLO https://oss-qn.yaklang.com/hack-skills/latest/hack-skills.zip
7z x -phack-skills hack-skills.zip

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.