Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

variant-analysis

Skill by sickn33

Finds similar vulnerabilities and bugs across codebases using pattern-based analysis. Built for security analysts who have found an initial issue and need to search for variants. The source limits it to authorized use.

  • Score 91
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install variant-analysis

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/variant-analysis ~/.claude/skills/variant-analysis

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install variant-analysis in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Variant Analysis is a skill that helps an assistant find similar vulnerabilities and bugs across a codebase after one instance has been identified. It follows a five-step process: understand the root cause, start with an exact match, identify abstraction points, generalize one element at a time, and triage the results. The source says to stop generalizing when the false positive rate exceeds about 50 percent.

Written from the project's SKILL.md and checked against it.

What it can do

  • Five-step variant processGuides the assistant from understanding the original bug through to triaging matches.
  • Exact match startBegins with a pattern that should match only the known instance, checked with ripgrep.
  • Iterative generalizationChanges one element at a time and reviews new matches for false positives.
  • Result triageRecords location, confidence, exploitability and priority for each match.
  • Tool selection guidanceCompares ripgrep, Semgrep and CodeQL for different search and analysis needs.
  • Critical pitfalls checklistWarns against narrow search scope, overly specific patterns, single classes and missing edge cases.

What you need

  • ripgrep for quick surface search
  • Semgrep for pattern matching on non-building code
  • CodeQL for cross-function data flow analysis
  • Supporting resources folder with CodeQL, Semgrep and report templates (external, not bundled)

Try asking

  • Find variants of this auth bypass across the whole repository
  • Help me write a Semgrep rule for this unchecked input pattern
  • Triage these search matches by confidence and exploitability

Good to know

  • Authorized use only, as stated in the source.
  • Supporting CodeQL, Semgrep and report template files are not bundled in this copy.
  • Stop generalizing when the false positive rate exceeds about 50 percent.
  • Not a substitute for environment-specific validation or expert review.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/variant-analysis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to variant-analysis

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

variant-analysis: common questions

Does this copy include the CodeQL and Semgrep templates?

No. The source lists resources/codeql and resources/semgrep as external prerequisites that must come from an existing installation or the original supporting material.

When should I not use this skill?

The source says not to use it for initial vulnerability discovery, general code review without a known pattern, or writing fix recommendations.

When should the search stop widening?

The source says to stop when the false positive rate exceeds about 50 percent, then revert and try a different abstraction.

How do I install variant-analysis?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is variant-analysis free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is variant-analysis safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to variant-analysis?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

variant-analysis Install

Add to stack

Loading.