Tooluck logoTooluck
SKILL.md

attack-surface-mapping

Agent skill fromyaklang/hack-skills

Draw a testable attack surface from one authorized target URL or one application. Use when the user says 攻击面, 供给面, 画攻击面, map the surface, application recon, find the business host, JS inventory, or when the only visible page is login. Derive hosts, APIs, keys, and the object graph from what the app already exposes. Do not open with directory brute or payload spray. Use when the user runs /attack-surface-mapping.

How to install attack-surface-mapping

install attack-surface-mapping
# install the hack-skills pack with the skills CLI
npx skills add yaklang/hack-skills

# or add only this skill to Claude Code: copy the folder

skills/attack-surface-mapping/

# into

~/.claude/skills/attack-surface-mapping/ (all projects)

.claude/skills/attack-surface-mapping/ (one project)

skills/attack-surface-mapping/SKILL.md

MITFull file
1# Attack Surface Mapping
2
3Given **one target** and **one application**, draw the surface from what that application already exposes. Then stop. Testing lives in other skills.
4
5This skill is the fast path. Success is a portrait plus a host/API inventory plus a key table plus response-class labels plus an object graph. A probe count is not success.
6
7Field patterns for where the rest of the surface actually lives: [SURFACE_PATTERNS.md](./SURFACE_PATTERNS.md).
8
9## When
10
11- A new URL, a new app, or "I only see a login page"
12- Need to know **what** to test before loading injection / auth / upload skills
13- The agent is about to brute directories, spray quotes, or expand to unrelated hosts
14
15Do **not** use this skill to expand an organization-wide host universe. Map the current application cluster. Finish it. Then, if scope allows, take the next cluster.
16
17Authorization and destruction bounds: [hack](../hack/SKILL.md) start gate. Stay in scope.
18
19## What must exist (not a file tree)
20
21Before any vulnerability skill, these facts must be retrievable. Persist them in whatever the local workspace already uses for notes and evidence — an existing task folder, a proxy project, session notes, a ticket. Do not invent a new directory layout when one is already in play.
22
23| Fact | Keep |
24|---|---|
25| Portrait | 3–5 sentences, not an essay |
26| Hosts | Business hosts, gateways, API domains this app already named |
27| Endpoints | Method, path, params, auth required? |
28…

Excerpt shown under the repository's MIT license.

More skills in hack-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates