Security Bounty Hunter
Use this when the goal is practical vulnerability discovery for responsible disclosure or bounty submission, not a broad best-practices review.
When to Use
- Scanning a repository for exploitable vulnerabilities
- Preparing a Huntr, HackerOne, or similar bounty submission
- Triage where the question is "does this actually pay?" rather than "is this theoretically unsafe?"
How It Works
Bias toward remotely reachable, user-controlled attack paths and throw away patterns that platforms routinely reject as informative or out of scope.
In-Scope Patterns
These are the kinds of issues that consistently matter:
| Pattern |
CWE |
Typical impact |
| SSRF through user-controlled URLs |
CWE-918 |
internal network access, cloud metadata theft |
| Auth bypass in middleware or API guards |
CWE-287 |
unauthorized account or data access |
| Remote deserialization or upload-to-RCE paths |
CWE-502 |
code execution |
| SQL injection in reachable endpoints |
CWE-89 |
data exfiltration, auth bypass, data destruction |
| Command injection in request handlers |
CWE-78 |
code execution |
| Path traversal in file-serving paths |
CWE-22 |
arbitrary file read or write |
| Auto-triggered XSS |
CWE-79 |
session theft, admin compromise |
Skip These
These are usually low-signal or out of bounty scope unless the program says otherwise:
- Local-only
pickle.loads, torch.load, or equivalent with no remote path
eval() or exec() in CLI-only tooling
shell=True on fully hardcoded commands
- Missing security headers by themselves
- Generic rate-limiting complaints without exploit impact
- Self-XSS requiring the victim to paste code manually
- CI/CD injection that is not part of the target program scope
- Demo, example, or test-only code
Workflow
- Check scope first: program rules, SECURITY.md, disclosure channel, and exclusions.
- Find real entrypoints: HTTP handlers, uploads, background jobs, webhooks, parsers, and integration endpoints.
- Run static tooling where it helps, but treat it as triage input only.
- Read the real code path end to end.
- Prove user control reaches a meaningful sink.
- Confirm exploitability and impact with the smallest safe PoC possible.
- Check for duplicates before drafting a report.
Example Triage Loop
semgrep --config=auto --severity=ERROR --severity=WARNING --json
Then manually filter:
- drop tests, demos, fixtures, vendored code
- drop local-only or non-reachable paths
- keep only findings with a clear network or user-controlled route
Report Structure
## Description
[What the vulnerability is and why it matters]
## Vulnerable Code
[File path, line range, and a small snippet]
## Proof of Concept
[Minimal working request or script]
## Impact
[What the attacker can achieve]
## Affected Version
[Version, commit, or deployment target tested]
Quality Gate
Before submitting:
- The code path is reachable from a real user or network boundary
- The input is genuinely user-controlled
- The sink is meaningful and exploitable
- The PoC works
- The issue is not already covered by an advisory, CVE, or open ticket
- The target is actually in scope for the bounty program
1---
2name: security-bounty-hunter
3description: 在仓库中寻找可利用、值得赏金的安全问题。专注于远程可访问的漏洞,这些漏洞符合实际报告的条件,而不是嘈杂的仅本地发现。
4origin: ECC direct-port adaptation
5version: "1.0.0"
6metadata:
7 source: https://skillmd.com/skills/azusagasaku/security-bounty-hunter
8---
9
10# Security Bounty Hunter
11
12Use this when the goal is practical vulnerability discovery for responsible disclosure or bounty submission, not a broad best-practices review.
13
14## When to Use
15
16- Scanning a repository for exploitable vulnerabilities
17- Preparing a Huntr, HackerOne, or similar bounty submission
18- Triage where the question is "does this actually pay?" rather than "is this theoretically unsafe?"
19
20## How It Works
21
22Bias toward remotely reachable, user-controlled attack paths and throw away patterns that platforms routinely reject as informative or out of scope.
23
24## In-Scope Patterns
25
26These are the kinds of issues that consistently matter:
27
28| Pattern | CWE | Typical impact |
29| --- | --- | --- |
30| SSRF through user-controlled URLs | CWE-918 | internal network access, cloud metadata theft |
31| Auth bypass in middleware or API guards | CWE-287 | unauthorized account or data access |
32| Remote deserialization or upload-to-RCE paths | CWE-502 | code execution |
33| SQL injection in reachable endpoints | CWE-89 | data exfiltration, auth bypass, data destruction |
34| Command injection in request handlers | CWE-78 | code execution |
35| Path traversal in file-serving paths | CWE-22 | arbitrary file read or write |
36| Auto-triggered XSS | CWE-79 | session theft, admin compromise |
37
38## Skip These
39
40These are usually low-signal or out of bounty scope unless the program says otherwise:
41
42- Local-only `pickle.loads`, `torch.load`, or equivalent with no remote path
43- `eval()` or `exec()` in CLI-only tooling
44- `shell=True` on fully hardcoded commands
45- Missing security headers by themselves
46- Generic rate-limiting complaints without exploit impact
47- Self-XSS requiring the victim to paste code manually
48- CI/CD injection that is not part of the target program scope
49- Demo, example, or test-only code
50
51## Workflow
52
531. Check scope first: program rules, SECURITY.md, disclosure channel, and exclusions.
542. Find real entrypoints: HTTP handlers, uploads, background jobs, webhooks, parsers, and integration endpoints.
553. Run static tooling where it helps, but treat it as triage input only.
564. Read the real code path end to end.
575. Prove user control reaches a meaningful sink.
586. Confirm exploitability and impact with the smallest safe PoC possible.
597. Check for duplicates before drafting a report.
60
61## Example Triage Loop
62
63```bash
64semgrep --config=auto --severity=ERROR --severity=WARNING --json
65```
66
67Then manually filter:
68
69- drop tests, demos, fixtures, vendored code
70- drop local-only or non-reachable paths
71- keep only findings with a clear network or user-controlled route
72
73## Report Structure
74
75```markdown
76## Description
77[What the vulnerability is and why it matters]
78
79## Vulnerable Code
80[File path, line range, and a small snippet]
81
82## Proof of Concept
83[Minimal working request or script]
84
85## Impact
86[What the attacker can achieve]
87
88## Affected Version
89[Version, commit, or deployment target tested]
90```
91
92## Quality Gate
93
94Before submitting:
95
96- The code path is reachable from a real user or network boundary
97- The input is genuinely user-controlled
98- The sink is meaningful and exploitable
99- The PoC works
100- The issue is not already covered by an advisory, CVE, or open ticket
101- The target is actually in scope for the bounty program