Zum Inhalt springen
Skillpedia
Sicherheit6.5k · #13950

bounty-hunting-methodology

Was er macht

Diese Fähigkeit beschreibt, wie man ein Open-Source-Projekt bewertet und seinen Code liest, um zu belegen, dass eine Schwachstelle ausnutzbar ist. Sie richtet sich an Forschende, die an einem autorisierten Bug-Bounty- oder Meldeprogramm teilnehmen.

Wann du ihn nutzt

  • ✓Wenn ein Forschender den Agenten bittet, ein Open-Source-Projekt mit Bug-Bounty- oder Meldeprogramm zu prüfen.
  • ✓Wenn der Agent vor der Prüfung die Vertrauensgrenzen und frühere Sicherheitshinweise des Projekts beurteilen muss.
  • ✓Wenn ein Bericht so klar sein muss, dass ein erfahrener Sicherheitsingenieur ihn annehmen kann.

Link zum Skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du dieses Open-Source-Projekt nach den Regeln seines Bug-Bounty-Programms prüfen und mir sagen, welche Befunde ich belegen kann?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Dein Agent prüft den Umfang des Programms und frühere Hinweise, liest den Code rund um zentrale Vertrauensgrenzen und behält nur Befunde, die er belegen kann.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Bug Bounty Hunting Methodology

You are not scanning. You are reading code, mapping architecture, and proving exploitability. Volume is the enemy — signal is the metric. Every report must survive triage by an experienced security engineer.

Target Assessment

The selected program and workflow determine effort allocation. Useful context for interpreting a supplied target includes:

  1. Exposure context: known deployments and dependency reach. Popularity alone does not establish technical impact or a reward multiplier.
  2. Trust boundary complexity: Does the app load config from untrusted sources? Handle plugins? Parse user-controlled serialized data? Multi-tenant auth? Complex trust boundaries = more attack surface.
  3. Security advisory history: Check github.com/advisories?query=<package>. Projects that accept and credit researchers will work with you. Projects with zero advisories are either very secure or don't have a disclosure process.
  4. Reward program: HackerOne, Bugcrowd, Immunefi, GitHub Security Advisories, Google VRP. Check scope, excluded vuln classes, and reward tiers.

Record the assessment as a node:

kg_add_node("repo", "<name>", props={"stars": N, "downloads_weekly": N,
  "has_security_policy": true, "advisory_count": N, "bounty_program": "hackerone"})

White-Box Methodology

This is the core loop. Fork. Read. Trace. Prove.

Step 1 — Map the project

find /workspace/target -name 'package.json' -o -name 'pyproject.toml' \
  -o -name 'go.mod' -o -name 'Cargo.toml' -o -name 'composer.json' | head -20

Identify: language, framework, entry points, config loading, auth middleware.

Step 2 — Map trust boundaries

Where does untrusted input enter the system? Trace these sources:

  • HTTP request params, headers, body
  • Environment variables and .env files
  • Config files from current directory (.gemini/settings.json, .vscode/settings.json)
  • Plugin/extension loading paths
  • Deserialization of user-controlled data (pickle, YAML, JSON with class hints)
  • IPC channels, WebSocket messages, MCP tool inputs

For each source, add an ENTRYPOINT node:

kg_add_node("entrypoint", "POST /api/upload body", props={"type": "http",
  "file": "routes/upload.py", "line": 42})

Step 3 — Identify crown jewels

What is the most valuable thing an attacker could reach?

  • Admin access / account takeover
  • RCE / command execution
  • Database contents / PII
  • Secret keys / credentials
  • File system read/write

Add CROWN_JEWEL nodes for each.

Step 4 — Trace source → sink

For each entrypoint, trace the data flow to dangerous sinks:

  • exec(), eval(), spawn(), subprocess.run(), os.system()
  • db.query() with string interpolation
  • render() / innerHTML with unescaped input
  • open() / readFile() with user-controlled paths
  • pickle.loads(), yaml.unsafe_load(), JSON.parse() with reviver
  • redirect() with unvalidated URLs

Use semgrep, grep, or bash to find sinks, then manually trace backwards to see if untrusted input reaches them without sanitization.

Step 5 — Prove or discard

Every finding MUST go through validate_finding with:

  • A working poc_command
  • success_patterns that uniquely match the exploit signal
  • A negative_command (same request without payload)
  • negative_patterns matching the baseline response
  • Full cvss_vector string

An unreproduced claim remains unverified. Distinguish an unavailable prerequisite from a control that refutes the hypothesis; preserve the evidence and limitations.

Mechanism families

These are investigation categories, not a universal payout or priority ranking:

  1. Remote Code Execution — deserialization, template injection, command injection, unsafe eval/exec, shell: true with user input.
  2. Access Control Bypass — IDOR, BOLA, missing ownership validation, broken function-level authorization.
  3. Authentication Bypass — token leakage, session fixation, OAuth state confusion, JWT alg=none, password reset flaws.
  4. Path Traversal / File Write — directory escape in upload/download handlers, session file storage with crafted IDs, zip slip.
  5. Server-Side Request Forgery — redirect bypass, DNS rebinding, cloud metadata access via internal URL parameters.
  6. Injection — SQLi, XSS (stored > reflected), LDAP injection, GraphQL injection.
  7. Information Disclosure — API key leakage, user enumeration via error codes, schema/debug
Häufige Fragen

Sagt die Fähigkeit, das ganze Projekt zu scannen?

Nein. Scannen ist nicht das Ziel. Der Agent soll den Code lesen und die Ausnutzbarkeit belegen.

Warum die Regeln des Programms prüfen?

Die Fähigkeit sagt, Umfang, ausgeschlossene Schwachstellenarten und Belohnungsstufen entscheiden, was sich zu melden lohnt.

Für wen ist sie gedacht?

Für Forschende, die innerhalb der Regeln eines Programms arbeiten und über dessen Verfahren melden.

Details

Originalbeschreibung des Autors

Bug bounty white-box hunting methodology. Load when the target is an open-source project with a security advisory program, bug bounty, or responsible disclosure policy.

repo: BitterSecurity/Decepticon

Beliebtheit

GitHub-Sterne
6.5k
Platz im Ranking
#13950
Lizenz
Apache-2.0
Aktualisiert
1.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills