← All skills

SBQ AGENTS HUB / SKILL LIBRARY

Audit context building

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.

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.

Security and privacy · Workflow example

  • Security and hardening — Harden authentication, input validation, secrets handling, and API boundaries against common exploits.
  • Differential security review — Perform risk-first security reviews of git diffs, commits, and pull requests.
  • Insecure defaults audit — Detect fail-open configs, fallback secrets, and weak cryptographic defaults with false-positive checks.
  • Spreadsheets — Instructions for creating, reading, and editing spreadsheet files.

Learn about supported coding agents and agent orchestration in SBQ Agents Hub.