Skip to content
Back to skills

Atom Trace Egress

ASecurity

Use when you need the recorded egress for an endpoint or host an agent reached — the actual observed tool-calls/network events — from the runtime audit (connected) or locally recorded events (offline).

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

Works with

  • api

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add Asterguard/asterguard-skills --skill atom-trace-egress --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Atom Trace Egress?

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

Security grade badge for Atom Trace Egress
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-atom-trace-egress/badge)](https://www.skillsdirectory.com/skills/asterguard-atom-trace-egress)

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: atom-trace-egress
description: Use when you need the recorded egress for an endpoint or host an agent reached — the actual observed tool-calls/network events — from the runtime audit (connected) or locally recorded events (offline).
---

# Atomic: Trace Egress

Pull the recorded egress for one endpoint/host — what the agent actually sent where — from the proxy/runtime audit. The grounded "what happened" lane: connected uses `security.*` runtimevault, offline reads `./.asterguard/` recorded events.

**ID:** `ATOM-TRACE-EGRESS`
**Purpose:** Produce the observed egress record for an endpoint so a runbook reasons over real traffic, not assumptions.
**Trigger:** A runbook holds an `egress` indicator (endpoint/host/domain the agent can reach) and needs the recorded calls to/from it.

## Inputs Required

- `${EGRESS}`: string — the endpoint/host/domain (e.g. `https://paste.ee/x`, `api.vendor.com`, an IP). *Source:* an alert `destination` field, a graph `egress` node, or `atom-enrich-component`/`atom-lookup-identity` reach.
- `${WINDOW}` (optional): string — lookback window (e.g. `24h`). Default: engagement window.

## Execution Steps

1. **Tool Selection** — connected: runtime `security.*` (runtimevault) egress/audit query; offline: local recorded-events read. One grounded source either way.
2. **Parameter Mapping** — `security.<egress_query>(endpoint=${EGRESS}, window=${WINDOW})`. Connected: attach `X-ARS-Token`.
3. **Execute** — run the query; record `audit_id` (connected).
4. **Extract** — collect `events[]` as `{ts, principal, tool, bytes, direction, verdict}`, plus `summary` (counts, distinct principals, any blocked/alerted) into `${EGRESS_TRACE}`.

## Outputs Expected

- `${EGRESS_TRACE}`: object — `{endpoint, events[], summary}`.
- `${SEEN}`: bool — whether any recorded egress exists for this endpoint.
- `${AUDIT_ID}`: string — metered-call handle (connected).
- `${STATUS}`: ["Success" | "NoEvents" | "Failure"].

```mermaid
sequenceDiagram
    participant Caller as Calling runbook
    participant RB as atom-trace-egress
    participant RV as runtimevault (security.*) / local events
    Caller->>RB: ${EGRESS}, ${WINDOW}?
    RB->>RV: egress/audit query(endpoint, window) [X-ARS-Token]
    RV-->>RB: EGRESS_TRACE, audit_id
    RB-->>Caller: EGRESS_TRACE, SEEN, STATUS
```

## Decision Logic / Next Steps

- IF `SEEN` and `events[]` include un-allowlisted destinations / confidential-data direction → exfil lead; caller routes to `hunt-exfil-paths` / IRP.
- IF a canary value appears in the egress → chain `atom-scan-canary` for hard proof.
- IF `NoEvents` → the endpoint is reachable but unused in-window; note it (reachability ≠ use).

## Connected vs Offline

- **Connected**: query `security.*` runtimevault egress/audit live + metered; carry `X-ARS-Token`, record `audit_id`.
- **Offline**: read recorded events under `./.asterguard/` (proxy-recon / runtime capture output); no token, no quota. Mark `${STATUS}=Partial` and note the capture source.

## AI Agent Execution Notes

- This is **observed** egress (what happened), distinct from `atom-enrich-component` reach (what's possible).
- Preserve event verdicts (blocked/allowed/alerted) — they drive the exfil decision.
- Reference `${EGRESS_TRACE}` by handle; don't inline raw event dumps.

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.