Skip to content
Back to skills

Attack Planner

ASecurity

Given a target agent, use the AsterVault MCP as a knowledge base to decide WHAT offensive tests to run — the applicable test kinds with concrete example techniques/payloads, which canary types to plant for each (egress, secret, identity, workload-identity, document), the per-test budget, and the recommended next steps — grounded in the attack surface, the attack corpus, and prior proven breaks. The offensive counterpart of check-planner.

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

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 25, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Attack Planner?

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

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

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: attack-planner
description: Given a target agent, use the AsterVault MCP as a knowledge base to decide WHAT offensive tests to run — the applicable test kinds with concrete example techniques/payloads, which canary types to plant for each (egress, secret, identity, workload-identity, document), the per-test budget, and the recommended next steps — grounded in the attack surface, the attack corpus, and prior proven breaks. The offensive counterpart of check-planner.
---

# Attack Planner (the MCP decides what to test)

When a security engineer *looks at an agent*, the first offensive question is **"what should I even test
here?"** This skill answers it by treating the **AsterVault MCP as a knowledge base**: given the target's
attack map, it asks the gateway what attacks apply to *this* agent, gets concrete examples, decides which
**canary types** prove each, and emits an ordered plan with next steps. It turns "red-team this" into a
grounded, specific campaign plan — the offensive counterpart of `check-planner`.

> **Authorized engagements only.** Planning is over a target under a recorded RoE; the plan is for the
> operator's own agent.

## When to Activate

- Step 3 of the `offensive-engineer` pipeline — after `recon`, before the campaign.
- Any time someone wants "what offensive tests apply to this agent, with examples and next steps."

## Objective

Produce a concrete, prioritized **attack plan** for the chosen path(s): which test kinds, example
techniques per kind, the canary types to plant, the budget, and what to do next — all grounded in the
MCP knowledge base, not a generic checklist.

## Inputs

- `${ATTACK_MAP}` + `${CHOSEN_PATH}`: from `recon`.
- `${ROE}`: the recorded rules of engagement (scope + budget ceiling).

## Outputs

- `${ATTACK_PLAN}`: ordered tests —
  `{ kind, weakness_id, technique, example, canary_types:[…], budget: ASR@N, grounds:[audit_ids] }`.
- `${CANARY_PLAN}`: the canary types to mint/plant for the campaign (see `canary-testing`).
- `${NEXT_STEPS}`: the recommended sequence (which test first, when to escalate to `exploit-chain`).

## The MCP as the knowledge base

Each decision is grounded by a gateway call — the server holds the knowledge, the client composes the plan:

| Question | MCP call | What it returns |
|---|---|---|
| What weaknesses does this path carry? | `graph.enrich` / `registry.resolve` | the weakness_ids on the chosen path |
| What attacks apply to each weakness? | `testgen.patterns(weakness_id)` | the attack corpus (strategies + example payloads) |
| How have others exploited this? | `knowledge.query` / `knowledge.patterns` | known techniques + concrete examples + detection cues |
| What should I test, in what order? | `scan.plan` | the standard offensive test plan for the profile |
| What already worked on *this* org? | `memory.recall({topic:"redteam"})` | prior proven breaks + strategies that landed here |
| Which canaries prove it? | this skill → `canary-testing` | the canary types per test (below) |

## Method

1. **Resolve the path's weaknesses** (`graph.enrich` / `registry.resolve`).
2. **Pull the corpus + techniques** per weakness (`testgen.patterns`, `knowledge.query/patterns`) — the
   example payloads/strategies to seed each test (crescendo / PAIR / TAP / injection / decomposition).
3. **Pull what worked here** (`memory.recall`) — prioritize strategies with prior success on this org.
4. **Decide canary types per test** — for an exfil test, an **egress** + **secret** canary; for an
   authz/identity test, an **identity** canary; for a workload/tool-authority test, a **workload-identity**
   canary; for an indirect-injection test, an **injection** / **document** canary; for a memory-poisoning
   test, a **memory** canary; for a RAG / context-bleed test, a **context** canary. (See `canary-testing`
   for the full taxonomy.)
5. **Order + budget** — sequence by impact/effort, attach ASR@N budgets, mark the escalation point to
   `exploit-chain`. Emit `${ATTACK_PLAN}` + `${CANARY_PLAN}` + `${NEXT_STEPS}`; `record-in-engagement`.

```mermaid
graph TD
    IN([CHOSEN_PATH + ROE]) --> W["graph.enrich / registry.resolve → weakness_ids"]
    W --> C["testgen.patterns + knowledge.query → techniques + examples"]
    C --> M["memory.recall → what worked here"]
    M --> CAN["decide canary types per test"]
    CAN --> PLAN["ATTACK_PLAN + CANARY_PLAN + NEXT_STEPS"]
    PLAN --> RT["behavioral-redteam (run) → exploit-chain (escalate)"]
```

## Decision Logic / Completion Criteria

- Prefer tests that are **grounded** (a corpus/technique came back for the weakness) and **proven-here**
  (memory) over generic ones; drop test kinds with no applicable weakness on the path.
- **Done when:** every chosen path has at least one grounded test with example technique, canary types,
  and a budget, plus an ordered next-step sequence.

## Integration

- **Composes:** `recon` (the map), `graph.enrich` / `registry.resolve` / `testgen.patterns` /
  `knowledge.query` / `scan.plan` / `memory.recall` (the knowledge base), `canary-testing` (the types).
- **Feeds:** `behavioral-redteam` (runs the plan), `exploit-chain` (escalates), `pentest-report` (methodology).
- **Offline:** plans from the local corpus/pack data + local memory, flagged as reduced coverage.
  **Connected:** the full MCP knowledge base, metered. *(Plan richness grows as the server's
  `testgen.patterns` corpus is seeded — the deferred astervault follow-up.)*

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.