Skip to content

What Are Trail of Bits Skills? Security Audit Plugins for Claude Code and Codex: Contents and Setup

You tell a coding agent "review this PR for security" or "assess the risk of my dependencies"; the agent does the job with the method of security firm Trail of Bits: it looks at the git history and the change's blast radius, tries to prove or refute each finding, and writes a Markdown report. Trail of Bits Skills is a plugin marketplace you add to Claude Code and Codex: 47 plugins and 99 skills covering differential review, Semgrep and CodeQL scanning, supply-chain risk, insecure defaults and AI agent vulnerabilities in GitHub Actions, plus testing and modern Python tooling. You add it with `/plugin marketplace add trailofbits/skills` and install plugins one by one; it is free, and the content is licensed CC BY-SA 4.0.

What it does
Has the agent do security reviews with a method
Type
Plugin marketplace (47 plugins, 99 skills)
Where
Claude Code, Codex
Hooks
3 plugins carry hooks (gh-cli, modern-python, fp-check)
Publisher
Trail of Bits (official repository)
Cost
Free (CC BY-SA 4.0)

What do Trail of Bits Skills do?

Asking a coding agent "is this code secure?" often gets a general answer. Trail of Bits' plugins break each security job into steps: what to look at first, which tool to run, how to test whether a finding is real or a false alarm, and what the report should contain. A plugin is a package that adds skills, commands, subagents and, when needed, hooks to Claude Code or Codex; this repository offers 47 of them as a marketplace.

Who it helps: teams that write code, agencies that deliver software or SaaS to clients, and people doing security reviews, especially developers who already use Claude Code or Codex. For example, a software agency can run pull requests through differential review and a Semgrep scan before delivery and have the GitHub Actions setup audited for AI agent vulnerabilities. The smart contract, binary, cryptography and Lean proof plugins are specialist work.

To put a whole repository through a six-phase full audit in one go, see the Cloudflare security-audit guide; Trail of Bits plugins are instead split by job (PR diff, static scanning, dependencies, Actions).

For a separate agent that tests a running app from an attacker's point of view in its own Docker environment, read the Strix guide; this collection works inside Claude Code or Codex, on code and configuration.

How does a Trail of Bits plugin work?

You describe the job or call the command› /differential-review:diff-review <pr-url>A plain sentence triggers the skill; some plugins have their own command.
It gathers contextIt examines the changed code, git history, callers and tests.
It tests findingsFor risky findings, a separate subagent builds the attack path or tries to refute the finding.
It reportsA Markdown report or SARIF; what couldn't be measured is listed separately in the report.
The steps vary from plugin to plugin; this flow comes from the differential-review and insecure-defaults READMEs.

