AgenticCLI
▮ shipguardis the security scanner your coding agent runs before every commit.$ npm i -g @agenticcli/shipguard

──[ ▮ comparison ]──

/security-review and ShipGuard: run both

Your agent reads the change for logic. ShipGuard is the repeatable check that runs on every commit.

Short answer: Claude Code's /security-review has a model read your branch diff for risks such as injection, auth issues and data exposure. ShipGuard runs fixed checks on your project files and gives the same answer for the same code. A model review can spot logic a rule cannot name; a fixed check can be run on every commit. Use both. What ShipGuard is.

What /security-review does well

Read from its own docs on 24 Nov 2026.

  • The Claude Code docs say /security-review analyzes the changes on your current branch for security vulnerabilities, reviewing the diff against the origin default branch for risks such as injection, auth issues and data exposure. [1]
  • It needs an origin remote. The docs add an error reference for reviews that fail without one. [1]
  • Anthropic also publishes a GitHub Action that reviews pull requests and comments on them. Its README says it reasons about code semantics and lists business logic flaws among the issue types. [2]
  • The Action needs a Claude API key. Its README says it is not hardened against prompt injection and should only review trusted pull requests. [2]
  • By default the Action filters out some low-impact findings such as denial of service, rate limiting and open redirects, and you can tune the filter. [2]

Claude Code /security-review and ShipGuard, side by side

ShipGuardClaude Code /security-review
Best for[7][1]Founders shipping with a coding agentA second review of one change, by a Claude model
CLI and agent fit[7][1][2]✓ No dashboard to open. One command returns a JSON verdict, and with --strict a failing exit code. Works with Claude Code, Codex and Cursor✓ A slash command inside Claude Code, and a GitHub Action that returns a findings count and a results file
Where it runs[7][2]✓ Your machine. Your code never leaves it✗ The review is done by a Claude model, so it reads the changed code
Licence and install[7][3][4]Open source CLI (Apache-2.0). One line to run, no account for the general rulesMIT for the GitHub Action. The /security-review command ships inside Claude Code, under Anthropic's terms
How you buy[8][2]✓ Self-serve, no sales call. One account covers any number of your machines and agents~ Needs an Anthropic account: Claude Code, or an API key for the Action
Pricing model and metering[8][5][6]✓ One flat price, no seats. Only rulebook scans are counted: 1,000 a month on Pro. General-rule scans are free and never counted✓ Billed by use on your API key. The Claude Console shows the spend
What it checks[2][7]Five areas: secrets, auth, database, payments, deploymentInjection, login and access flaws, data exposure, crypto mistakes and more, found by a model reading the diff
How it finds issues[7][1]Fixed pattern rules, no AI model involvedA model reads your diff
What it reads[7][1]The project files, or only changed files with --changedThe diff against the default branch
Same answer every run[7]✓ Same code, same answer~ Varied between runs in our five-run test
Logic a rule cannot name[2]✗ Only what the rules cover✓ Can reason about intent and context
Explains the fix[7][2]✓ Each finding has an explanation and, where known, a fix✓ Writes findings with explanations
Verdict for automation[7][2]✓ JSON recommendation plus exit code~ Text review; the Action returns a findings count
Needs[7][2]Node.js 20+; no account for the general rulesClaude Code (or an API key for the Action)

When Claude Code /security-review is the better pick

  • You want a reviewer that reads the whole change and explains risks in context, including logic problems no rule names. [2]
  • You want a pull request comment from a model before you merge. [2]
  • You already work in Claude Code and want a review without extra setup. [1]

When ShipGuard is the better pick

  • You want a check that runs on every commit and gives the same answer for the same code. [7]
  • You want a hard gate: --strict exits 1 on a blocking finding, so a hook or CI job can stop the commit. [7]
  • You want the common AI-code mistakes covered by name: leaked keys, routes without login, unsigned payment webhooks, destructive migrations, risky deploy settings. [7]
  • Your agent needs a yes or no it can parse: SAFE_TO_SHIP, REVIEW_BEFORE_SHIP or DO_NOT_SHIP. [7]

Where ShipGuard stops

  • ShipGuard only finds what its rules cover. A logic flaw no rule names can pass.
  • It has five check areas: secrets, auth, database, payments and deployment. It is not a code reviewer and not a dependency scanner.
  • It blocks only with --strict. Without that flag it reports and exits 0.

Run both in your Claude Code workflow

Rules first on every change, a model review second, and you last.

ShipGuard after each change your agent makes, then the model review on the branch. [7][1]

Per change and before merge
npx @agenticcli/shipguard scan --changed --strict --json
# fix anything blocking, then rerun until it passes
/security-review # inside Claude Code, before you merge

ShipGuard can install a hook so Claude Code runs the check for you. [7]

Claude Code hook
shipguard hook --target claude
  1. Add the ShipGuard check to your agent's rules or hook so it runs after every change.
  2. Run /security-review on the branch before you open or merge the pull request.
  3. Treat a ShipGuard block as a stop, and a /security-review finding as a question to answer.
Snippets are copied from each tool's own docs. Check the version you pin against that tool's release page before you rely on it.
We ran it. On 25 November 2026 we planted 29 defects in a demo repo and ran six free scanners and ShipGuard's paid full rulebook on it. See the full answer key, the false alarms and the commands →

Claude Code /security-review and ShipGuard: common questions

  1. Is ShipGuard a replacement for /security-review?

    No. They do different jobs. /security-review has a model read your diff and reason about it; ShipGuard runs fixed checks and gives the same answer each time. We suggest ShipGuard on every commit and /security-review before merge.

  2. Does /security-review catch a hardcoded API key?

    It can, but a model review can miss it. We ran it five times on one change with a planted live key and compared the answers; the full result is in our blog post. ShipGuard's secret checks are rules, so they report a matching key every run.

  3. Does /security-review send my code to Anthropic?

    Yes, the review is done by a Claude model, so the changed code is read by that model. The GitHub Action also needs a Claude API key. ShipGuard's checks run on your machine.

  4. Can ShipGuard run inside Claude Code?

    Yes. Run npx @agenticcli/shipguard scan --changed --strict --json from the agent, or install a Claude Code hook with shipguard hook --target claude. This is compatibility only; it is not an official Anthropic integration.

More comparisons and real scan output

Sources

Facts about other tools were read on 24 Nov 2026. Facts about ShipGuard come from our own README and docs.

  1. Claude Code docs: commands (/security-review)
  2. claude-code-security-review README (Anthropic)
  3. claude-code-security-review licence (MIT)
  4. Claude Code licence and terms (Anthropic)
  5. Claude API pricing (Anthropic)
  6. Claude Code docs: manage costs
  7. ShipGuard README (our own)
  8. ShipGuard pricing page (our own)

────────[ ▮ ShipGuard ]────────

Try the check on your own project

One command, no account for the general rules. Your code stays on your machine.

$npx @agenticcli/shipguard scan