Gh export

From ShulkwiSEC/bb-huge · View interactive version

Gh export is an AI agent skill from the GitHub repository ShulkwiSEC/bb-huge. Formats all confirmed pentest findings from findings.json into copy-pasteable GitHub issue markdown blocks, following the AppSec reporting guide template.

How to use this skill

Skill file

GitHub Issue Export

Purpose

Read findings.json from the current pentest session and produce one copy-pasteable GitHub issue markdown block per confirmed finding.

Each block follows the AppSec reporting guide format — concrete impact, reproducible steps, raw PoC — so developers can act immediately without back-and-forth.

Workflow

  1. Read findings.json from the repo root (or the path provided in $ARGUMENTS if given)
  2. For each entry in findings[].findings (skip diagram entries):
  1. Write all formatted blocks to gh-issues.md in the repo root, separated by ---, with a header line # GitHub Issues — <target> — <date> at the top. Create or overwrite the file.
  2. Print all blocks consecutively with a --- separator between them
  3. After the last block, print a one-line summary: X issue(s) ready to file — saved to gh-issues.md and copied above.

Output Template

For every finding, output exactly this structure (omit ## Browsers Verified In for non-browser/non-web findings):

~~~markdown

Summary: <one sentence: what the vulnerability is and which component/endpoint is affected>

Impact: <what an attacker can concretely do — name the data exposed, the privilege gained, or the service disrupted. Never write "could lead to" — write "allows an attacker to". One short paragraph.>

Severity Level: <Critical | High | Medium | Low>

Steps To Reproduce:

  1. <exact first step — full URL, parameter name, payload>
  2. <exact second step>
  3. <what to observe in the response that confirms the issue>

PoC

<paste the raw curl command, HTTP request from pocs/*.http, or tool output excerpt that proves exploitability>

Supporting Material/References:

Remediation

<if the finding has a remediation field, include this section — otherwise omit it entirely>

Effort: <effort level> | Breaking change: <Yes/No>

<paste the diff from remediation.diff, or show before/after from remediation.before and remediation.after>

File: <remediation.file>:<remediation.line>

Verification: <remediation.verification — how to confirm the fix worked>

References:

~~~

Rules

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.