api-attack-surface-mapper
Purpose
Map the API attack surface of an authorized target by enumerating endpoints, verbs, auth paths, object relationships, and abuse opportunities.
Trigger this skill when
- The current artifact or engagement needs a structured security-testing step rather than ad hoc probing.
- You need evidence-backed outputs that can hand off cleanly to reporting or remediation.
- You are working only within owned or explicitly authorized scope.
Expected inputs
- API docs
- routes/endpoints
- auth model
- sample requests
- business workflows
Deliverables
- API surface map
- endpoint inventory
- auth/authorization review points
- abuse hypotheses
- priority test targets
Operating procedure
- Confirm the authorization, scope, red lines, and stop conditions before doing anything else.
- Read the artifact or engagement context from an assessor perspective and identify the highest-value review path first.
- Prefer safe proof, minimal-impact testing, and evidence capture over deeper exploitation.
- Separate facts, hypotheses, validated observations, and unresolved questions.
- Record what was tested, what was not tested, and why.
- Finish with the most sensible handoff skill based on whether the next need is more testing, reporting, or remediation.
Quality gates
- Output remains specific to the authorized target and current evidence.
- Unsafe, out-of-scope, or ambiguous actions are explicitly rejected or escalated.
- Findings or test plans are concrete enough for another engineer or reviewer to follow.
- Recommendations are actionable and proportional to the demonstrated issue.
Handoff targets
- parameter-pollution-checker
- manual-web-test-sequencer
- report-finding-writer
Output style
- Be explicit about authorization assumptions and testing boundaries.
- Prefer concrete evidence paths, affected scope, and next actions over generic advice.
- Separate facts, hypotheses, validated findings, and recommendations.
- Make the output usable by defenders, builders, and reviewers.
Failure modes to avoid
- Do not proceed as though all targets are authorized when the scope is unclear.
- Do not recommend disruptive or destructive actions when lower-impact proof is sufficient.
- Do not blur speculation and validated evidence.
- Do not produce vague findings that owners cannot reproduce or fix.
Minimum output skeleton
## Summary
## Facts and scope
## Structured outputs
## Risks or findings
## Recommendations
## Recommended next skill
1---2name: api-attack-surface-mapper3description: api-attack-surface-mapper4---5# api-attack-surface-mapper67## Purpose8Map the API attack surface of an authorized target by enumerating endpoints, verbs, auth paths, object relationships, and abuse opportunities.910## Trigger this skill when11- The current artifact or engagement needs a structured security-testing step rather than ad hoc probing.12- You need evidence-backed outputs that can hand off cleanly to reporting or remediation.13- You are working only within owned or explicitly authorized scope.1415## Expected inputs16- API docs17- routes/endpoints18- auth model19- sample requests20- business workflows2122## Deliverables23- API surface map24- endpoint inventory25- auth/authorization review points26- abuse hypotheses27- priority test targets2829## Operating procedure301. Confirm the authorization, scope, red lines, and stop conditions before doing anything else.312. Read the artifact or engagement context from an assessor perspective and identify the highest-value review path first.323. Prefer safe proof, minimal-impact testing, and evidence capture over deeper exploitation.334. Separate facts, hypotheses, validated observations, and unresolved questions.345. Record what was tested, what was not tested, and why.356. Finish with the most sensible handoff skill based on whether the next need is more testing, reporting, or remediation.3637## Quality gates38- Output remains specific to the authorized target and current evidence.39- Unsafe, out-of-scope, or ambiguous actions are explicitly rejected or escalated.40- Findings or test plans are concrete enough for another engineer or reviewer to follow.41- Recommendations are actionable and proportional to the demonstrated issue.4243## Handoff targets44- parameter-pollution-checker45- manual-web-test-sequencer46- report-finding-writer4748## Output style49- Be explicit about authorization assumptions and testing boundaries.50- Prefer concrete evidence paths, affected scope, and next actions over generic advice.51- Separate facts, hypotheses, validated findings, and recommendations.52- Make the output usable by defenders, builders, and reviewers.5354## Failure modes to avoid55- Do not proceed as though all targets are authorized when the scope is unclear.56- Do not recommend disruptive or destructive actions when lower-impact proof is sufficient.57- Do not blur speculation and validated evidence.58- Do not produce vague findings that owners cannot reproduce or fix.5960## Minimum output skeleton61```md62## Summary63## Facts and scope64## Structured outputs65## Risks or findings66## Recommendations67## Recommended next skill68```