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.
How does a Trail of Bits plugin work?
› /differential-review:diff-review <pr-url>A plain sentence triggers the skill; some plugins have their own command.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
differential-reviewstatic-analysissupply-chain-risk-auditorinsecure-defaultsagentic-actions-auditorproperty-based-testingmutation-testingspec-to-code-compliancemodern-pythondevcontainer-setupsecond-opiniongh-clibuilding-secure-contractsyara-authoringfirebase-apk-scannerThe plugins most useful to businesses: when and what they need
| Plugin | When it helps | Requirements |
|---|---|---|
differential-review | Vulnerabilities, reintroduced bugs, blast radius and test gaps in a PR, commit or diff | git |
static-analysis | Fast pattern scanning with Semgrep, data flow analysis with CodeQL, SARIF merging | Semgrep CLI, CodeQL |
supply-chain-risk-auditor | Known vulnerabilities, abandoned upstreams and install scripts in npm, PyPI, Go dependencies; doesn't install or run the project | uv; gh recommended |
insecure-defaults | Fallback secrets, default admin accounts, fail-open auth, weak crypto, CORS *, debug detail leaks | Parallel subagents |
agentic-actions-auditor | Attacker prompt injection paths in GitHub Actions workflows that use Claude Code Action, Codex or Gemini CLI | — |
modern-python | Setting up a Python project with uv, ruff and pytest | uv; carries a hook |
open-sourcing | Secret hygiene, licensing and CI readiness before making a repository public | — |
second-opinion | An independent review of changes from Codex, Antigravity or Gemini CLI | The relevant CLI and account |
| Your work | Install this first |
|---|---|
| Reviewing PRs before delivery | differential-review, static-analysis |
| A dependency risk report | supply-chain-risk-auditor |
| You use an AI agent in CI | agentic-actions-auditor |
| Insecure defaults in config | insecure-defaults |
| Making a repository public | open-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.
› /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.
› codex plugin marketplace add trailofbits/skills
codex plugin list
codex plugin add differential-review@trailofbitsAccording to the README, Codex supports Claude plugin marketplaces directly; the repository needs no Codex-specific extra files.
The README says the repository's .claude-plugin/marketplace.json can be imported into a ChatGPT workspace plugin marketplace; skills that include agents/openai.yaml need display name and short description fields. Where the import screen is and which plans have it aren't in this documentation.
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.
/static-analysis:semgrep-scan command.pull_request_target, running AI output with eval, settings like --yolo that turn off protections, wildcard allowlists).Which agents does it work with?
| Claude CodeYes | The main target: marketplace and plugin installation are in the README; hooks use the Claude Code hook system. |
|---|---|
| CodexYes | README: Codex supports Claude plugin marketplaces directly. |
| ChatGPT workspacePartly | marketplace.json can be imported; some skills need extra fields. |
| Claude app (claude.ai, Desktop)Unclear | The 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?
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.
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.
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.
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).
- Free to use, adapt in-house and use in commercial work
- 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?
- 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
/pluginmenu. - Remove: Remove the plugin from the
/pluginmenu; 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
- trailofbits/skills repository (README)
- Plugin marketplace (marketplace.json)
- License (CC BY-SA 4.0)
- differential-review
- static-analysis
- supply-chain-risk-auditor
- agentic-actions-auditor
- gh-cli (hooks)
- Trail of Bits open source page
- trailofbits/skills-curated
- skills.sh: trailofbits/skills
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.





