← Explore all skills

SECURITY REVIEW / Anthropic

Claude Security

Runs Anthropic's Claude Security scans inside a Claude Code session: a whole-repository or scoped scan, a scan of a branch, pull request or commit, and suggested fixes as patch files the user applies.

“Claude Security: scan the codebase (the whole repository or a scoped part of it), scan changes… or suggest patches…”

01 / THE REASONING

Why this made the selection.

  • The README calls it the in-your-session version of Anthropic's hosted Claude Security product: one skill that drives three jobs, scan codebase, scan changes and suggest patches, through the plugin's own scan workflow and agents.
  • Every candidate finding goes to independent verifiers told to disprove it, the record of how thoroughly a run was verified is computed in code, and results are written as Markdown, JSONL, SARIF 2.1.0 and a revision stamp.
  • Suggested fixes are developed in a scratch copy of the repository and delivered as patch files; the job does not apply, commit or push anything.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • plugins/claude-security/skills/claude-security/SKILL.md
  • plugins/claude-security/skills/claude-security/role.md
  • plugins/claude-security/skills/claude-security/jobs/scan-changes.md (pull-request search section)
  • plugins/claude-security/skills/claude-security/jobs/suggest-patches.md (overview, workspace and output steps)
  • plugins/claude-security/agents/ (frontmatter of all nine agent files)
  • plugins/claude-security/README.md
  • plugins/claude-security/SECURITY.md
  • plugins/claude-security/LICENSE
  • plugins/claude-security/NOTICE.md
  • plugins/claude-security/.claude-plugin/plugin.json
  • plugins/claude-security/hooks/hooks.json
  • plugins/claude-security/hooks/hooks.sh
  • plugins/claude-security/hooks/hooks.py (imports, metrics output, tip state file and git calls)

Our findings

  • allowed-tools pre-approves Read, Write, Edit and Bash for a listed set of command prefixes and the plugin's own scripts; role.md says any other or chained command stops the flow on a permission prompt.
  • role.md tells the lead agent to treat code, comments, CLAUDE.md and subagent output as data under review, never as instructions; the README says this is not a defense against a hostile repository.
  • Scan jobs run git with GIT_CONFIG_GLOBAL=/dev/null and GIT_TERMINAL_PROMPT=0; the fix job clones scratch workspaces with GIT_TERMINAL_PROMPT=0 and never pushes.
  • hooks.py imports no HTTP or socket module; its metrics hook prints a metrics object for Claude Code to report.
  • NOTICE.md says the plugin carries CWE titles derived from the CWE 4.20 catalog under MITRE's CWE Terms of Use.
  • The scan-researcher and scan-verifier agents are described as restricted and read-only, yet their tools lists, like those of explore, patch-generator and patch-verifier, include Bash with no command limit.

Not established by this review

  • No scan or fix job was run, and no hook fired.
  • workflows/scan.js, the bodies of the nine agent definitions past their frontmatter, jobs/scan-codebase.md, specs/ and the Python scripts in scripts/ were not read; jobs/suggest-patches.md was read only for its overview, workspace and output steps.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

/plugin install claude-security@claude-plugins-official

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

  1. The claude-security README prints `/plugin install claude-security@claude-plugins-official` followed by `/reload-plugins`. The plugin holds this one skill plus nine agents (the claude-security orchestrator, scan-inventory, scan-researcher, scan-verifier, scan-loader, scan-redactor, explore, patch-generator and patch-verifier), the hooks in hooks/hooks.json, the scripts in scripts/ and the scan workflow.
  2. If Claude Code reports that the marketplace is not found, the README says to run `/plugin marketplace add anthropics/claude-plugins-official` first, then retry.
  3. Run `/claude-security` for the menu of three jobs; a scan asks once to confirm its time and token cost unless the request already accepts it.
  4. This review installed nothing and ran no scan.

Before you start

  • Claude Code with this plugin installed
  • Python 3.9 or newer on PATH
  • A git checkout for scanning changes and suggesting patches; a whole-repository scan works without one

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/skills/claude-security/SKILL.md

    Supports: upstreamDescription, summary, whySelected[0], bestFor[0], bestFor[1], bestFor[2], review.findings[0], access.permissions[0], access.permissions[1]

  2. claude-security role.md ↗Checked

    https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/skills/claude-security/role.md

    Supports: whySelected[0], review.findings[0], review.findings[1], review.findings[2], access.permissions[1], access.permissions[5]

  3. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/skills/claude-security/jobs/scan-changes.md

    Supports: access.permissions[5]

  4. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/skills/claude-security/jobs/suggest-patches.md

    Supports: limitations[8], access.permissions[2], access.permissions[4], whySelected[2]

  5. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/scan-researcher.md

    Supports: review.findings[5], access.permissions[2], install.steps[0]

  6. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/patch-generator.md

    Supports: review.findings[5], access.permissions[2], install.steps[0]

  7. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/patch-verifier.md

    Supports: review.findings[5], access.permissions[2], limitations[8], install.steps[0]

  8. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/claude-security.md

    Supports: install.steps[0], access.permissions[3]

  9. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/scan-verifier.md

    Supports: install.steps[0], access.permissions[2], review.findings[5]

  10. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/explore.md

    Supports: install.steps[0], access.permissions[2], review.findings[5]

  11. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/scan-inventory.md

    Supports: install.steps[0], access.permissions[2]

  12. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/scan-loader.md

    Supports: install.steps[0], access.permissions[2]

  13. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/agents/scan-redactor.md

    Supports: install.steps[0], access.permissions[2]

  14. claude-security README ↗Checked

    https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/README.md

    Supports: install.command, install.sourceUrl, install.steps[0], install.steps[1], install.steps[2], install.prerequisites[0], install.prerequisites[1], install.prerequisites[2], whySelected[0], whySelected[1], whySelected[2], bestFor[1], bestFor[2], bestFor[3], limitations[2], limitations[3], limitations[4], limitations[5], limitations[6], limitations[7], review.findings[1], access.permissions[4], access.permissions[6], access.label, access.cost, compatibility

  15. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/SECURITY.md

    Supports: limitations[2]

  16. claude-security LICENSE ↗Checked

    https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/LICENSE

    Supports: license, limitations[0], access.cost, compatibility

  17. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/hooks/hooks.json

    Supports: limitations[6], access.permissions[6]

  18. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/hooks/hooks.py

    Supports: review.findings[3], access.permissions[7]

  19. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/hooks/hooks.sh

    Supports: access.permissions[7]

  20. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/NOTICE.md

    Supports: review.findings[4]

  21. https://raw.githubusercontent.com/anthropics/claude-plugins-official/41f32e407b450055044f167db7ded5e8ff67d203/plugins/claude-security/.claude-plugin/plugin.json

    Supports: license

Evidence & Ask