submit
GitHub用于在漏洞赏金平台起草并提交安全报告。流程包括读取范围和发现详情,生成符合平台规范的草稿,经用户确认后提交,并更新项目状态记录。
Trigger Scenarios
Install
npx skills add H-mmer/pentest-agents --skill submit -g -y
SKILL.md
Frontmatter
{
"name": "submit",
"description": "Draft and submit a vulnerability report to the bug bounty platform. Reads scope.yaml for platform\/program, uses brain + findings for content. Always drafts first for review.",
"disable-model-invocation": false
}
Prepare and submit a report for finding: $ARGUMENTS
Workflow:
0. Read rules/identities.md to learn which env vars hold the researcher handle, email alias, and API token for the platform identified in step 1. NEVER hardcode a username or email; always reference the env-var symbol. If a required var is unset, abort with error: <VAR> is not set; refusing to guess and surface it to the user.
- Read
scope.yamlto determine the platform and program handle. - Read the finding details from brain/findings/poc directory matching "$ARGUMENTS".
- Use MCP tool
draft_reportto create a platform-formatted draft:- Format title as:
[Vuln Type] in [Component] allows [Impact] via [Vector] - Include CVSS vector string (CVSS 3.1 for HackerOne, CVSS 4.0 for all others)
- Map vulnerability type to platform-specific taxonomy (H1 weakness IDs, Bugcrowd VRT)
- Include all reproduction steps, impact, and remediation
- Format title as:
- Show the draft to the user and ASK FOR CONFIRMATION before submitting.
- ONLY after explicit user approval, use MCP tool
submit_reportto submit. - After submission, update the brain:
uv run python3 $CLAUDE_PROJECT_DIR/tools/brain.py record <target> confirmed <technique> "Submitted as report #<id> on <platform>" - Update findings.json status to "reported".
IMPORTANT: NEVER submit without showing the draft and getting explicit user confirmation.
Top-Tier Submission Discipline
Submission is a controlled release.
Before asking for approval, verify:
/validatePASS or explicit accepted equivalent exists/qualityscore is acceptable and blocking issues are fixed/dupcheckresult is included or intentionally skipped with reason- all evidence paths exist on disk
- platform taxonomy, severity, and CVSS version match the platform
- no secrets, customer data, or prohibited artifacts are over-shared
- remediation is actionable and scoped to the root cause
Show the user the final title, severity, platform, target asset, evidence list, and any residual risk. If anything changed after draft generation, re-run quality before submission.
Version History
- 41d49b6 Current 2026-07-24 11:57


