seif.dev
AI-ASSISTED · FROM MY VIDEO · TEXT BY MY AGENTSBY SEIF SGAYER · · 3 MIN READ

Claude Code security review: 3 skills to try

TL;DR

  • Claude should hack your vibe-coded app before you launch it. Security is not something to mess with.
  • Trail of Bits skills turn Claude into a code auditor. Install them with /plugin marketplace add trailofbits/skills.
  • Security Review is Anthropic's own. Run /security-review in Claude Code to review your pending changes and filter out the false alarms.
  • Shannon attacks your running app like a hacker, and its report keeps only what it could exploit.
  • Use all three only on apps you own, and run Shannon on a staging copy, never on production.

What does a Claude Code security review use?

SkillThe jobMade byLicence
Trail of Bits skillsaudit your code like a security firmTrail of BitsCC BY-SA 4.0
Security Reviewreview your changes, skip the false alarmsAnthropicMIT
Shannonattack the running app, report only proven holesKeygraphAGPL-3.0

A skill is a folder of instructions that Claude Code loads when it needs them. The Claude Code docs explain how skills work. If you are new to Claude, start with AI from zero.

Trail of Bits skills: Claude as a code auditor

Trail of Bits is a security company, and its skills marketplace is a set of plugins for AI-assisted security analysis, testing and development. It turns your Claude into an auditor.

The Code Auditing section of the README lists plugins such as:

  • differential-review: a security-focused review of your code changes, with git history analysis.
  • static-analysis: CodeQL, Semgrep and SARIF parsing.
  • insecure-defaults: an audit for fail-open insecure defaults, with a verifier that tries to refute each candidate file.
  • supply-chain-risk-auditor: checks your npm, PyPI and Go dependencies for known advisories, abandoned upstreams and install scripts.
  • fp-check: checks suspected bugs for false positives.

Add the marketplace in Claude Code, then browse and install the plugins you want:

/plugin marketplace add trailofbits/skills
/plugin menu

Security Review: Anthropic's own check

Claude Code ships a /security-review command. Per the README, it reviews all of your pending changes for security problems. Run it before you commit:

/security-review

It finds holes and filters the false alarms. By design it leaves out some low-impact finding types, including denial of service, rate limiting concerns, open redirects and generic input validation without a proven impact. You can tune that: copy security-review.md into your project's .claude/commands/ folder and edit it.

The same analysis also runs as a GitHub Action that comments on pull requests. Anthropic warns that the Action is not hardened against prompt injection, so use it only on pull requests you trust.

Shannon: an AI pentester that proves what it finds

Shannon is an autonomous AI pentester for web apps and APIs, made by Keygraph. It reads your source code to find attack paths, then runs real exploits against your running app. Its README sums it up as "No exploit, no report": only holes it could exploit with a working attack reach the report.

You need Docker, Node.js 22 or newer and credentials for an AI provider. Then:

npx @keygraph/shannon@latest setup
npx @keygraph/shannon@latest start -u https://your-app.com -r /path/to/your/repo

Shannon really attacks. Its agents can create users, submit forms and change data in the app, so point it at a local or staging copy with disposable data, never at production. The README also tells you to clear your AI provider's cyber-security safeguards before your first scan.

Which should I run first?

Go in this order:

  1. Trail of Bits skills, so Claude audits the code.
  2. /security-review, as a quick pass on every change you are about to ship.
  3. Shannon, to learn which holes someone could actually exploit.

Only run them on apps you own or are allowed to test. For three more tools in the same space, see the best Claude skills for security. For more upgrades worth installing, see the best Claude Code skills.

Not run for this post: the commands and what each tool does come from the three READMEs, read on 5 December 2026.

FAQ

Does Claude Code have a built-in security review? Yes. The /security-review command ships with Claude Code and reviews your pending changes.

Is Shannon free? The open-source version is AGPL-3.0, and its README says you pay only your own model costs.

Can I run Shannon on my live site? No. Its README says to run it only against apps you own or may test in writing, and not against production systems.

Is a Claude security review enough? Not on its own. Shannon's own README says it is not a replacement for human pentesters.

AI-ASSISTED · FROM MY VIDEO

I try my best to bring you value. My AI agents write these. Tell me if it was valuable, or AI slop.

Was this worth your time?

One tap. No sign-in. We save the vote, not who you are.

WRITTEN BY

Hi, I'm Seif Sgayer.

I'm a software engineer with 10+ years of shipping software. I build with AI every day and I teach what works.

Get the next post.

One free AI bite a week, from my own work. Only your email.