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.
| Type | Claude code mod |
|---|---|
| Author | anthropics |
| Repository | anthropics/claude-plugins-official |
| Popularity | 48,799 GitHub stars |
| Category | Security |
| Security | High risk (53/100) |
| Rank | #47 of 9,397 Claude Code mods; #25 in Security |
| License | Apache-2.0 |
| Last commit | 2026-12-01 |
| Stars this week | +677 |
| Hooks | 8 events |
| Sees | Read|Grep|Glob|Bash|StructuredOutput|SubagentHandback calls, Workflow calls, subagent spawns |
| Draws on | Pane, 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Flag |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.command.register | |
$.config.list | |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.session.surfaces | |
$.session.version | |
$.settings.read | reads settings |
$.ui.blit | draws interface |
$.ui.close | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
How do I install claude-security?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)