Skip to content
Security
Command

/audit

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open switches, weak crypto, permissive access, debug leakage. Parallel sweeps collect candidates, then a refuting verifier traces each one to the security

From plugin
skills
7.9k8 skills30 agents8 commands1 MCP
> /plugin marketplace add trailofbits/skills

Command definition

audit.md
description: "Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open switches, weak crypto, permissive access, debug leakage. Parallel sweeps collect candidates, then a refuting verifier traces each one to the security decision it reaches before it is reported."
argument-hint: "[path]"
allowed-tools: Bash Workflow

Insecure defaults audit

**1. Check the corpus is there.**

ls -1 ${CLAUDE_PLUGIN_ROOT}/references

Must list `*.md` files. If it errors or lists none, **stop and say so**. Don't search elsewhere, don't guess, don't run the audit anyway.

**2. Run it.** `Workflow` tool:

name: "insecure-defaults:audit-pipeline"
args: { scope: "$1" or ".", pluginRoot: "${CLAUDE_PLUGIN_ROOT}" }

Pass the `${CLAUDE_PLUGIN_ROOT}` value as printed above; it's already the real path.

**3. Print the result**, by `status`:

  • `findings`, `no-findings-confirmed`: print `report`.
  • `no-candidates`: the sweeps ran and matched nothing, which is a real result. There is

no `report`; print `note`, including its point that this is not proof of absence.

  • `report-failed`: the audit completed but the write-up died. Print `note`, then present

`findings`, `refuted` and `coverage` yourself.

  • anything else: the audit **didn't complete**, so it isn't a clean result. Print `note`

and say the run failed.

@trailofbits
Ships withskills

Trail of Bits skills and plugins for AI-assisted security analysis, testing, and development. Install this marketplace in Claude Code or Codex, or import it into your ChatGPT workspace marketplace.

7.9k95 skills30 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7.9k
Star history of trailofbits/skills on GitHub, a chart by star-history.com

Other commands on skills.

git-cleanup

git-cleanup

Command

Safely analyzes and cleans up local git branches and worktrees, categorizing them as merged, squash-merged, superseded, or active…

@trailofbits@trailofbitsInstall Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

ironclaw12d13k
@nearai@nearaiInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@shuvonsec@shuvonsecInstall Command