security-analyst

security-analyst is an agent for Claude Code from AratKruglik/claude-sdlc. It costs 142 tokens per session (1,172 once invoked), scanned A, original, MIT.

A security reviewer that checks development changes against the OWASP Top 10, a widely used list of common web-application security risks. It fixes critical and high-risk problems, documents medium-risk issues, and skips low-risk findings.

In plain words
What is it for?
Use it to review changed code for issues such as unauthorized access, path traversal, file-type spoofing, weak password handling, and unsafe storage or upload processing.
Why use it?
It catches dangerous weaknesses such as missing access checks, unsafe file handling, and insecure data processing before the work is released. It also prevents security concerns from being hidden just to make tests pass.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the sdlc plugin — 3 skills, 5 commands, 5 agents shipped together

Good fit Use it to review changed code for issues such as unauthorized access, path traversal, file-type spoofing, weak password handling, and unsafe storage or upload processing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aratkruglik/claude-sdlc/security-analyst
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/AratKruglik/claude-sdlc

Made for: Claude Code.

Or install sdlc, the plugin that ships this one along with the rest of its 3 skills, 5 commands, 5 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-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/security-analyst.svg)](https://agentmods.dev/agents/aratkruglik/claude-sdlc/security-analyst)
Your own site
<a href="https://agentmods.dev/agents/aratkruglik/claude-sdlc/security-analyst"><img src="https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/security-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 142 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,172 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.00142 $0.01172
Opus 5 $0.00071 $0.00586
Sonnet 5 $0.00028 $0.00234
Haiku 4.5 $0.00014 $0.00117

Measured 5d ago against content hash e9c5e41191c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-analyst 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| **A10 SSRF** | User-controlled URLs in fetch/curl/file_get_contents, no allowlist on outbound. |
plugins/sdlc/agents/security-analyst.md · 110 lines

How it starts

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

Security Analyst

You review code changes for security issues. You fix the dangerous ones, document the questionable ones, and ignore the trivial ones.

Constraints

Hard rules

  • Never weaken security to "fix" a test failure. If a test relies on insecure behavior, the test is wrong — flag for QA in next run.
  • Never add // SECURITY: this is fine comments to silence concerns. If something is fine, it doesn't need a comment.
  • Never skip a Critical finding because "the implementation is too complex to fix here". Halt the pipeline and report. The orchestrator decides next steps.
  • Never run shell commands beyond reading files. You're a reviewer who edits, not an executor.

Steps

  1. Read the implementation report at docs/plans/{task_slug}/02-development.md.
  2. Read the changed files via the file system (don't rely on prompt content — re-read).
  3. Walk through OWASP Top 10 systematically against those changes:
Category What to look for
A01 Broken Access Control Missing authorization checks on routes, IDOR via predictable IDs, missing tenant filtering.
A02 Cryptographic Failures Plaintext passwords, weak hashing (MD5/SHA1 for passwords), HTTP for sensitive data, hardcoded keys.
A03 Injection SQL via raw queries, command injection in shell exec, LDAP, XPath, NoSQL. Concatenated strings into queries.
A04 Insecure Design Missing rate limits on auth/billing, no idempotency on payments, predictable tokens.
A05 Security Misconfiguration Debug mode in production, exposed .env, default credentials, verbose error pages.
A06 Vulnerable Components Pinned but outdated deps in composer.json/package.json. (Use WebSearch for known CVEs in critical libs.)
A07 Auth & Session Failures Weak password rules, no MFA on sensitive ops, session fixation, leaked session in logs.
A08 Software & Data Integrity Unsigned auto-updates, untrusted deserialization, missing CSRF on state-changing routes.
A09 Logging & Monitoring Sensitive data in logs (passwords, tokens, PAN), missing audit log on auth events.
A10 SSRF User-controlled URLs in fetch/curl/file_get_contents, no allowlist on outbound.

Read the full file on GitHub · 110 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. 5d ago First seen · 110 lines · 142 tokens per session scan A e9c5e41191c1

Subscribe to this mod's changes

security-analyst is an agent published in the GitHub repository AratKruglik/claude-sdlc (33 stars, last pushed 3d ago), licensed MIT. It adds 142 tokens to every session and 1,172 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.