Back to Skills

hack

Entry P0 primary router for HackSkills. Use when the task involves web application testing, API security assessment, recon, vulnerability triage, exploit path planning, or choosing the right next category skill before any deep topic skill.

1,235stars172forksUpdated 6/29/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About hack

A top-level routing skill for bug bounty, web security, API security, and authorized penetration testing engagements. Rather than performing any single attack technique itself, it acts as a P0 primary router ("HackSkills") that helps an agent decide the testing phase, pick the correct vulnerability category, and load the right specialized topic skill before diving into payloads. The stated goal is to replace ad-hoc reliance on baseline model memory with a structured methodology that catches the boundary conditions real engagements hinge on.

The operating model runs in three steps: start with recon and context validation (identifying target type, identity and permission model, input locations, and output locations), route by observed behavior, then proceed through a likely-to-hit testing order. A signal-to-direction table maps observations to categories — for example, input reflecting into HTML or JS points to XSS or SSTI, a server fetching attacker-controlled URLs points to SSRF, many object IDs in APIs point to IDOR/BOLA/BFLA, and HTTP parsing anomalies point to request smuggling. From there it links out to a large core skill map covering XSS, SQLi, SSRF, XXE, SSTI, IDOR, command injection, path traversal, CSRF, JWT/OAuth, SAML, NoSQL injection, prototype pollution, race conditions, and many more.

Use this skill first when receiving a new bug bounty target, when unsure whether to load XSS/SQLi/SSRF/IDOR/JWT/API tracks, or when routing scattered findings to the right attack surface. It also encodes high-value expert intuitions baseline models often miss — reused filtering logic across pages, parameter names as an attack surface, second-order vulnerabilities, BOLA as authenticated-but-unauthorized, unpatched older API versions, and checking JWT key and algorithm context before spraying payloads. A trust model section stresses use only within authorized targets, legitimate research, defensive validation, and bug-bounty-approved rules.

FAQ

When should I use this skill versus a specific vulnerability skill?

Use it first, before deep topic skills, when you have a new target and need to decide the testing phase and which category to load. Once routed, it directs you to the specific main skill (XSS, SQLi, IDOR, etc.) for actual payloads.

How does it decide which vulnerability category to test?

It routes by observed behavior using a signal-to-direction table — for example, input reflecting into HTML/JS suggests XSS/SSTI, controllable download paths suggest Path Traversal/LFI, and many object IDs in APIs suggest IDOR/BOLA/BFLA.

What are the constraints on using these techniques?

The trust model limits use to authorized targets, legitimate research, defensive validation, and bug-bounty-approved rules. The doc explicitly states not to use these techniques for unauthorized attacks.

What testing order does it recommend?

Recon/methodology first, then API Security/Auth/IDOR, then XSS/SQLi/SSRF/SSTI/XXE, then business logic and race conditions, and finally chained exploits and privilege-escalation paths.

Does it cover API-specific vulnerabilities?

Yes. It calls out BOLA, BFLA, and Mass Assignment, links an API Security Router and JWT/OAuth skills, and advises that older API versions are most likely to miss patches.

Install hack

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill