Skip to content
Back to skills

Indicator Threat Hunt

ASecurity

Use when sweeping one target's security graph, recorded agent events, and shared memory for a specific agent-security indicator (a weakness id, component, agent identity, egress endpoint, or model/dependency artifact) under a stated hypothesis — proves presence or clears it, and feeds any confirmed gap to detection-as-code.

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

Works with

  • cli

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add Asterguard/asterguard-skills --skill indicator-threat-hunt --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Indicator Threat Hunt?

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

Security grade badge for Indicator Threat Hunt
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-indicator-threat-hunt/badge)](https://www.skillsdirectory.com/skills/asterguard-indicator-threat-hunt)

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: indicator-threat-hunt
description: Use when sweeping one target's security graph, recorded agent events, and shared memory for a specific agent-security indicator (a weakness id, component, agent identity, egress endpoint, or model/dependency artifact) under a stated hypothesis — proves presence or clears it, and feeds any confirmed gap to detection-as-code.
---

# Hunt: Indicator Threat Hunt

Proactively hunt a given **indicator** across the built security graph, the recorded agent-event
history in `./.asterguard/`, and shared memory. The agent-security analogue of an IOC sweep: the
indicator is not an IP/domain/hash but a `weakness_id`, `component`, `identity`, `egress`, or
`artifact`. Confirm or clear its presence under the hunt hypothesis; escalate confirmed activity and
turn every confirmed gap into a detection rule.

## When to Activate

- A fresh indicator arrives (new intel, a prior incident's artifact, a hunt lead) and you must check
  whether it touches this target.
- `enrich-indicator` or a triage runbook surfaced an indicator worth a proactive sweep.

## Objective

Determine presence/absence of `${INDICATOR_VALUE}` across the target's graph + recorded events +
memory under `${HYPOTHESIS}`, enrich any hit, and route confirmed activity to response — without
containing it (that is the IRP's job).

## Scope

Covers: a single indicator (or a small list), grounded enrichment, graph/event sweep, prior-sightings
check, and escalation of confirmed hits. Excludes: containment/eradication (IRPs), deep
multi-hypothesis hunts (`advanced-agent-threat-hunt`), TTP-chain hunts (`hunt-tool-abuse-lateral`).

## Inputs

- `${HYPOTHESIS}`: string — what the hunt is testing (e.g. "this leaked token is still granted to a
  live agent"). *Source:* analyst / intel.
- `${INDICATOR_VALUE}`: string — the indicator. *Source:* intel, prior finding, graph node.
- `${INDICATOR_TYPE}`: one of `weakness_id | component | identity | egress | artifact | finding_id`.
- `${TARGET}`: the engagement target (repo / image / live agent). *Source:* engagement.
- `${LOOKBACK}` (optional): recorded-event window (default: the engagement's current context).

## Outputs

- `${HUNT_FINDINGS}`: `{indicator, verdict: present|absent|suspected, evidence:[graph nodes, event
  rows, canary hits], enrichment}`.
- `${DETECTION_GAPS}`: confirmed behaviors with no covering rule → handed to `detection-as-code-agent-rules`.
- `${ESCALATION}`: incident/finding id if confirmed activity was escalated.
- `${STATUS}`: ["Success" | "Partial" | "Failure"] with a per-lane note.

## Tools

- **Gateway (connected, metered — carry `X-ARS-Token`, record each `audit_id`):** `graph.enrich`
  (where the indicator sits), `knowledge.query` (known patterns), `memory.recall` (prior sightings),
  `risk.score` (first-pass index), runtime `security.*` (recorded egress/tool-call audit).
- **Client-side:** build the sweep over the local graph + `./.asterguard/events`; correlate hits to the
  hypothesis; decide present/absent/suspected.
- **Sibling skills:** `engagement` (open/checkpoint), `enrich-indicator`, `correlate-indicator`,
  `record-in-engagement`, `detection-as-code-agent-rules`; atoms `atom-recall-memory`,
  `atom-trace-egress`, `atom-enrich-component`.

## Workflow Steps & Diagram

1. **Open engagement.** `engagement.open(${TARGET})` → context + history. Connected: ensure the ARS
   token via `ars-token`.
2. **Enrich the indicator.** `enrich-indicator(${INDICATOR_VALUE}, ${INDICATOR_TYPE})` → registry/graph
   facts, known patterns, prior sightings, first-pass risk read.
3. **Sweep the graph + events.** Locate every node matching the indicator in the built graph; search
   recorded agent tool-calls / egress in `./.asterguard/events` (runtime `security.*` connected) over
   `${LOOKBACK}` for activity involving it. Note negative results explicitly.
4. **Correlate to the hypothesis.** `correlate-indicator` across findings/events/memory → does the
   evidence support `${HYPOTHESIS}`? Verdict present/absent/suspected.
5. **Escalate or clear.** Confirmed activity → open a finding/incident and hand off to the matching IRP
   (do **not** contain here). Clean → document the cleared hypothesis.
6. **Close the gap.** For each confirmed behavior with no covering threat-rule, emit a
   `${DETECTION_GAPS}` entry for `detection-as-code-agent-rules`.
7. **Record + checkpoint.** `record-in-engagement` the hunt events (queries run, verdict, gaps);
   `engagement.checkpoint`.

```mermaid
sequenceDiagram
    participant Hunter
    participant RB as indicator-threat-hunt
    participant Eng as engagement
    participant EN as enrich-indicator
    participant GW as AsterVault gateway
    participant DET as detection-as-code-agent-rules
    Hunter->>RB: ${HYPOTHESIS}, ${INDICATOR_VALUE}/${INDICATOR_TYPE}
    RB->>Eng: open(${TARGET}) → context
    RB->>EN: enrich-indicator(indicator)
    EN->>GW: registry/graph/knowledge/memory [X-ARS-Token]
    GW-->>EN: facts, patterns, prior sightings, audit_id
    RB->>GW: graph.enrich + security.* (recorded events)
    GW-->>RB: nodes + event rows, audit_id
    Note over RB: correlate to hypothesis → verdict
    alt confirmed
        RB->>Eng: finding_opened (escalate to IRP)
        RB->>DET: ${DETECTION_GAPS}
    else clean
        Note over RB: document cleared hypothesis
    end
    RB->>Eng: record events + checkpoint
    RB-->>Hunter: ${HUNT_FINDINGS}, ${DETECTION_GAPS}, ${STATUS}
```

## Decision Logic / Completion Criteria

- **Present** when the indicator appears on an active graph path **and** a recorded event involves it
  under the hypothesis; **suspected** when one holds but not the other; **absent** when neither does
  across the full `${LOOKBACK}`.
- Confirmed present → escalate (new finding/incident); never contain inside a hunt.
- **Done when:** the indicator has been swept across graph + events + memory, the verdict is set with
  evidence (including negative results), gaps are handed off, and the engagement is checkpointed.

## Integration

- **Composes:** `enrich-indicator`, `correlate-indicator`, `record-in-engagement`,
  `detection-as-code-agent-rules`; `engagement` bookends; atoms `atom-recall-memory`,
  `atom-trace-egress`, `atom-enrich-component`.
- **Called by:** `threat-hunt` playbook; escalates to `irp-*`.
- **Offline:** graph/event sweep runs on local `./.asterguard/` data; grounding/memory degrade to local
  pack + local engagement; note degraded lanes. **Connected:** full graph/knowledge/memory grounding +
  runtime `security.*` audit, 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.