Skip to content
Back to skills

Proxy Recon

ASecurity

Record a live agent by routing its LLM or ingress traffic through the local AsterGuard proxy, producing a traffic corpus to profile and attack — no source code required. Use when a security engineer needs to assess a black-box agent, or capture real tool-calls and data flows from a running system.

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

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 25, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Proxy Recon?

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

Security grade badge for Proxy Recon
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-proxy-recon/badge)](https://www.skillsdirectory.com/skills/asterguard-proxy-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: proxy-recon
description: Record a live agent by routing its LLM or ingress traffic through the local AsterGuard proxy, producing a traffic corpus to profile and attack — no source code required. Use when a security engineer needs to assess a black-box agent, or capture real tool-calls and data flows from a running system.
---

# Proxy Recon

Put the AsterGuard proxy in front of a running agent and record. The corpus it produces is the
no-code substrate for `agent-profiling`, `data-flow`, and the test skills. Nothing is uploaded; the
proxy forwards to the real upstream and returns the real response (transparent).

## When to Activate

- The target is a **live agent** (black-box) rather than a repo or image.
- You need real tool-calls, system prompts, data accessed, and responses — captured from traffic.
- Before `agent-profiling` / `data-flow` when source is unavailable.

## Core Concepts

Two proxy positions (pick per the orchestrator's source-type):
- **Provider proxy** — the agent's LLM base-URL points at the proxy; observe the agent's *model*
  calls (messages, tool schemas, tool calls, tool results). Lowest-friction, zero client change.
- **Ingress proxy** — the proxy sits in front of the agent's HTTP endpoint; drive *user* turns
  through it to exercise the whole agent.

The proxy streams SSE through untouched while tee-ing a copy to parse tool calls. Observe-and-record
by default (advisory posture); an optional inline-guard mode can block/annotate in the hot path.

## Method

Primary path — route through the **AsterVault MCP gateway** (it already proxies, guards, and audits):
1. Connect the client to the gateway per AsterVault's MCP connection docs; exercise the agent.
2. Pull the gateway's audit export → `./.asterguard/traffic.jsonl` (`{ts, system, messages, tools,
   tool_calls, tool_results, response, upstream}`). **Recon = the audit trail.**
3. Hand `traffic.jsonl` to `agent-profiling` / `data-flow`.

Offline fallback (no gateway reachable) — a local provider base-URL shim records the same shape; see
`scripts/README.md`.

## Practical Guidance

- **Provider vs ingress (low freedom):** provider proxy for model-layer recon; ingress when you must
  attack the full agent or there is no separable model call.
- **Secrets:** redact Authorization/API-key headers in the recorded corpus; never persist upstream keys.
- **Inline-guard is opt-in:** default is passthrough. Guard mode must fail-open (never drop a real
  response on proxy error) and is advisory unless the engineer explicitly wants enforcement.

## Integration

- agent-profiling, data-flow — consume `traffic.jsonl`
- behavioral-redteam, dast-generation — drive generated tests back through the proxy
- security-engineer — selects proxy-recon for traffic-source targets

## References

- [Proxy (recon via the gateway; optional local shim)](./scripts/README.md)
- [Graph schema (SSOT)](../../docs/graph-schema.md)

Files in this skill

  • SKILL.md2.9 KB
  • scripts/README.md741 B

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.