Audit Context Building
Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass.
- Type
- Skill
- Author
- trailofbits
- Category
- Security
- GitHub stars
- 7.8K
- Installs
- 6.8K
- Last updated
- October 28, 2026
Install
npx skills add https://github.com/trailofbits/skills --skill audit-context-buildingUse cases
- Prepare context on an unfamiliar codebase before a vulnerability hunt.
- Document function assumptions and guarantees at the start of an audit.
- Build a dependency picture ahead of a threat model or architecture review.
Frequently Asked Questions
Is this a vulnerability scanner?
No, it is a preparation step that builds understanding before any vulnerability-hunting pass.
When should I run it?
At the start of an audit, threat model, or architecture review on unfamiliar code.
What does it capture about a function?
What each function assumes, what it guarantees, and what it depends on elsewhere.
About this skill
Builds an understanding of a codebase before you start hunting for bugs: what each function assumes, what it guarantees, and what it depends on elsewhere. Use it at the start of an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass. It's a preparation step, not a scanner.
Summary written with AI assistance from the project's public description.
More from trailofbits
Semgrep
Run Semgrep static analysis scan on a codebase using parallel subagents. Supports two scan modes — "run all" (full ruleset coverage) and "important...
by trailofbits
Differential Review
Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for c...
by trailofbits
Modern Python
Configures Python projects with modern tooling (uv, ruff, ty). Use when creating projects, writing standalone scripts, or migrating from pip/Poetry...
by trailofbits
Codeql
Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis. Triggers on "run codeql", "code...
by trailofbits
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh