surface
Show ranked attack surface for a target based on recon output + hunt memory. Invokes recon-ranker agent. Usage: /surface target.com
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/surface.md https://raw.githubusercontent.com/awarexone/Agentic-Bug-Hunter/HEAD/commands/surface.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/surface.md https://raw.githubusercontent.com/awarexone/Agentic-Bug-Hunter/HEAD/commands/surface.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source β
---
description: Show ranked attack surface for a target based on recon output + hunt memory. Invokes recon-ranker agent. Usage: /surface target.com
---
# /surface
View the prioritized attack surface for a target.
## What This Does
1. Reads cached recon output from `recon/<target>/`
2. Reads hunt memory for patterns and previously tested endpoints
3. Invokes the `recon-ranker` agent to produce a prioritized ranking
4. Outputs P1 (start here), P2 (after P1), and Kill List (skip)
## Usage
```
/surface target.com
```
## Prerequisites
Run `/recon target.com` first. If no recon data exists, you'll be prompted to run recon.
## Output
```
ATTACK SURFACE: target.com
βββββββββββββββββββββββββββββββββββββββ
Priority 1 (start here):
1. api.target.com/v2/users/{id} β IDOR candidate
Tech: Express + PostgreSQL | First seen 12 days ago
Suggested: numeric ID swap on GET/PUT/DELETE
2. api.target.com/graphql β introspection enabled, 47 mutations
Suggested: field-level auth check on sensitive mutations
Priority 2 (after P1):
1. cdn.target.com:8443/upload β file upload endpoint
Suggested: extension bypass, magic bytes
Kill List (skip):
- static.target.com β CDN only
- docs.target.com β third-party hosted
Memory:
- Pattern from alpha.com (same tech): auth bypass via method override ($800)
- 3 endpoints tested in previous session, 5 remain
```