Skip to content
Back to skills

Variant Discovery

ASecurity

Systematically search an authorized codebase or protocol for additional manifestations of a confirmed root cause while preventing duplicate inflation and preserving independent verification requirements.

  • 101 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
ai-agentssecurity

Works with

  • cli

Security analysis

A100/100

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

Scanned November 7, 2026

npx -y skills add Sekolah76/syadagentic --skill variant-discovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Variant Discovery?

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

Security grade badge for Variant Discovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sekolah76-variant-discovery/badge)](https://www.skillsdirectory.com/skills/sekolah76-variant-discovery)

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: variant-discovery
description: Systematically search an authorized codebase or protocol for additional manifestations of a confirmed root cause while preventing duplicate inflation and preserving independent verification requirements.
version: 1.0.0
---

# Variant Discovery

## Mission

Given a confirmed or high-confidence root-cause fingerprint, identify semantically related manifestations across the target. Discover breadth without assuming every syntactic match is vulnerable.

## Required inputs

- Root-cause fingerprint.
- Confirmed vulnerable example.
- Relevant architecture and attack-surface map.
- Scope and repository revision.

## Search strategy

### 1. Extract semantic signature

Capture:

- violated invariant;
- missing/incorrect operation;
- attacker-controlled dimension;
- vulnerable data type or state transition;
- source and sink relationship;
- required context/configuration;
- remediation pattern.

### 2. Generate search families

Use multiple families:

- direct symbol/helper usage;
- sibling handlers and implementations;
- duplicated code and generated bindings;
- alternate parsers/serializers;
- inverse operations such as mint/burn, lock/unlock, encode/decode;
- lifecycle variants: create/update/delete, startup/runtime/restart/replay;
- boundary variants: single-tenant/cross-tenant, local/remote, on-chain/off-chain;
- data-shape variants: signed/unsigned, truncation, zero/max, empty/duplicate, canonical/noncanonical;
- protocol phase variants: epoch/round/view, source/destination chain, pre/post finality.

### 3. Screen candidates

For each match verify:

- attacker reachability;
- equivalent missing invariant;
- equivalent attacker control;
- relevant production path;
- absence of compensating guards;
- observable primitive;
- same or different remediation boundary.

### 4. Classify

- `CONFIRMED_VARIANT`: independently reproduced.
- `LIKELY_VARIANT`: equivalent path and invariant, reproduction pending.
- `STRUCTURAL_MATCH_ONLY`: syntax/pattern match without exploitability proof.
- `NOT_A_VARIANT`: different root cause or guard prevents issue.
- `SAME_MANIFESTATION`: duplicate path to the already known instance.

### 5. Avoid report inflation

Multiple variants are not automatically multiple bounty reports. Send them to Root Cause Analyzer for clustering. Prefer one report that demonstrates systemic breadth unless separate security boundaries, patches, or impacts justify separation.

### 6. Stop conditions

Stop expanding when:

- searches saturate with no new semantic matches;
- remaining matches are test/dead/generated code only;
- all uses are guarded;
- scope boundary is reached;
- evidence quality declines into speculation.

## Special domain patterns

Use `references/variant-patterns.md`.

## Output

Use `templates/variant-discovery.yaml`. Every confirmed or likely variant must include a verifier test specification.

Files in this skill

  • SKILL.md2.8 KB
  • references/variant-patterns.md929 B
  • templates/variant-discovery.yaml706 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.