Skip to content
Back to skills

Close Duplicate Findings Wf

ASecurity

Use when the engagement has accumulated redundant findings or incidents — identify duplicates at scale by matching indicators and signatures, keep one canonical record, link the rest to it, and close them with a duplicate reason so the queue reflects distinct work only.

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

Works with

  • cli

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add Asterguard/asterguard-skills --skill close-duplicate-findings-wf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Close Duplicate Findings Wf?

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

Security grade badge for Close Duplicate Findings Wf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-close-duplicate-findings-wf/badge)](https://www.skillsdirectory.com/skills/asterguard-close-duplicate-findings-wf)

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: close-duplicate-findings-wf
description: Use when the engagement has accumulated redundant findings or incidents — identify duplicates at scale by matching indicators and signatures, keep one canonical record, link the rest to it, and close them with a duplicate reason so the queue reflects distinct work only.
---

# Close Duplicate Findings (Workflow)

Find and close duplicate findings/incidents across the engagement at scale: cluster by signature +
shared indicators, confirm each duplicate set, pick a canonical, link the rest to it, and close the
duplicates with a `duplicate` reason pointing at the canonical. The agent-security analogue of SOC
"close duplicate cases" — closure is resolving a finding with reason + root-cause, human-gated.

## When to Activate

- The engagement queue has many findings and some are clearly the same issue re-reported (same
  weakness on the same component, same identity/egress signature).
- After `correlate-finding-groups` surfaces identical (not merely related) members.

## Objective

Reduce the open queue to distinct work: every duplicate set collapsed to one canonical finding, the
rest linked and closed with a `duplicate` reason, each closure human-gated and recorded.

## Scope

Covers: duplicate detection at scale, canonical selection, linking, and gated closure. Excludes:
merging *related* (non-identical) findings into one incident (`correlate-finding-groups`), investigation
(`investigate-agent-incident`), and containment.

## Inputs

- `${SCOPE_FILTER}` (optional): which findings to scan — status/age/weakness-class/component. Default =
  all open findings on the engagement. *Source:* engagement.
- `${MATCH_KEYS}` (optional): the fields that define a duplicate (e.g. `weakness_id + component +
  identity`, or finding signature hash). Default = signature + primary indicator.
- `${AUTO_THRESHOLD}` (optional): confidence above which a duplicate is proposed for closure
  (still human-gated). Default = exact signature match only.

## Outputs

- `${DUPLICATE_SETS}`: groups of `{canonical_id, duplicate_ids[], match_reason, confidence}`.
- `${CLOSED}`: duplicates closed, each with its `decision` + `close-finding` event + (connected)
  `audit_id`.
- `${LINKED}`: duplicate→canonical links recorded on the engagement.
- `${SKIPPED}`: candidate sets held back (below threshold / ambiguous) for analyst review.
- `${STATUS}`: ["Success" | "Partial" | "Failure"].

## Tools

- **Gateway (connected, metered — carry `X-ARS-Token`, record each `audit_id`):** `memory.recall`
  (prior duplicate decisions), reached via the composed siblings; closure state changes recorded via
  `close-finding`.
- **Client-side:** compute signatures/indicator sets; cluster exact + near matches; choose the canonical
  (oldest / most-enriched / highest-fidelity); decide the match reason. The dedupe judgement is the
  harness's.
- **Sibling skills:** `engagement` (open/context) · `check-duplicate-findings` (the dedupe primitive) ·
  `find-related-findings` (candidate gathering) · `confirm-action` (gate per set) · `close-finding`
  (the closure) · `record-in-engagement`.

## Workflow Steps & Diagram

1. **Open + gather.** `engagement.open`; pull the finding set per `${SCOPE_FILTER}`.
2. **Detect duplicates.** For each finding, `check-duplicate-findings` over the set + memory using
   `${MATCH_KEYS}`; cluster exact/near matches → `${DUPLICATE_SETS}`.
3. **Pick canonical + link.** In each set, select the canonical (oldest / most complete); mark the rest
   as duplicates of it → `${LINKED}`.
4. **Gate.** For each set at/above `${AUTO_THRESHOLD}`, `confirm-action` (batchable: present the set,
   canonical, and match reason). Below threshold / ambiguous → `${SKIPPED}`.
5. **Close.** For each confirmed set, `close-finding` each duplicate with reason `duplicate`,
   `root_cause = <canonical_id>`; record a `decision` event + `audit_id`. → `${CLOSED}`.
6. **Checkpoint.** `record-in-engagement` all link + closure events; `engagement.checkpoint`.

```mermaid
sequenceDiagram
    participant Analyst
    participant RB as close-duplicate-findings-wf
    participant Eng as engagement
    participant DUP as check-duplicate-findings
    participant CA as confirm-action
    participant CF as close-finding
    Analyst->>RB: ${SCOPE_FILTER}, ${MATCH_KEYS}
    RB->>Eng: open → finding set
    RB->>DUP: match on keys [X-ARS-Token]
    DUP-->>RB: DUPLICATE_SETS
    RB->>RB: pick canonical + link rest
    loop each set >= threshold
        RB->>CA: confirm-action(close duplicates of canonical?)
        CA-->>RB: approved / skip
        RB->>CF: close-finding(duplicate, root_cause=canonical)
        CF-->>RB: CLOSED + audit_id
    end
    RB->>Eng: record-in-engagement + checkpoint
    RB-->>Analyst: CLOSED, LINKED, SKIPPED, STATUS
```

## Decision Logic / Completion Criteria

- A finding is a **duplicate** only on a confirmed signature/indicator match to the canonical — *related*
  but distinct findings go to `correlate-finding-groups`, not here.
- Every closure is **human-gated** via `confirm-action` and recorded as a `decision` (dual-use
  discipline). Use the least-destructive closure (resolve as duplicate, keep the canonical open).
- Ambiguous or below-threshold sets are **skipped**, not closed.
- **Done when:** every duplicate set is linked and either closed (gated) or skipped, and all events are
  recorded.

## Integration

- **Composes:** `check-duplicate-findings`, `find-related-findings`, `confirm-action`, `close-finding`,
  `record-in-engagement`; `engagement` bookends.
- **Called by:** the `soc-triage` playbook; downstream of `correlate-finding-groups`.
- **Offline:** dedupe runs over the local engagement findings; closures are recorded locally and marked
  pending-sync (no shared-memory write). **Connected:** memory-backed prior decisions + metered closure,
  each `audit_id` recorded.

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.