Map function assumptions, trust boundaries, and invariants before hunting for security vulnerabilities.
Performs granular, line-by-line architectural mapping of unfamiliar codebases to document function preconditions, guarantees, and data-flow boundaries prior to security auditing.
Category: Security
Agents: Claude CodeCodex
Helps SBQ workflows: Security audit, Research
Licence: CC-BY-SA-4.0 · Source
Audit context building is a third-party skill published in the trailofbits/skills repository on GitHub. SBQ lists it and does not own it; the publisher’s licence terms apply.
Installation
Install
/plugin marketplace add trailofbits/skills /plugin install audit-context-building@trailofbits
Installs the Trail of Bits plugin containing this skill.
npx skills add trailofbits/skills --skill audit-context-building -a codex
Skill purpose
Map code assumptions and boundaries before assessing a security concern.
Practical workflow example
Trace an invite-redemption request through validation, authentication, expiry checks and database writes before identifying risks.
Prerequisites and compatibility
Access to the request path and the ability to inspect surrounding code.
Agent setup targets are listed above. Provider accounts, model access and permissions remain separate; a catalogue listing does not certify every model or plugin version.
Configuration and use in SBQ
Review the original source, install for the selected agent and finish any upstream configuration. Connect that profile in SBQ, assign it to a relevant workflow stage and specify the task, scope and expected evidence. Begin with a small task in an isolated branch or worktree and inspect the changed files and verification output.
Limitations
Context building is preparatory analysis, not a claim that the application is secure.
Skills guide behavior; they do not grant model access, bypass permissions or guarantee correct code. Review tool access and never include credentials in task prompts.
Source, licence and attribution
Publisher: trailofbits. Original source URL. Catalogue licence: CC-BY-SA-4.0. A matching reuse licence has not been verified in this audit; consult the original publisher.
These examples are original SBQ editorial guidance. Upstream skill bodies, scripts and assets are not republished here. Retain upstream licence, copyright and NOTICE files when installing or redistributing the original material.