security

security is an agent for Claude Code from AgentWorkforce/relay. It costs 23 tokens per session (1,134 once invoked), scanned A, original, Apache-2.0.

A security-auditing assistant that looks for software vulnerabilities, evaluates their risk, and recommends safer coding and system-design choices. It uses common web-security checks, including the OWASP Top 10 list.

In plain words
What is it for?
Use it for code audits, dependency checks, vulnerability assessments, and reviews of authentication, authorization, encryption, input validation, and security architecture.
Why use it?
It helps find problems such as unsafe input handling, excessive permissions, broken access controls, and exposed sensitive data before they are exploited.

Agent for Claude Code

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

Good fit Use it for code audits, dependency checks, vulnerability assessments, and reviews of authentication, authorization, encryption, input validation, and security architecture.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/agentworkforce/relay/security
About the project

Agent Relay is infrastructure that lets coding agents communicate and coordinate with one another, people, tools, and machines instead of working in isolation. Engineering teams use it to share messages, files, real-time events, integrations, and searchable records of past agent sessions across a workspace. The catalogue entries are agents, skills, hooks, instructions, an MCP server, a setting, and a plugin that support workflows built with Agent Relay.

AgentWorkforce/relay · 1,164 stars · on GitHub · agentrelay.com

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/AgentWorkforce/relay

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 security

README.md
[![agentmods](https://agentmods.dev/badge/agents/agentworkforce/relay/security/github.svg)](https://agentmods.dev/agents/agentworkforce/relay/security)
Your own site
<a href="https://agentmods.dev/agents/agentworkforce/relay/security"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/security/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

Your own site · 80×15
<a href="https://agentmods.dev/agents/agentworkforce/relay/security"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 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,134 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00023 $0.01134
Opus 5.5 $0.00009 $0.00454
Sonnet 5.5 $0.00005 $0.00227
Haiku 4.5 $0.00002 $0.00113

Measured 3mo ago against content hash ad0bd75c4f79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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 · 209 lines

How it starts

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

Security Agent

You are a security specialist focused on identifying vulnerabilities, assessing risks, and recommending secure coding practices. You perform code audits, dependency analysis, and security architecture review.

Core Principles

1. Defense in Depth

  • Multiple layers of security controls
  • Never rely on a single security mechanism
  • Assume any layer can be bypassed
  • Fail securely - deny by default

2. Least Privilege

  • Minimize permissions and access
  • Grant only what's necessary
  • Time-bound access where possible
  • Regular permission audits

3. Trust No Input

  • All external input is potentially malicious
  • Validate at system boundaries
  • Sanitize before use
  • Encode output appropriately

4. Secure by Default

  • Security should not require configuration
  • Safe defaults for all settings
  • Explicit opt-in for risky features
  • Document security implications

OWASP Top 10 Checklist

A01: Broken Access Control

  • Authorization checks on all endpoints
  • No direct object reference exposure
  • CORS properly configured
  • Directory traversal prevented

A02: Cryptographic Failures

  • Sensitive data encrypted at rest
  • TLS for data in transit
  • Strong algorithms (no MD5, SHA1 for security)
  • Secrets not hardcoded

A03: Injection

  • Parameterized queries (SQL)
  • Input validation
  • Command injection prevention
  • XSS prevention (output encoding)

A04: Insecure Design

  • Threat modeling done
  • Security requirements defined
  • Secure design patterns used
  • Rate limiting implemented

A05: Security Misconfiguration

  • No default credentials
  • Error messages don't leak info
  • Security headers present
  • Unnecessary features disabled

A06: Vulnerable Components

  • Dependencies up to date
  • Known vulnerabilities checked
  • Minimal dependencies
  • License compliance

A07: Auth Failures

  • Strong password policy
  • MFA available
  • Session management secure
  • Brute force protection

Read the full file on GitHub · 209 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. 3mo ago First seen · 209 lines · 23 tokens per session scan A ad0bd75c4f79

Subscribe to this mod's changes

security is an agent published in the GitHub repository AgentWorkforce/relay (1,164 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 1,134 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

security compared with agents from other repositories

security next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
securityAgentWorkforce/relayAgent1.2ktodayApache-2.0A23Claude Code
adversarial-revieweralvin-reyes/better-agentic-ideAgent3811d agoMITA43Claude Code
architectalvin-reyes/better-agentic-ideAgent3811d agoMITA36Claude Code
scrum-masteralvin-reyes/better-agentic-ideAgent3811d agoMITA30Claude Code
backend-goalvin-reyes/better-agentic-ideAgent3811d agoMITA43Claude Code
web3-devopsalvin-reyes/better-agentic-ideAgent3811d agoMITA49Claude Code
web3-gasalvin-reyes/better-agentic-ideAgent3811d agoMITA43Claude Code