Attack surface

From Rifteo/skills · View interactive version

Attack surface is an AI agent skill from the GitHub repository Rifteo/skills. Maps every entry point, component, and trust boundary of a target before testing begins prevents missed coverage and prioritizes the highest-value attack paths. Trigger when the user provides a target and wants to know where to start, says "map the attack surface", "what should I test", or "where do

How to use this skill

Skill file

Attack Surface Mapper

Before testing individual vulnerabilities, map the full attack surface. Untested components are unfound vulnerabilities. This skill produces a structured map that drives testing coverage.

Process

Phase 1 — Enumerate Entry Points

Systematically identify every place an attacker could interact with the target:

Phase 2 — Identify Trust Boundaries

Mark where the system transitions between trust levels:

Phase 3 — Tech Stack Fingerprint

For each component, note:

Phase 4 — Prioritize

Rank attack paths by value. See references/priority-matrix.md.

Output Format

Produce a Surface Map table:

| Component | Type | Auth Required | Tech Stack | Priority | Notes |

|---|---|---|---|---|---|

| /api/v2/users | REST API | Bearer token | Node.js/Express | High | Returns PII |

| admin.target.com | Web app | Basic auth | Apache/PHP | Critical | Exposed to internet |

Follow with a Recommended Testing Order — ordered list of highest-value targets first.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.