security-hunt
Skill3 starsChanged 8 days agoMITView on GitHub
Use when reviewing your own code or product for exploitable, remotely reachable vulnerabilities (SSRF, auth bypass, injection, RCE, path traversal, XSS). Keeps only findings where user input provably reaches a meaningful sink; drops noisy local-only patterns.
In this repository12 other files it gives its agents.
- adversarial-reviewSkill
- agent-workdirSkill
- airgapSkill
- db-migrationsSkill
- delegateSkill
- docker-packagingSkill
- handoffSkill
- impeccableSkill
- run-validationSkill
- ship-auditSkill
- skill-critiqueSkill
- web-perimeter-auditSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this to find exploitable issues in your own code and products, not for a broad best-practices review.
- Distinctive: line 46
Run static tooling where it helps, but treat it as triage input only.
- Distinctive: line 47
Read the real code path end to end.
- Distinctive: line 50
Check whether the issue is already tracked before writing it up.
- Distinctive: line 64
keep only findings with a clear network or user-controlled route
- Distinctive: line 90
Before reporting a finding:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security hunt
Use this to find exploitable issues in your own code and products, not for a broad best-practices review. Bias toward remotely reachable, user-controlled attack paths and throw away patterns that are local-only or theoretical.
When to use
- Scanning a repository for exploitable vulnerabilities before release
- Triage where the question is "can someone actually exploit this?" rather than "is this theoretically unsafe?"
For edge and header checks on a deployed site, use web-perimeter-audit.
Patterns that 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
Usually low-signal unless there is a concrete remote path or impact:
- Local-only
pickle.loads,torch.loador equivalent with no remote path eval()orexec()in CLI-only toolingshell=Trueon 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, unless the pipeline is part of this review
- Demo, example or test-only code
Workflow
- Set scope: which repo, services and deployments are under review.
- 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 input reaches a meaningful sink.
- Confirm exploitability and impact with the smallest safe PoC, against a local or staging instance.
- Check whether the issue is already tracked before writing it up.
Triage loop
semgrep --config=auto --severity=ERROR --severity=WARNING --json--config=auto pulls rules from the Semgrep registry over the network. For offline targets, point --config at a local ruleset (a vendored rules file or directory) instead.
Then filter by hand:
- drop tests, demos, fixtures, vendored code
- drop local-only or non-reachable paths
- keep only findings with a clear network or user-controlled route
Finding format
## 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 an attacker can achieve]
## Affected version
[Version, commit, or deployment tested]
## Fix
[Smallest change that closes the path]Quality gate
Before reporting a finding:
- 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 tracked, or already covered by a known advisory for a dependency
Adapted from affaan-m/everything-claude-code (MIT) @3f14a10: security-bounty-hunter.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