A plugin carries some of these parts: a skill (the method), a command (an entry point in the form /plugin-name:command), a subagent (e.g. a separate agent that models the attacker or refutes a finding), a hook (a script that runs automatically at certain points in the agent's work) and, in one plugin, an MCP server. For jobs like static scanning, the actual scanner (Semgrep, CodeQL) must be installed separately on your computer; the plugin runs it with the right settings and interprets the result.

Which plugins are there? Package contents

19Code auditingDifferential review, static analysis, supply chain, insecure defaults, Actions auditing, C/C++ and Rust review, CVSS scoring.differential-reviewstatic-analysissupply-chain-risk-auditorinsecure-defaultsagentic-actions-auditor
9VerificationProperty-based testing, mutation testing, regression hunting, patch validation, spec compliance.property-based-testingmutation-testingspec-to-code-compliance
12DevelopmentModern Python and C++, devcontainers, open-source prep, second opinions, GitHub issue/PR triage.modern-pythondevcontainer-setupsecond-opiniongh-cli
7Specialist areas and othersSmart contracts (2), malware (YARA), reverse engineering (DWARF), mobile (Firebase APK), team management, tool troubleshooting.building-secure-contractsyara-authoringfirebase-apk-scanner
The plugins most useful to businesses: when and what they need
PluginWhen it helpsRequirements
differential-reviewVulnerabilities, reintroduced bugs, blast radius and test gaps in a PR, commit or diffgit
static-analysisFast pattern scanning with Semgrep, data flow analysis with CodeQL, SARIF mergingSemgrep CLI, CodeQL
supply-chain-risk-auditorKnown vulnerabilities, abandoned upstreams and install scripts in npm, PyPI, Go dependencies; doesn't install or run the projectuv; gh recommended
insecure-defaultsFallback secrets, default admin accounts, fail-open auth, weak crypto, CORS *, debug detail leaksParallel subagents
agentic-actions-auditorAttacker prompt injection paths in GitHub Actions workflows that use Claude Code Action, Codex or Gemini CLI—
modern-pythonSetting up a Python project with uv, ruff and pytestuv; carries a hook
open-sourcingSecret hygiene, licensing and CI readiness before making a repository public—
second-opinionAn independent review of changes from Codex, Antigravity or Gemini CLIThe relevant CLI and account
Your workInstall this first
Reviewing PRs before deliverydifferential-review, static-analysis
A dependency risk reportsupply-chain-risk-auditor
You use an AI agent in CIagentic-actions-auditor
Insecure defaults in configinsecure-defaults
Making a repository publicopen-sourcing

Counts come from the README tables and marketplace.json (November 18, 2026: 47 plugins, 99 SKILL.md files in the repository); skills.sh showed 107 skills the same day. According to skills.sh, the most-installed are differential-review, semgrep and modern-python. A separate trailofbits/skills-curated repository collects other developers' plugins that Trail of Bits has code-reviewed.

How do you install Trail of Bits Skills?

First you add the marketplace once, then install only the plugins you need. There's no need to install everything; choose hook-carrying plugins deliberately.

Inside Claude Code: add the marketplace, pick plugins› /plugin marketplace add trailofbits/skills /plugin menu

/plugin menu lists the marketplace's plugins; pick the one you want and install it. Plugin READMEs also give commands such as /plugin install insecure-defaults for a single plugin.

Semgrep and CodeQL aren't part of the plugin: the Semgrep skill checks with semgrep --version whether it's installed and, if not, points to Semgrep's own installation docs.

What do you type, what do you get? Example requests

Once a plugin is installed, you can describe the job in a plain sentence or call the plugin's command. The examples are based on the usage in the plugin READMEs; the "what you get" part goes only as far as the documentation describes.

PR security review (differential-review)"Review this pull request for security: does it reintroduce a previously fixed bug, what is the change's blast radius, and is the changed code tested?"What you get: according to the README, a review that prioritizes authentication, cryptography, value transfer and external calls; it uses git blame to understand why code exists, calculates blast radius by counting callers, flags untested changes and writes a Markdown report. For high-risk changes, a separate subagent builds a concrete attack path and rates exploitability.
Semgrep scan (static-analysis)"Scan this project for vulnerabilities with Semgrep; show only important findings with medium-to-high confidence."What you get: the skill detects languages, selects rulesets, presents the plan for your approval, then runs the approved rulesets and merges the output as SARIF. The "important only" mode limits results to medium-to-high confidence and impact findings; if Semgrep Pro is available, it uses cross-file taint analysis. For the same scan without the approval step, there's the /static-analysis:semgrep-scan command.
Dependency risk (supply-chain-risk-auditor)"Audit this project's dependencies and assess its supply-chain risk."What you get: known vulnerabilities (OSV), deprecated releases, archived or abandoned repositories, publisher concentration and install scripts for direct dependencies; with a lockfile, a vulnerability sweep of the whole tree. The report shows what could and couldn't be measured in a separate table; the tool doesn't install, build or run the project.
AI agent in CI (agentic-actions-auditor)"Audit the GitHub Actions workflows in this repository for AI agent security issues."What you get: the paths by which attacker-controlled input such as PR titles, branch names and issue bodies reaches a Claude Code Action, Codex, Gemini CLI or GitHub AI Inference prompt; findings in nine categories (e.g. injection via environment variables, checking out PR code with pull_request_target, running AI output with eval, settings like --yolo that turn off protections, wildcard allowlists).

Which agents does it work with?

Claude CodeYesThe main target: marketplace and plugin installation are in the README; hooks use the Claude Code hook system.
CodexYesREADME: Codex supports Claude plugin marketplaces directly.
ChatGPT workspacePartlymarketplace.json can be imported; some skills need extra fields.
Claude app (claude.ai, Desktop)UnclearThe README doesn't describe an install path for these apps.

skills.sh also lists this repository with npx skills add trailofbits/skills; Trail of Bits' documentation doesn't describe this route. npx skills installs skill folders; commands, subagents and hooks are part of the plugin route. Don't install the same skill both ways.

What do the plugins access? What do the hooks do?

Reads

The repository's source code, git history, dependency and lockfiles and Actions workflows; the supply-chain plugin pulls package information from npm, PyPI, OSV and GitHub; github-triage reads open issues and PRs.

Hooks

gh-cli: intercepts WebFetch, MCP fetch and curl/wget requests to GitHub and suggests the gh command, adds a gh shim to PATH and deletes clones at session end. modern-python: stops python, pip and pipx calls with a PATH shim and prints the uv equivalent. fp-check: a model prompt hook that runs at every stop and every subagent stop while the plugin is installed; it checks whether verification is complete and passes in conversations that aren't about fp-check.

Writes and sends

Reports, SARIF, test and configuration files. patching-bugs commits a scoped patch, git-cleanup deletes worktrees and local branches after confirmation, and code-improver runs an autonomous review-and-fix loop; when asked, github-triage merges PRs and closes issues with comments; second-opinion sends your changes to Codex, Antigravity or Gemini CLI.

Starts with the session

While zeroize-audit is enabled, each agent session downloads the current state of Serena from GitHub with uvx (not pinned to a version) and runs it as an MCP server. Hooks also kick in at session start; other plugins don't run code at install time.

Have only code you own or are authorized to audit reviewed; install plugins that carry hooks or write outward (gh-cli, modern-python, github-triage, second-opinion) knowing what they do.

Is it free, and what is the license?

Yes, it is free and needs no account. Costs come from your coding agent's plan and model usage; some plugins, such as insecure-defaults, run many subagents in parallel. The license isn't a software license but Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0).

