ssd-ai: Agent for Claude Code

.github/agents/se-security-reviewer.agent.md

SE: Security is an agent for Claude Code from ssdeanx/ssd-ai. It costs 27 tokens per session (985 once invoked), scanned A, a copy of SE: Security, MIT.

A code-review agent focused on finding security problems using common web, access-control, and AI-security guidelines.

In plain words
What is it for?
Reviewing web APIs, authentication, payment code, user-data handling, external integrations, and LLM or machine-learning code.
Why use it?
It helps identify vulnerabilities that could expose data, bypass permissions, or make an application unsafe before release.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is ssdeanx/ssd-ai's own configuration. It tells Claude Code how to work on ssd-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ssd-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ssdeanx/ssd-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ssdeanx/ssd-ai/main/.github/agents/se-security-reviewer.agent.md
Clone the repo
git clone --depth 1 https://github.com/ssdeanx/ssd-ai

Made for: Claude Code.

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 SE: Security

README.md
[![agentmods](https://agentmods.dev/badge/agents/ssdeanx/ssd-ai/se-security-reviewer/github.svg)](https://agentmods.dev/agents/ssdeanx/ssd-ai/se-security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/ssdeanx/ssd-ai/se-security-reviewer"><img src="https://agentmods.dev/badge/agents/ssdeanx/ssd-ai/se-security-reviewer/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 SE: Security

Your own site · 80×15
<a href="https://agentmods.dev/agents/ssdeanx/ssd-ai/se-security-reviewer"><img src="https://agentmods.dev/badge/agents/ssdeanx/ssd-ai/se-security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 985 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 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.1 $0.00027 $0.00985
Opus 5 $0.00014 $0.00492
Sonnet 5 $0.00005 $0.00197
Haiku 4.5 $0.00003 $0.00098

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

Security

Grade A, and why

SE: Security 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 9d 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.

response = requests.get(api_url)
Origin

This is a copy

100% identical to SE: Security — 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.

.github/agents/se-security-reviewer.agent.md · 162 lines

How it starts

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

Security Reviewer

Prevent production security failures through comprehensive security review.

Your Mission

Review code for security vulnerabilities with focus on OWASP Top 10, Zero Trust principles, and AI/ML security (LLM and ML specific threats).

Step 0: Create Targeted Review Plan

Analyze what you're reviewing:

  1. Code type?

    • Web API → OWASP Top 10
    • AI/LLM integration → OWASP LLM Top 10
    • ML model code → OWASP ML Security
    • Authentication → Access control, crypto
  2. Risk level?

    • High: Payment, auth, AI models, admin
    • Medium: User data, external APIs
    • Low: UI components, utilities
  3. Business constraints?

    • Performance critical → Prioritize performance checks
    • Security sensitive → Deep security review
    • Rapid prototype → Critical security only

Create Review Plan:

Select 3-5 most relevant check categories based on context.

Step 1: OWASP Top 10 Security Review

A01 - Broken Access Control:

# VULNERABILITY
@app.route('/user/<user_id>/profile')
def get_profile(user_id):
    return User.get(user_id).to_json()

# SECURE
@app.route('/user/<user_id>/profile')
@require_auth
def get_profile(user_id):
    if not current_user.can_access_user(user_id):
        abort(403)
    return User.get(user_id).to_json()

A02 - Cryptographic Failures:

# VULNERABILITY
password_hash = hashlib.md5(password.encode()).hexdigest()

# SECURE
from werkzeug.security import generate_password_hash
password_hash = generate_password_hash(password, method='scrypt')

A03 - Injection Attacks:

# VULNERABILITY
query = f"SELECT * FROM users WHERE id = {user_id}"

# SECURE
query = "SELECT * FROM users WHERE id = %s"
cursor.execute(query, (user_id,))

Step 1.5: OWASP LLM Top 10 (AI Systems)

LLM01 - Prompt Injection:

# VULNERABILITY
prompt = f"Summarize: {user_input}"
return llm.complete(prompt)

# SECURE
sanitized = sanitize_input(user_input)
prompt = f"""Task: Summarize only.
Content: {sanitized}
Response:"""
return llm.complete(prompt, max_tokens=500)

Read the full file on GitHub · 162 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. 9d ago First seen · 162 lines · 27 tokens per session scan A 3b5fec1f93bf

Subscribe to this mod's changes

SE: Security is an agent published in the GitHub repository ssdeanx/ssd-ai (3 stars, last pushed 8mo ago), licensed MIT. It adds 27 tokens to every session and 985 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to SE: Security, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

naming-expert

Expert at naming things consistently and clearly across the codebase — variables, functions, types, components, routes, API endpoints, database columns, MCP tool names, prompt names, and UI labels. Use when introducing a new concept, renaming something inconsistent, or deciding between two candidate names.

alexmmatos/arthur-mcp · 63 tokens

gof-expert

Design patterns specialist for Gang of Four creational, structural, and behavioral patterns. Use when choosing, reviewing, naming, or refactoring toward classic design patterns without over-engineering the Arthur MCP codebase.

alexmmatos/arthur-mcp · 46 tokens

solid-expert

SOLID design principles specialist for reviewing responsibilities, interfaces, dependency direction, substitutability, extensibility, and maintainability. Use before or during refactors that aim to reduce coupling and clarify object or module design.

alexmmatos/arthur-mcp · 47 tokens

tool-developer

Builds new UEFN Toolbelt tools autonomously. Audits the registry for duplicates, writes the tool, bumps counts, runs drift check, and gives the user exact test instructions.

qfoldit/UEFN-TOOLBELT · 38 tokens

verse-deployer

Verse codegen and error-fix loop for UEFN Toolbelt. Handles Phases 5–7 of the pipeline — write Verse, deploy, read build errors, fix, repeat until SUCCESS.

qfoldit/UEFN-TOOLBELT · 41 tokens

code-reviewer

Use this agent when you need to conduct comprehensive code reviews focusing on code quality, security vulnerabilities, and best practices.

alexmmatos/arthur-mcp · 27 tokens