Skip to content
Back to skills

Atom Lookup Identity

ASecurity

Use when you need the authority profile of an agent or service identity — its granted tools, scopes, and authority boundary — by enriching that identity node against the AsterVault graph and registry.

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

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add Asterguard/asterguard-skills --skill atom-lookup-identity --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Atom Lookup Identity?

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

Security grade badge for Atom Lookup Identity
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-atom-lookup-identity/badge)](https://www.skillsdirectory.com/skills/asterguard-atom-lookup-identity)

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-lookup-identity
description: Use when you need the authority profile of an agent or service identity — its granted tools, scopes, and authority boundary — by enriching that identity node against the AsterVault graph and registry.
---

# Atomic: Lookup Identity

Resolve one agent/service identity to its authority profile — granted tools, scopes, and authority boundary — via `graph.enrich` (with `registry.resolve` for role/scope definitions). The grounding step for over-privilege and credential-compromise reasoning.

**ID:** `ATOM-LOOKUP-IDENTITY`
**Purpose:** Establish what an identity *can* do (tools + scopes + boundary) so a runbook can judge whether an observed action was in-bounds.
**Trigger:** A runbook holds an `identity` indicator (agent/service principal) and needs its granted authority — for triage, over-privilege hunts, or credential-compromise IRP.

## Inputs Required

- `${IDENTITY}`: string — the principal ref (e.g. `svc:billing-agent`, `agent:planner@tenant`, SPIFFE id). *Source:* an alert `principal` field, a graph `identity` node, or a prior runbook output.

## Execution Steps

1. **Tool Selection** — gateway tool `graph.enrich` (primary; sole remote call). Optionally the same call resolves scope/role definitions via `registry.resolve` semantics — still one grounded round-trip.
2. **Parameter Mapping** — `graph.enrich(node={type:"identity", value:${IDENTITY}})`. Connected: attach `X-ARS-Token`.
3. **Execute** — call `graph.enrich`; record `audit_id`.
4. **Extract** — pull `granted_tools[]`, `scopes[]`, `authority_boundary` (the allow-set / blast radius), and `linked_weaknesses[]` into `${IDENTITY_PROFILE}`.

## Outputs Expected

- `${IDENTITY_PROFILE}`: object — `{identity, granted_tools[], scopes[], authority_boundary, linked_weaknesses[]}`.
- `${AUDIT_ID}`: string — metered-call handle (connected).
- `${STATUS}`: ["Success" | "NotInGraph" | "Failure"].

```mermaid
sequenceDiagram
    participant Caller as Calling runbook
    participant RB as atom-lookup-identity
    participant GW as AsterVault gateway
    Caller->>RB: ${IDENTITY}
    RB->>GW: graph.enrich(identity node) [X-ARS-Token]
    GW-->>RB: IDENTITY_PROFILE, audit_id
    RB-->>Caller: IDENTITY_PROFILE, AUDIT_ID, STATUS
```

## Decision Logic / Next Steps

- IF an observed action falls **outside** `authority_boundary` → authority violation; caller routes to triage/IRP.
- IF `granted_tools[]`/`scopes[]` exceed what the role needs → over-privilege lead for `hunt-over-privilege`.
- IF `NotInGraph` → identity not profiled; note the blind spot (an unmanaged principal is itself a finding).

## Connected vs Offline

- **Connected**: `graph.enrich` live + metered; carry `X-ARS-Token`, record `audit_id`.
- **Offline**: read the locally built graph / agent-profiling output in `./.asterguard/` for granted tools + boundary; no token, no quota. Mark `${STATUS}=Partial`.

## AI Agent Execution Notes

- The identity lane of `enrich-indicator` — it resolves *authority*, where `atom-enrich-component` resolves *dependency reach*.
- Keep the authority boundary explicit; it's the reference an investigation compares observed actions against.
- Reference `${IDENTITY_PROFILE}` by handle.

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.