Allowed
  • Free to use, adapt in-house and use in commercial work
Not allowed
  • Sharing requires attribution to Trail of Bits
  • Skills you modify and distribute must also be distributed under CC BY-SA 4.0 or a compatible (same-terms) license (share-alike)

Source: LICENSE ("Attribution-ShareAlike 4.0 International") and the README "License" section. The license covers the skill and plugin content; the documentation doesn't separately address the reports you produce with the plugins. This is not legal advice.

How do you update or remove a plugin?

  1. Update: The repository doesn't publish tagged releases; each plugin's version is in marketplace.json. Automatic updates in Claude Code depend on the marketplace setting in the Marketplaces tab of the /plugin menu.
  2. Remove: Remove the plugin from the /plugin menu; its hooks go with it. In Codex, remove it from the plugin list.

Frequently asked questions

What are Trail of Bits Skills?

Security firm Trail of Bits' plugin marketplace for Claude Code and Codex. Its 47 plugins include PR security review, Semgrep and CodeQL scanning, dependency risk, insecure defaults, GitHub Actions auditing and testing tools.

How do you add it to Claude Code?

Inside Claude Code, type /plugin marketplace add trailofbits/skills to add the marketplace, then pick and install the plugins you want with /plugin menu.

What does the Semgrep skill do?

It is part of the static-analysis plugin. It detects languages, selects rulesets, presents the plan for approval, runs Semgrep and merges the results as SARIF. The Semgrep CLI must be installed separately.

What is the difference between skills and skills-curated?

trailofbits/skills contains plugins Trail of Bits wrote itself. trailofbits/skills-curated is a separate marketplace that collects other developers' plugins that Trail of Bits staff have code-reviewed.

Is it free, and what is the license?

It is free. The content is licensed CC BY-SA 4.0: use is free, sharing requires attribution, and if you modify and distribute it you must use the same or a compatible license.

Does it work in Codex?

Yes. The README says Codex supports Claude plugin marketplaces directly; add it with codex plugin marketplace add trailofbits/skills and install plugins with codex plugin add.

Related guides

Sources

Not clear in the official sources: How to install in the Claude app (claude.ai, Desktop) · which ChatGPT workspace plans support the import · use with requests in Turkish · why the skill count on skills.sh differs from the repository's. Each is covered in its section.