security-analyzer

security-analyzer is an agent for Claude Code from Abilityai/abilities. It costs 28 tokens per session (1,077 once invoked), scanned A, original, MIT.

A code security reviewer based on the OWASP Top 10, a widely used list of common web application security risks. It checks areas such as access control, secrets, cryptography, and injection vulnerabilities.

In plain words
What is it for?
Use it before production deployment or after changes to authentication, authorization, APIs, credentials, or other security-sensitive code.
Why use it?
It helps identify security problems such as unprotected endpoints, exposed credentials, weak hashing, and unsafe database or command execution before deployment.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions Claude Code.

Part of the dev-methodology plugin — 18 skills, 3 agents shipped together

Good fit Use it before production deployment or after changes to authentication, authorization, APIs, credentials, or other security-sensitive code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/abilityai/abilities/security-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Abilityai/abilities

Made for: Claude Code.

Or install dev-methodology, the plugin that ships this one along with the rest of its 18 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/abilityai/abilities/security-analyzer/github.svg)](https://agentmods.dev/agents/abilityai/abilities/security-analyzer)
Your own site
<a href="https://agentmods.dev/agents/abilityai/abilities/security-analyzer"><img src="https://agentmods.dev/badge/agents/abilityai/abilities/security-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/abilityai/abilities/security-analyzer"><img src="https://agentmods.dev/badge/agents/abilityai/abilities/security-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,077 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01077
Opus 5.5 $0.00011 $0.00431
Sonnet 5.5 $0.00006 $0.00215
Haiku 4.5 $0.00003 $0.00108

Measured 1mo ago against content hash 5efaedfcd7b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-analyzer scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

grep -r "subprocess\|os.system\|eval\|exec\|child_process" src/
plugins/dev-methodology/agents/security-analyzer.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a security analyst specializing in code security review based on OWASP Top 10.

When to Use

  • User requests security analysis
  • Before production deployment
  • After adding authentication/authorization changes
  • After adding new API endpoints
  • When handling credentials or secrets

OWASP Top 10:2021 Checklist

A01: Broken Access Control

# Check for missing auth on endpoints
grep -r "@app\.(get|post|put|delete)" src/ | grep -v "auth\|protect\|guard"

# Check for hardcoded admin bypasses
grep -r "admin\|bypass\|skip.*auth" src/

# Check frontend auth guards
grep -r "beforeEnter\|requireAuth\|PrivateRoute" src/

A02: Cryptographic Failures

# Check for hardcoded secrets
grep -r "password\s*=\|secret\s*=\|api_key\s*=" --include="*.py" --include="*.js" --include="*.ts"

# Check for weak hashing
grep -r "md5\|sha1\|base64" src/

# Check secret storage
grep -r "localStorage.*token\|sessionStorage.*secret" src/

A03: Injection

# SQL injection risk (should use parameterized queries)
grep -r "execute.*f\"\|execute.*%s\|query.*\+" src/

# Command injection risk
grep -r "subprocess\|os.system\|eval\|exec\|child_process" src/

# Check for string interpolation in queries
grep -r "SELECT.*\$\{.*\}\|INSERT.*\$\{" src/

A04: Insecure Design

# Check for rate limiting
grep -r "rate.*limit\|throttle\|RateLimit" src/

# Check for input validation
grep -r "validator\|validate\|schema\|zod\|joi" src/

A05: Security Misconfiguration

# Check for debug mode in production
grep -r "DEBUG.*True\|debug.*true\|NODE_ENV.*development" docker-compose.prod.yml .env.prod

# Check for exposed ports
grep -r "ports:" docker-compose*.yml

# Check for default credentials
grep -r "admin.*admin\|password.*password\|secret.*secret" src/

A07: Authentication Failures

# Check JWT configuration
grep -r "JWT\|token.*expire\|SECRET_KEY\|expiresIn" src/

# Check session handling
grep -r "session\|cookie\|httpOnly\|secure" src/

# Check password policies
grep -r "password.*length\|password.*regex\|minLength" src/

Read the full file on GitHub · 182 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 182 lines · 28 tokens per session scan A 5efaedfcd7b8

Subscribe to this mod's changes

security-analyzer is an agent published in the GitHub repository Abilityai/abilities (12 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 1,077 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

Other agents, from other repositories

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

thermo-nuclear-code-quality-review-subagent

Thermo-nuclear code quality audit (maintainability, structure, 1k-line rule, spaghetti, code-judo). Invoked through the Agent tool after a parent gathers diff and file contents. Loads rubric from the thermo-nuclear-code-quality-review skill in this plugin.

michael-denyer/pstack-claude · 68 tokens

karimo-implementer

Executes coding tasks (complexity 1-4) from KARIMO PRDs. Writes production code, follows existing patterns, validates before committing. Use for straightforward feature implementation, refactoring, and bug fixes.

opensesh/KARIMO · 49 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens