What problem does it solve? After discovering one vulnerability, security analysts need to find every other place the same root cause appears, but ad-hoc searching misses variants in other modules, related functions, and edge cases. This Skill provides a systematic five-step methodology for turning a known bug into progressively generalized search patterns while controlling false positive rates. ## Core Features & Use Cases - Five-Step Variant Hunting Process: Understand the root cause, build an exact match, identify abstraction points, generalize one element at a time, and triage results with confidence and exploitability ratings. - Ready-to-Use Query Templates: Prebuilt Semgrep taint-tracking rules for Python, JavaScript, Java, Go, and C/C++, plus CodeQL templates and a structured variant report template. - Tool Selection Guidance: Decision table mapping scenarios to the right tool, from ripgrep for quick recon to CodeQL for cross-function data flow analysis. - Use Case: After finding a SQL injection in one Flask route, use the Skill to generalize the pattern into a Semgrep taint rule, scan the entire repository, and document three additional confirmed variants in a structured report. ## Quick Start Use the variant-analysis skill to search this entire repository for other instances of the SQL injection pattern just found in api/handlers.py.