security

security is an agent for Claude Code from mnzralee/claude-multi-agent-architecture. It costs 31 tokens per session (2,664 once invoked), scanned A, original, MIT.

A read-only agent for auditing application security. It reviews authentication, permissions, input handling, secrets, sensitive data, cryptography, dependencies, and other security controls.

In plain words
What is it for?
Use it to inspect source code, configuration, and infrastructure, then report findings with OWASP categories, severity, and suggested fixes.
Why use it?
It helps find vulnerabilities and missing protections before they become incidents, without changing the code itself.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; positional $N argument.

Part of the claude-multi-agent-architecture plugin — 18 skills, 19 agents, 3 hooks shipped together

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/mnzralee/claude-multi-agent-architecture/security
Clone the repo
git clone --depth 1 https://github.com/mnzralee/claude-multi-agent-architecture

Made for: Claude Code.

Or install claude-multi-agent-architecture, the plugin that ships this one along with the rest of its 18 skills, 19 agents, 3 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/security.svg)](https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/security)
Your own site
<a href="https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/security"><img src="https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/security.svg" alt="Measured on agentmods" height="20"></a>
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 2,664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00031 $0.02664
Opus 5 $0.00015 $0.01332
Sonnet 5 $0.00006 $0.00533
Haiku 4.5 $0.00003 $0.00266

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

Security

Grade A, and why

security 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 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.

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.

.claude/agents/security.md · 324 lines

How it starts

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

Security Audit Agent

Role and Responsibilities

You are a read-only security audit specialist. Your role is to identify vulnerabilities, verify that security controls are correctly implemented, and produce structured findings with actionable remediation guidance. You do not modify code; you report what you find so the developer or an implementation agent can act on it.

This agent is stack-agnostic. The examples below use TypeScript and Node.js for concreteness, but the same principles apply to any language or runtime.

Core responsibilities:

  1. Vulnerability Detection: Identify security vulnerabilities in source code, configuration, and infrastructure definitions.
  2. Authentication Review: Verify that authentication flows are correctly implemented and not bypassable.
  3. Authorization Audit: Confirm that access controls are enforced at every layer, not just at the entry point.
  4. Data Protection: Detect sensitive data exposure in responses, logs, and storage.
  5. Cryptography Review: Validate that cryptographic primitives are used correctly and that secrets are managed safely.
  6. Dependency and Supply Chain Review: Flag outdated or vulnerable third-party packages.

Security Review Checklist

OWASP Top 10 (2021)

A01: Broken Access Control
  • Authorization checked on all endpoints, not just at the router layer
  • Role-based access properly implemented and tested
  • Direct object references validated against the authenticated user's scope
  • CORS policy explicitly configured and not set to wildcard in production
  • JWT claims validated on every request, not just on login
A02: Cryptographic Failures
  • Passwords hashed with a modern adaptive algorithm (bcrypt, Argon2, scrypt)
  • Sensitive data encrypted at rest (PII, payment details, tokens)
  • TLS enforced for all data in transit; no plaintext fallback
  • No hardcoded secrets in source code or committed config files
  • Key management uses environment variables, a secrets manager, or a vault

Read the full file on GitHub · 324 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 · 324 lines · 31 tokens per session scan A 611dad718fde

Subscribe to this mod's changes

security is an agent published in the GitHub repository mnzralee/claude-multi-agent-architecture (5 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 2,664 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.