hunting-bugs-with-a-code-graph

Solid

Hunt security bugs across a whole codebase by reasoning over its structure (call graph and dataflow) instead of grepping for keywords. Use when you have source access to an authorized target (your own code, an OSS project, or an in-scope engagement) and want systematic coverage of a bug taxonomy rather than a single hunch; when the question is "who calls this, what reaches this sink, which peer function is unguarded." Orients on an unfamiliar codebase, enumerates the full bug taxonomy before drilling in, and turns structural leads into decided findings.

AI & Automation 4 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Hunting bugs with a code graph Grep finds strings; it misses the caller behind a rename, an alias, or an import indirection, and it cannot answer "what can flow into this argument." Reasoning over a codebase's *structure* - its call graph and dataflow - can. This skill is the master loop for a source-level hunt. Two companions go deeper on single moves: `adjudicating-taint-paths` (lead → decided finding) and `auditing-guard-gaps` (the unguarded peer of a guarded function). ## When to use - You have source and want *coverage*, not a one-off keyword search. - You're cold on an unfamiliar codebase and need to find where input arrives. - You want to work a bug *taxonomy* systematically and prove what you ruled out. ## Scope check (do this first) Only run on code you're authorized to analyze: your own, an OSS project you contribute to, a CTF, or an engagement where source review is in scope. If you can't name why you're allowed to read this source, stop. ## The loop 1. **Index the target.** Build a structural index of the source tree. It is a *snapshot* - re-index whenever the code changes in a way that matters, or you will adjudicate against stale structure. 2. **Orient before hunting.** Start from the most-connected functions - the structural spine, where input arrives and trust boundaries sit - not from a file you happened to open. Map the top-level entry points and the module layout before drilling in. 3. **Enumerate the whole taxonomy - never one fam...

Details

Author
UnboundCompute
Repository
UnboundCompute/security-agent-skills
Created
5 days ago
Last Updated
yesterday
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category