Hack

From ShulkwiSEC/bb-huge · View interactive version

Hack is an AI agent skill from the GitHub repository ShulkwiSEC/bb-huge. 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.

How to use this skill

Skill file

HACKING SKILLS / HackSkills

Overview

This is a top-level routing skill for bug bounty, web security, API security, and authorized penetration testing.

Its core role is not to replace all specialized techniques, but to help the agent:

  1. First determine the testing phase (Recon / Validation / Privilege Escalation / Chain building)
  2. Then select the correct vulnerability category
  3. Avoid relying only on baseline model memory; prefer structured methodology
  4. Prioritize boundary conditions AI often misses but that matter in real engagements

Trust Model

When to Use This Skill

Use this skill first in the following scenarios:

Operating Model

Step 1: Start with Recon and context validation

Collect first:

Step 2: Route by observed behavior

| Signal | Priority direction |

|---|---|

| Input reflects into HTML / JS | XSS / SSTI |

| Server actively fetches URL / hostname | SSRF |

| Accepts XML / Office / SVG | XXE |

| Path, filename, or download endpoint is controllable | Path Traversal / LFI |

| Many object IDs appear in APIs | IDOR / BOLA / BFLA |

| Login, reset password, 2FA, sessions | Auth Bypass / JWT / OAuth |

| Multi-step transactions, coupons, pricing, inventory | Business Logic |

| MongoDB / JSON query syntax exposure | NoSQL Injection |

| CLI tools, image processing, importers | Command Injection |

| HTTP parsing anomalies / front-back framing mismatch | Request Smuggling |

| Node.js JSON handling / controllable __proto__ | Prototype Pollution |

| PHP weak comparison / 0e hash / loose conditions | Type Juggling |

| Repeated parameter names / WAF-app parsing mismatch | HTTP Parameter Pollution |

| One-time operations (coupon/inventory/reset) | Race Condition |

| XML/XSLT template processing | XSLT Injection |

| Accessible .git/.svn/.env paths | Insecure SCM |

| CSV/Excel export features | CSV Formula Injection |

| WebSocket protocol upgrades | WebSocket Security |

| Internal package names / supply-chain inventory | Dependency Confusion |

Step 3: Use the most likely-hit testing order

  1. Recon / Methodology
  2. API Security / Auth / IDOR
  3. XSS / SQLi / SSRF / SSTI / XXE
  4. Business Logic / Race Condition
  5. Chained exploits and privilege-escalation paths

Core Skill Map

If you have the full repository, prioritize using these topic documents together:

Previously separate mini skills such as payload-selection and brute-selection were merged back into their main skills to avoid router overload and selection noise.

High-Value Expert Intuitions

These are points many baseline models miss, but they are frequently effective in real bug bounty work:

  1. The same filtering logic is often reused across multiple pages: if one point is bypassable, similar pages usually are too.
  2. Parameter names are an attack surface too: WAFs often inspect values but not names.
  3. Second-order vulnerabilities are common: safe at storage time does not mean safe when later read into a dangerous context.
  4. BOLA is fundamentally 'authenticated but unauthorized': replaying with account A/B switching is critical.
  5. Older API versions are most likely to miss patches: fixing v2 does not mean v1 was retired.
  6. Business-logic vulnerabilities often bring highest impact: scanners miss them and they persist longer.
  7. Race conditions should prioritize one-time actions: coupon redemption, claims, resets, invites, trials, inventory deduction.
  8. For JWT attacks, check key and algorithm context first: do not blindly spray payloads; verify alg, kid, JWKS, and key source first.

Suggested Prompts

Use this skill as a router to make the agent clarify phase and goal first:

Installation Notes

Recommended skill name:

Recommended search keywords:

Guidelines

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.