Skip to content
Back to skills

Recon

ASecurity

Build the offensive attack map of a target agent and pick the highest-value path — enumerate exposed tools, identities, egress and stores, surface the lethal-trifecta legs (private data × untrusted input × outbound channel), over-privileged tools and anonymously-reachable stores, and rank by offensive reachability. Use as the first active step of an authorized pentest.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 25, 2026
ai-agentsrustgo

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add Asterguard/asterguard-skills --skill recon --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recon?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recon
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-recon/badge)](https://www.skillsdirectory.com/skills/asterguard-recon)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: recon
description: Build the offensive attack map of a target agent and pick the highest-value path — enumerate exposed tools, identities, egress and stores, surface the lethal-trifecta legs (private data × untrusted input × outbound channel), over-privileged tools and anonymously-reachable stores, and rank by offensive reachability. Use as the first active step of an authorized pentest.
---

# Recon (offensive attack map + path selection)

Reconnaissance from the attacker's side: turn the target into a **map of where to attack**. It composes
the same collectors a defender uses, but reads the result offensively — which path reaches regulated
data through an effectful egress tool with the weakest control. You attack that path, not the whole app.

> **Authorized engagements only.** Recon here is over a target the operator owns or is engaged to test,
> through the gateway (scoped + audited). It does not scan third parties.

## When to Activate

- Step 2 of the `offensive-engineer` pipeline (after authorization).
- Any time an attacker needs the target's tools, authority boundaries, and reachable data laid out.

## Objective

Produce the offensive attack map + a ranked target list, and select the single highest-value path for
the campaign.

## Inputs

- `${TARGET}`: the authorized target (repo / image / live agent endpoint). *Source:* the RoE.
- `${OBJECTIVE}` (optional): the attack goal, or "derive from the attack graph".

## Outputs

- `${ATTACK_MAP}`: the graph with offensive annotations — tools + granted authority, egress channels,
  data stores + classes, identities, and the **trifecta legs**.
- `${TARGETS}`: ranked candidate paths (violating flow / over-privileged tool / anon-reachable store).
- `${CHOSEN_PATH}`: the one path the campaign aims at + why it was chosen.

## Method

1. **Map the surface.** `proxy-recon` (route the live agent through the gateway → the audit trail *is*
   your recon) and/or `agent-profiling` + `data-flow` + `information-flow` build the attack graph.
2. **Enrich offensively.** `graph.enrich` with `attackSurface`: the violating flows (regulated data
   reachable by an untrusted source with a missing control), over-privileged tools, anon-reachable
   stores, reachable egress channels.
3. **Find the trifecta legs.** Where **private data × untrusted input × an outbound channel** meet — the
   lethal combination an attacker needs. List each as a candidate.
4. **Rank + pick.** `risk-context` prioritizes by the features that matter offensively — reachability,
   `auth_anon`, `tool_authority`, `data_class`. Aim at the one path that reaches regulated data through
   an effectful egress tool. → `${CHOSEN_PATH}`.
5. **Record.** `record-in-engagement` the map + chosen path so the campaign and report reference it.

```mermaid
graph TD
    T([authorized target]) --> MAP["proxy-recon · agent-profiling · data-flow · information-flow"]
    MAP --> EN["graph.enrich(attackSurface)"]
    EN --> TRI["trifecta legs · over-privileged tools · anon-reachable stores"]
    TRI --> RANK["risk-context: reachability · auth_anon · tool_authority · data_class"]
    RANK --> PICK{highest-value path}
    PICK --> OUT["ATTACK_MAP + CHOSEN_PATH → campaign"]
```

## Decision Logic / Completion Criteria

- Prefer a path that is **anonymously reachable** and reaches **regulated data** through an **effectful
  egress** tool — the highest-impact, lowest-effort target.
- **Done when:** the attack map is built, candidates are ranked, and one path is chosen with a stated
  rationale.

## Integration

- **Composes:** `proxy-recon`, `agent-profiling`, `data-flow`, `information-flow`, `risk-context`,
  `graph.enrich`; feeds `behavioral-redteam` + `exploit-chain`.
- **Offline:** builds the map from local artifacts / recorded traffic; `graph.enrich` degrades to the
  local graph. **Connected:** full attack-surface grounding, metered.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.