Logo vun Bb Methodology

Bb Methodology

Communautéit
26zl
bb-methodology

Use at the START of any bug bounty hunting session, when switching targets, or when feeling lost about what to do next. Master orchestrator that combines the 5-phase non-linear hunting workflow with the critical thinking framework (developer psychology, anomaly detection, What-If experiments). Routes to all other skills based on current hunting phase. Also use when asking "what should I do next" or "where am I in the process."

Iwwersiicht

Editeur26zl
Repositorycybersec-toolkit
Skill-Nummbb-methodology
Stären
95
Forks
18
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum 26zl op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Bb Methodology an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/26zl/cybersec-toolkit/tree/main/.claude/skills/bb-methodology
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/26zl/cybersec-toolkit.git /tmp/cybersec-toolkit
mkdir -p .claude/skills
cp -r /tmp/cybersec-toolkit/.claude/skills/bb-methodology .claude/skills/bb-methodology
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Bb Methodology an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Bb Methodology automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Bb Methodology net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Vendored note (this repo). Adapted from the standalone claude-bug-bounty project. The upstream executable scaffolding — helper scripts (tools/*.py, tools/*.sh), the standalone wordlists/ pipeline, and slash-commands (/recon, /hunt, /validate, /report, …) — is not bundled here: run tooling through the MCP server (run_tool / run_pipeline / run_script) and install via the project installer/registry. Any static deep-dive files this skill needs are vendored into its own references/ folder, and cross-skill references resolve by skill name (e.g. the bb-methodology skill). Some named tools may not be in tools_config.json yet — add them with the add-tool skill or install upstream.

Bug Bounty Methodology: Workflow + Mindset

Master orchestrator for hunting sessions. Combines the 5-phase non-linear workflow with the critical thinking framework that separates top 1% hunters from the rest.


PART 1: MINDSET (How to Think)

Core Principle

Hunting is not "find a bug" -- it is "prove an attack scenario." Think like an attacker with a specific goal, not a scanner looking for patterns.

Daily Discipline: Define, Select, Execute

Before touching any tool:

  1. Define: "Today I target [feature/domain] to achieve [CIA impact]"
  2. Select: Choose 1-2 vuln classes (IDOR, Race Condition, etc.)
  3. Execute: Focus ONLY on selected techniques. No wandering.

5 Ultimate Goals (Pick One Per Session)

  1. Confidentiality -- steal data the attacker shouldn't see
  2. Integrity -- modify data the attacker shouldn't change
  3. Availability -- disrupt service (app-level DoS only)
  4. Account Takeover -- control another user's account
  5. RCE -- execute commands on the server

4 Thinking Domains

1. Critical Thinking (deep analysis)

Question trust boundaries:

  • Frontend control disabled? Send request directly via proxy
  • user_role=user cookie? Change to admin
  • price=1000 in POST? Change to 1
  • <script> blocked? Try <img onerror=...>

Reverse-engineer developer psychology:

  • Feature A has auth checks -> Similar feature B (newly added) probably doesn't
  • Complex flows (coupon + points + refund) -> Edge cases have bugs
  • /api/v2/user exists -> Does /api/v1/user still work with weaker auth?

What-If experiments:

  • Skip checkout -> hit /checkout/success directly
  • Skip 2FA -> navigate to /dashboard
  • Send coupon request 10x simultaneously -> Race condition?
  • Replace guid=f8a2... with id=100 on sibling endpoint -> IDOR?
2. Multi-Perspective (multiple angles)
PerspectiveWhat to check
Horizontal (same role)User A's token + User B's ID -> IDOR
Vertical (different role)Regular user -> /admin/deleteUser
Data flow (proxy view)Hidden params in JSON: debug=false, discount_rate
Time/StateRace conditions, post-delete session reuse
Client environmentMobile UA -> legacy API with weaker auth
Business impact"What's the $ damage if this breaks?"
3. Tactical Thinking (pattern detection)
  • Naming anomaly: userId everywhere but suddenly user_id -> different dev, weaker security
  • Error diff: Same 403 but different JSON structure -> different backend systems
  • Environment diff: Prod vs Dev/Staging -> debug headers, CSP disabled
  • Version diff: JS file before/after update -> new endpoints, removed params
  • Supply chain: Check framework/library versions for known CVEs
  • Third-party integration: Stripe/Auth0/Intercom -> webhook signature missing?
4. Strategic Thinking (big picture)
  • Asymmetry: Defender must patch ALL holes. You only need ONE.
  • Intuition engineering: Log why something "feels wrong." Verify later. Update mental DB.
  • Unknown management: Can't understand something? Add to "investigate later" list. Just-in-Time Learning.
5. AI-Assisted Thinking (model as a second analyst)

Use AI to expand hypotheses, not to declare verdicts. The model is a fast adversarial planner; the browser, proxy, and live requests are the proof layer.

  • Decompose the feature: ask for actors, assets, entry points, state transitions, and trust boundaries.
  • Generate sibling paths: versioned endpoints, mobile routes, legacy APIs, alternate roles, and admin-only variants.
  • Build a role matrix: anonymous, user A, user B, stale session, fresh session, admin, service account.
  • Ask for dev shortcuts: "Where would a tired developer skip a check or reuse a helper?"
  • Ask for chains: "If this bug is real, what bug B and C sit next to it?"
  • Turn ideas into requests: every AI suggestion must become a single reproducible HTTP experiment.
  • Kill weak signals fast: if AI cannot point to a concrete request, response diff, or cross-account delta, the idea stays as a hypothesis.

High-signal prompts:

  • "Given this endpoint and feature, list the 10 most likely trust-boundary mistakes."
  • "What sibling endpoints, methods, or roles should I test next?"
  • "Which bug class would a rushed implementation likely miss here?"
  • "What does the smallest proof request look like?"
  • "What would make this become a real report instead of a scanner hit?"

Amateur vs Pro: 7-Phase Comparison

PhaseAmateurPro
ReconMain domain onlyShadow IT, dev environments, all assets
DiscoveryLook for errorsLook for design contradictions, business logic flaws
ExploitGive up when blockedBuild filter-bypass payloads
EscalationReport the phenomenon onlyChain to real harm (session steal, ATO)
FeasibilityInclude unrealistic conditionsMinimize attack prerequisites
ReportingState facts onlyQuantify business risk
RetestCheck if old PoC failsAnalyze fix method, find incomplete patches

Two Approach Routes

  • Route A (Feature-based): "This feature is complex" -> deep-dive its input handling -> find vuln
  • Route B (Vuln-based): "I want IDOR" -> find endpoints with sequential IDs -> test access control

Anti-Patterns (Stop Doing These)

  • Program hopping: Stick with one target minimum 2 weeks / 30 hours
  • Tool-only hunting: Automation finds duplicates. Manual testing finds unique bugs.
  • Rabbit hole: Max 45 min per parameter. Set a timer. If stuck, sleep on it.
  • No goal: "Just looking around" = wasted time. Always Define first.

PART 2: WORKFLOW (What to Do)

The 5-Phase Non-Linear Flow

+-------------------------------------------------+
|                                                 |
|  +----------+    +----------+    +----------+   |
|  | 1. RECON |---+| 2. MAP   |---+| 3. FIND  |  |
|  +----------+    +-----+----+    +-----+-----+  |
|       ^                |               |         |
|       |                v               v         |
|       |          +----------+    +----------+    |
|       +----------| 4. PROVE |---+| 5. REPORT|   |
|                  +----------+    +----------+    |
|                                                  |
|  Non-linear: stuck at any phase -> go back       |
|  New API found at phase 3 -> return to phase 2   |
|  WAF blocks at phase 4 -> origin IP from phase 1 |
+-------------------------------------------------+

THIS IS NOT LINEAR. Move freely between phases. When stuck, return to a previous phase.

Phase 0: SESSION START (Every Time)

Before touching any tool, answer these:

  1. Define: "Today I target [feature/domain] to achieve [C/I/A/ATO/RCE]"
  2. Select: Choose 1-2 vuln classes (IDOR, XSS, SSRF, etc.)
  3. Execute: Focus ONLY on selected techniques
  4. Identity: Anonymous or authenticated? If the bugs you're hunting need a session (IDOR, BOLA, privilege escalation, auth bypass, mass-assignment), pass the target's auth header (-H 'Cookie: …' / -H 'Authorization: Bearer …') to each MCP run_tool call (httpx, katana, ffuf, nuclei, dalfox, PoC verifiers). The MCP audit log redacts credential-shaped strings before writing.

Route selection -- Wide or Deep?

SignalWide (recon sweep)Deep (focused testing)
New program, first dayX
Wildcard scope *.target.comX
Main webapp, been here >3 daysX
Scope update (new domain added)X
Found interesting subdomainX
Hunting IDOR / BOLA / auth bugsX (auth-aware)

Phase 1: RECON

Goal: Maximize attack surface. Find what others missed.

Wide approach (initial sweep):

Subdomain enum -> DNS resolution -> HTTP probing -> Port scan -> Tech detect

Deep approach (targeted):

Google Dorks -> JS file download -> Hidden param discovery -> API mapping
What you findNext action
Live subdomains with tech stackPhase 2 (Mapping)
Known software (WordPress, Jira)Check CVEs + defaults immediately
Cloud resources (S3, Firebase)Test permissions (read/write/list)
Nothing after 5 min on a hostSkip, try next host (5-minute rule)

Recon: run the web2-recon skill against target.com (subfinder/httpx/katana/nuclei via MCP run_tool).

Phase 2: MAPPING & ANALYSIS

Goal: Understand the app like its developer does.

Checklist:

  • Map all endpoints (Burp/Caido sitemap + JS analysis)
  • Identify auth model (cookie, JWT, OAuth, SAML?)
  • Find business-critical flows (payment, registration, password reset, data export)
  • Download and analyze JS files for hidden routes, secrets, logic
  • Identify roles and permissions (user, admin, API keys)
  • Note "weird" behaviors (anomalies in naming, errors, timing)
What you findNext action
JS files with interesting codeTaint analysis (Sink -> Source)
OAuth/SAML authenticationOAuth/SAML checklist
API with ID parametersPhase 3, target IDOR
Complex business logic (payment, coupon)Phase 3, target BizLogic
postMessage listenersDOM analysis, postMessage-tracker

Phase 3: VULNERABILITY DISCOVERY

Goal: Find the bug. Use Error-based first, then Blind-based.

Decision flow based on what you're testing:

What input are you testing?
+-- ID parameter (user_id, order_id)
|   -> IDOR checklist
+-- Search/filter/sort field
|   -> SQLi, NoSQLi probing
+-- URL input / webhook / PDF gen
|   -> SSRF checklist
+-- Text field reflected in page
|   -> XSS (DOM or reflected)
+-- File upload
|   -> SVG XSS, web shell, path traversal
+-- Price/quantity/coupon
|   -> Business logic, race conditions
+-- Login / 2FA / password reset
|   -> Auth bypass
+-- Profile update API
|   -> Mass Assignment
+-- Template / wiki editor
|   -> SSTI
+-- Nothing obvious
    -> Fuzz with ffuf, try Error-based probing

Error vs Blind decision:

  1. Try Error-based first (send ', ", {{7*7}}, ${7*7}) -- watch for 500 errors, stack traces
  2. No error? Time-based (SLEEP(10), ; sleep 10;) -- watch response time
  3. No time diff? OOB (curl attacker.com, interactsh) -- watch for DNS callback
  4. Still nothing? Boolean (AND 1=1 vs AND 1=0) -- watch content-length diff
What you findNext action
Low-impact behavior (redirect, self-XSS, cookie injection)Chain it -- find a connector gadget
Confirmed vuln (XSS, IDOR, SQLi)Phase 4 (Prove and Escalate)
Blocked by WAF/CSP/403Bypass techniques, then retry
Known software vuln (CVE)1-day speed workflow
Nothing after 20 min on this endpointRotate (20-minute rule)

Phase 4: PROVE & ESCALATE

Goal: Prove maximum business impact. Turn Low into Critical.

Escalation decision:

What did you find?
+-- XSS
|   +-- Can steal cookie/token? -> Session hijack -> ATO
|   +-- Cookie is HttpOnly? -> Force email change via XHR -> ATO
|   +-- Self-XSS only? -> Find CSRF to trigger it
+-- IDOR
|   +-- Can read PII? -> Automate scraping, show scale
|   +-- Can change password/email? -> Direct ATO
|   +-- UUID only? -> Find UUID leak source, then retry
+-- SSRF
|   +-- DNS only? -> DON'T REPORT. Try cloud metadata
|   +-- Can reach 169.254.169.254? -> Extract keys -> RCE
|   +-- Internal port scan? -> Find Redis/K8s -> RCE
+-- SQLi
|   +-- Error-based? -> Extract data (passwords, tokens)
|   +-- Can INTO OUTFILE? -> Web shell -> RCE
|   +-- Blind? -> Boolean/Time extraction
+-- Open Redirect
|   +-- OAuth flow? -> Token theft -> ATO
|   +-- javascript: scheme? -> XSS
+-- Blocked by defense
|   -> Bypass (WAF/CSP/proxy/sanitizer/2FA)
+-- Low-impact, can't escalate alone
    -> Find connector gadget for chain

After proving impact, check:

  • Can attack work with 0-1 clicks? (minimize prerequisites)
  • Does it affect all users or specific role?
  • What's the business $ impact?

Phase 5: VALIDATE & REPORT

Goal: Get paid. Make triager's job easy.

Pre-report gate:

Run the triage-validation skill (7-Question Gate)
+-- All 7 pass? -> Write report
+-- Any fail? -> KILL the finding. Don't waste time.
+-- Borderline? -> Run the finding-triage coordinator for quick go/no-go

Report:

Run the report-writing skill
+-- Platform-specific format (H1/Bugcrowd/Intigriti/Immunefi)
+-- Title: [Bug Class] in [Endpoint] allows [role] to [impact]
+-- Impact-first summary (sentence 1 = what attacker CAN do)
+-- Exact HTTP requests in Steps to Reproduce
+-- Under 600 words
+-- CVSS 3.1 score that MATCHES actual impact

After submission:

  • While waiting for triage: try to escalate further (A->B signal method)
  • If fix deployed: re-test for bypass (incomplete patch = new bug)
  • Record finding with /remember for hunt memory

PART 3: NAVIGATION & TIMING

Non-Linear Navigation Quick Reference

I'm stuck because...Go to...
Can't find any subdomainsPhase 1: Try different recon sources, Google Dorks
Found subdomain but don't know what to testPhase 2: Map the app, download JS, understand auth
Testing but nothing worksPhase 3: Switch vuln class (20-min rotation rule)
Found a bug but impact is lowPhase 4: Escalation paths or gadget chaining
WAF/CSP/403 blocking my payloadBypass techniques, then return to current phase
Been stuck for 45 min on one paramSTOP. Rabbit hole. Move to next endpoint.
New API endpoint discovered during testingReturn to Phase 2: map it before attacking
Found one bugA->B signal: same dev made more mistakes. Hunt 20 min for siblings.

20-Minute Rotation Clock

Every 20 minutes ask yourself: "Am I making progress?"

  • Yes -> Continue
  • No -> Rotate to next: endpoint -> subdomain -> vuln class -> target
  • Been on same target 2+ weeks with no findings? -> Consider switching program

Tool Routing by Phase

PhaseToolsWhy this order
Recon: Subdomainssubfinder -> amass -> puredns -> httpxPassive first (no detection) -> resolve DNS -> probe HTTP + tech stack
Recon: URLsgau + waymore -> katana -> uroArchive (forgotten endpoints) -> active crawl (JS-rendered) -> deduplicate
Recon: JSjsluice + mantra + trufflehog --only-verifiedExtract URLs/secrets -> find API keys -> verify keys actually work
Recon: Portsnaabu (wide) -> rustscan (deep)Fast top-1000 sweep -> full 65535 on interesting targets
Recon: Scannuclei -tags cve -> nuclei -tags takeoverKnown CVEs first -> then takeover (act immediately)
Mapping: Paramsarjun + paramspider + ParamMinerBrute-force hidden params + mine archives + cache headers
Mapping: JS codeDownload -> jsluice -> VS Code/Cursor grepExtract -> static analysis -> AI-assisted taint analysis
Mapping: DorksManual Google DorksCustom per-target queries find what automation misses
Discovery: Fuzzffuf -ac + cewl custom wordlistAuto-calibrate filtering + target-specific words beat generic lists
Discovery: XSSkxss -> dalfoxFilter (which params reflect?) -> scan (only reflective params)
Discovery: SQLighauriModern blind SQLi on ID-like parameters
Discovery: SSRFinteractsh-clientSelf-hosted OOB listener for blind SSRF/XXE/RCE
Discovery: WAFwafw00f -> whatwafIdentify WAF vendor -> test bypass techniques
Exploit: 403byp4xx or nomore40320+ bypass techniques automated
Exploit: TakeoversubzyChecks CNAME against 70+ vulnerable services
Exploit: Clouds3scanner + aws CLIScan bucket permissions -> extract metadata credentials
Exploit: Secretstrufflehog --only-verifiedOnly verified working keys (no false positives)

Session End Checklist

  • Save all Burp/Caido project files
  • Record any "weird but not yet exploitable" behaviors (future gadgets)
  • Update notes with failed attempts (don't re-test with same techniques)
  • Log findings with /remember

Heefeg gestallte Froen

Wat mécht de KI-Skill Bb Methodology?

Use at the START of any bug bounty hunting session, when switching targets, or when feeling lost about what to do next. Master orchestrator that combines the 5-phase non-linear hunting workflow with the critical thinking framework (developer psychology, anomaly detection, What-If experiments). Routes to all other skills based on current hunting phase. Also use when asking "what should I do next" or "where am I in the process."

Firwat Bb Methodology op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Bb Methodology besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Bb Methodology an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/26zl/cybersec-toolkit/tree/main/.claude/skills/bb-methodology an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Bb Methodology benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Bb Methodology benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Bb Methodology domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Bb Methodology gratis?

Jo. De Skill gëtt vum 26zl ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