Home / Claude Code mods / Security / claude-security

claude-security

claude-security is a Claude Code mod by anthropics that find and fix vulnerabilities before attackers exploit them. A team of agents maps your code, hunts for exploitable flaws and challenges every finding, so you spend your time on real bugs.

Updated 2026-12-01

What is claude-security?

claude-security is a Claude Code mod by anthropics that find and fix vulnerabilities before attackers exploit them. A team of agents maps your code, hunts for exploitable flaws and challenges every finding, so you spend your time on real bugs. It is listed under Security and has 48,799 GitHub stars.

TypeClaude code mod
Authoranthropics
Repositoryanthropics/claude-plugins-official
Popularity48,799 GitHub stars
CategorySecurity
SecurityHigh risk (53/100)
Rank#47 of 9,397 Claude Code mods; #25 in Security
LicenseApache-2.0
Last commit2026-12-01
Stars this week+677
Hooks8 events
SeesRead|Grep|Glob|Bash|StructuredOutput|SubagentHandback calls, Workflow calls, subagent spawns
Draws onPane, AbovePrompt

Is claude-security safe to install?

claude-security scores 53/100 on the MCPMods security check: High risk. Things to review: reads environment variables; validator reported problems. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsFlag
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.command.register
$.config.list
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.session.surfaces
$.session.version
$.settings.readreads settings
$.ui.blitdraws interface
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install claude-security?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/anthropics/claude-plugins-official
    claude plugin validate ./claude-plugins-official/plugins/claude-security
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add anthropics/claude-plugins-official && claude plugin install claude-security@claude-plugins-official

Or ask Claude to set it up

Paste this into Claude Code and it installs claude-security for you:

Install the "claude-security" Claude Code mod from https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-security. Run claude plugin validate on it first and show me what it can access before you enable it.

More from anthropics/claude-plugins-official

This repository has 3 Claude Code mods on MCPMods.

  • code-modernization: Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business (Review before installing)
  • theme-examples: An example plugin to read, copy and change: thirty-eight animated backdrops behind the chat in the desktop app, with fro (Review before installing)