# Anthropic ships four security tools. One excludes the thing that costs you most. > There is a built-in command, two marketplace plugins and a GitHub Action, and most people know about none of them. How the verification architecture works, what one hands-on test actually caught, and why rate limiting is filtered out of the default report. **Published:** 2026-10-20 · **Topic:** Security · **Reading time:** 9 min read **Source:** https://buildingmvp.com/articles/anthropic-official-security-tooling **Author:** MVP Strategic Consulting (buildingmvp.com) --- **Anthropic ships four separate security tools for Claude Code, and the official GitHub Action excludes rate limiting from its findings by default.** For a team reviewing pull requests, that exclusion is correct: rate limiting findings are noisy and rarely prove impact. For an AI-built app with an unauthenticated endpoint calling a paid model, it removes the single most expensive thing that can happen to you. That gap is not a flaw in the tooling. It is a tool built for a different problem than the one you have, and knowing which is which is the whole point of this article. ## The four things, because most people know about one - **`/security-review`** is built into Claude Code. Nothing to install. It is also now discoverable by the model itself, so you can ask for a security review in plain words and it will reach for the command. - **claude-security**is a plugin from the official marketplace, and it is substantial: one skill, eight agents, hooks, workflows, and Python scripts. It is the in-session version of Anthropic's hosted security product. - **security-guidance** is a second plugin, and the one most relevant to this site, because it is explicitly aimed at reviewing *Claude-generated* code as it is written. - **claude-code-security-review** is a GitHub Action that reviews pull request diffs and comments inline. Install the plugins with `/plugin install claude-security@claude-plugins-official` and the same for `security-guidance`. While you are in there, it is worth knowing the official marketplace carries around forty plugins. Most people have never opened it. ## How the big one is built The architecture of claude-security is worth reading even if you never run it, because it is a serious answer to the problem that makes AI security review unreliable: a model asked whether code is secure tends to say yes. Its own description of the answer: > every finding challenged before it is reported and the verification tally computed in code > > — claude-security plugin, Anthropic Three design decisions sit behind that, and each one is aimed at a specific failure. **Findings are challenged by someone else.** Candidates go to independent verifiers whose job is to disprove them, working from the code rather than from the report of it, and instructed to call a finding a false positive unless they can confirm a real path to exploitation. The researcher does not get to mark its own work. **The rigor claim is computed, not asserted.** The record of how thoroughly a run was verified is produced in code rather than written by the model that produced the findings. A finding also cannot claim more confidence than its verification earned. This closes the obvious hole where a model writes both the findings and the paragraph saying how carefully it checked them. **The repository is evidence, not instruction.** Code, comments and any `CLAUDE.md` in the tree are read as data under review, so text addressed to the scan is noted rather than obeyed. That is a prompt injection defence, and the documentation is careful about how far it goes: it is explicitly not a defence against a hostile repository, and for scanning code you do not trust they recommend running the whole session in a sandbox. The patching side is held to the same standard. Fixes are developed in a scratch copy, never your working tree, and reviewed by agents independent of the one that wrote the patch. A patch is only written when the review can vouch that it addresses that one finding, introduces nothing new, and leaves behaviour otherwise unchanged. Nothing is applied, committed or pushed for you. > **Note.** A detail worth stealing regardless of whether you use the tool: a change to which inputs the code accepts counts as a behaviour change. That is a tighter definition than most people apply when reviewing a security fix, and it catches the classic case where tightening validation quietly breaks a caller. ## What it looks like in practice One hands-on test worth reporting, with the caveat that it is one person, one project, and a single run. A developer built a small Laravel app with two deliberate flaws, a raw SQL query taking unfiltered input and a comment field rendered without escaping, then ran `/security-review` with no arguments. It found both. Each came back with the specific line, a severity, the input that would trigger it, the concrete exploit scenario, and a framework-appropriate recommendation. The whole run took roughly three to five minutes, with individual findings taking up to two minutes each to validate. The third result is the interesting one. He had also left a Stripe-shaped key hardcoded in a controller. The scan *detected* it, then *dismissed*it during validation. His reading was that the variable name contained “public” and the value contained “test,” so the verifier concluded it was not a real credential. Which is the verification layer working exactly as designed, and also the cost of it. The instruction to discard anything you cannot prove is what keeps the reports short and trustworthy. It is the same instruction that threw away a hardcoded key. ## The exclusion list Here is the part that matters most for anyone building the kind of app this site is about. The GitHub Action documents what it filters out by default to reduce noise: - Denial of service vulnerabilities - **Rate limiting concerns** - Memory and CPU exhaustion issues - Generic input validation without proven impact - Open redirects Read that list against a vibe-coded app. The realistic worst case for a small AI-built product is not a breach, it is an invoice: an unauthenticated endpoint that calls a paid model, hit in a loop. The attack is resource exhaustion. The control is a rate limit. **Both are on the exclusion list.** This is a reasonable default and a bad fit for this audience. Those findings genuinely are noisy in a mature codebase with an infrastructure team and a WAF in front of it, where a missing application-level rate limit is usually somebody else's layer. On a solo project where nothing sits in front of the endpoint and the provider bills per call, it is the finding you most needed. The filtering is tunable, which is the actual answer: the Action takes custom false-positive filtering instructions. If you use it on an app with metered endpoints, override the default and say so. ## The second plugin, which almost nobody mentions security-guidance deserves more attention than it gets, because it is the only one of the four that works while the code is being written rather than after. It runs in three layers: - **Pattern warnings on every edit.** Instant regex checks for around twenty-five known-dangerous patterns, the unsafe deserialisation and raw HTML family. - **A diff review when Claude finishes a turn.** High-severity findings are fed back to Claude so it can fix them before the response reaches you. - **An agentic review on commit** that reads related files to trace data flow across the codebase, aimed at the multi-file problems pattern matching cannot see: insecure direct object references, auth bypass, cross-file request forgery. That second layer is the one to notice. It is a correction loop that runs before you ever see the output, which is a meaningfully different intervention point from scanning a finished repository. It also costs an extra model call on every turn, so it is a real trade rather than a free win. ## What the documentation is honest about Three admissions in the official material that you should carry. **Scans are nondeterministic.**Two scans of the same code can surface different findings. The documentation's own conclusion is that running scans regularly builds coverage, which is a polite way of saying one clean scan proves less than you would like. **It complements rather than replaces.** The stated position is that this reasons about code the way a human researcher does, alongside static analysis, dependency scanning and code review. Nobody is claiming it is a substitute for the boring tools. **The Action is not hardened against prompt injection.** Stated plainly in the repository, with the recommendation to only use it on trusted pull requests and to require approval for external contributors. A security reviewer that reads attacker-supplied text is itself an attack surface, and they say so rather than leaving you to work it out. ## What I would actually do - **Turn on `/security-review` now.** It is already installed and it demonstrably catches the textbook injection and escaping flaws with usable detail. - **Install security-guidance** if most of your code is model-written. Catching a problem in the turn that created it is worth more than catching it in a scan next week. - **Run claude-security before a release** rather than continuously. It is the heavier tool and the verification is what you are paying for. - **Override the exclusion list** if you use the Action and your app has endpoints that cost money per call. - **Keep checking the things a scanner structurally cannot see.** Whether entitlements sit on a row the user can write. Whether a spend cap actually halts rather than emails. Whether a table created by migration has access control switched on. Those are not code flaws, they are design and configuration decisions, and the most expensive one on that list passed review by two different AI tools before it cost somebody their AI bill. The honest summary: the official tooling is better engineered than anything you would assemble yourself, and its verification design is the right answer to the problem of models agreeing with you. It is also tuned for code review in an organisation, which means the category that empties a solo builder's bank account is filtered out of the default report. Use it. Just know what it is not looking for. --- *Originally published at https://buildingmvp.com/articles/anthropic-official-security-tooling. Free to quote with attribution.*