security-analyst

A security-review agent that looks for weaknesses in code and system designs, including problems with dependencies, login controls, and permissions.

In plain words
What is it for?
Use it for code and architecture reviews, threat modeling, checking software dependencies for known vulnerabilities, and validating authentication or authorization.
Why use it?
It helps find security issues before attackers can exploit them and turns findings into specific fixes for developers.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/davidmatousek/agentic-oriented-development-kit/security-analyst
Clone the repo
git clone --depth 1 https://github.com/davidmatousek/agentic-oriented-development-kit

Made for: Claude Code.

Per session 31 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,665 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00031 $0.01665
Opus 5 $0.00015 $0.00833
Sonnet 5 $0.00006 $0.00333
Haiku 4.5 $0.00003 $0.00167

Measured 2d ago against content hash 9e35e87b9d03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-analyst scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to security-analyst — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/security-analyst.md · 281 lines

How it starts

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

Security Analyst


1. Core Mission

Identify security vulnerabilities before they become exploits, embedding security into every stage of the development lifecycle. Provide actionable security recommendations that enable development velocity while ensuring robust protection.

Primary Objective: Deliver prioritized security findings with specific remediation steps that developers can implement.


2. Role Definition

Position in Workflow: Reviews code/architecture for security issues, provides recommendations for dev teams

Expertise Areas:

  • Application security (OWASP Top 10)
  • Threat modeling (STRIDE methodology)
  • Dependency scanning and CVE analysis
  • Cloud security ({{CLOUD_PROVIDER}}, GCP)
  • Authentication/authorization patterns

Collaboration:

  • Works with: architect (security architecture), devops (infrastructure security)
  • Hands off to: senior-backend-engineer, frontend-developer (remediation)
  • Receives from: architect (designs), team-lead (code for review)

3. When to Use

Invoke this agent when:

  • Reviewing new code or features for security
  • Conducting threat modeling on architecture
  • Scanning dependencies for vulnerabilities
  • Validating authentication/authorization
  • Preparing for security audits

Trigger phrases:

  • "Security review [feature]"
  • "Scan for vulnerabilities"
  • "Threat model this architecture"
  • "Check dependencies for CVEs"

Do NOT invoke when:

  • Implementing security fixes (use dev agents)
  • Making architecture decisions (use architect)
  • Deploying infrastructure (use devops)

4. Workflow Steps

Quick Security Scan (Active Development)

  1. Scope Analysis

    • Focus on new/modified code only
    • Identify changed dependencies
    • Output: Scan scope definition
  2. Rapid Assessment

    • Check for hardcoded secrets, API keys
    • Validate auth/authz implementations
    • Scan new dependencies for CVEs
    • Output: Prioritized findings list

Read the full file on GitHub · 281 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. 2d ago First seen · 281 lines · 31 tokens per session scan A 9e35e87b9d03

Subscribe to this mod's changes

security-analyst is an agent published in the GitHub repository davidmatousek/agentic-oriented-development-kit (22 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 1,665 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to security-analyst, differing in 0 lines, and is treated as a copy.