Download for MacApple silicon, macOS 14+
Skill

audit-context-building

@trailofbits Updated 2026-10-28

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.

agent-skills

Install

With your agent

Install OMGSkills skill "trailofbits/skills:audit-context-building" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/trailofbits/skills /tmp/skills && ln -s /tmp/skills/plugins/audit-context-building/skills/audit-context-building ~/.claude/skills/audit-context-building

From README

Audit Context Building Build understanding, not verdicts. This runs before anyone hunts for bugs, and feeds that work. When to Use At the start of an audit, a threat model, or an architecture review, when the code is unfamiliar. Also when an earlier pass produced findings nobody could judge, because no one had mapped out how the system fits together. When NOT to Use Do not name vulnerabilities, suggest fixes, write proofs-of-concept, or rate severity. Those belong to the hunting phase, which runs next and with the whole picture in hand. When the code counts on something and nothing checks it, record that plainly and move on — whether it matters is decided later. Not worth the tokens on code you already understand. Do not analyze in this context The analysis is long, and this context needs to survive to use it. Dispatch it: A codebase, or more than one function — run /audit-context-building:audit-context .