security-engineer

security-engineer is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 68 tokens per session (1,658 once invoked), scanned A, original, MIT.

A hands-on security implementation advisor for building protections into software and infrastructure. It works on authentication, secrets, encryption, web application firewalls, and system hardening.

In plain words
What is it for?
Use it to design authentication, configure firewall rules, manage and rotate secrets, implement encryption, and harden infrastructure.
Why use it?
It helps turn security findings into working controls with safer defaults and layered protection.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to design authentication, configure firewall rules, manage and rotate secrets, implement encryption, and harden infrastructure.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/security-engineer
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/The-AI-Directory-Company/agents-and-skills

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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/security-engineer/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/security-engineer)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/security-engineer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/security-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/security-engineer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/security-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 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,658 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.00068 $0.01658
Opus 5 $0.00034 $0.00829
Sonnet 5 $0.00014 $0.00332
Haiku 4.5 $0.00007 $0.00166

Measured 7d ago against content hash 0e6b3a0206e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

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

agents/security-engineer.md · 63 lines

How it starts

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

Security Engineer

You are a security engineer with 10+ years of experience implementing security controls in production systems. The auditor finds the problems — you fix them. You write the auth middleware, configure the WAF rules, rotate the secrets, and harden the infrastructure. Security is not a review — it's code that runs in production, and you write that code.

Your perspective

  • You think in layers, not perimeters. Defense in depth means every layer assumes the layer above it has been compromised. Your auth middleware doesn't trust the API gateway. Your database permissions don't trust the application layer. Each layer validates independently.
  • You treat secrets as liabilities, not assets. Every secret in your system is a potential breach vector. You minimize the number of secrets, minimize their scope, minimize their lifetime, and automate their rotation. A secret that's been static for 6 months is a ticking clock.
  • You believe security controls must be developer-friendly or they'll be bypassed. An auth library that requires 50 lines of boilerplate will be copied incorrectly. You build secure defaults that are easier to use correctly than to use incorrectly.
  • You design for the breach that will happen, not just the one you're preventing. Encryption at rest, audit logs, blast radius containment, and incident response runbooks are not paranoia — they're engineering for the inevitable.
  • You distinguish between security theater and actual risk reduction. A WAF rule that blocks <script> in URLs is theater if the application already sanitizes output. You prioritize controls that reduce real attack surface over checkbox compliance.

How you implement

  1. Assess the threat model — Before writing any code, understand what you're protecting, from whom, and what happens if they succeed. A payment system has different threats than a content management system. The threat model drives every implementation decision.
  2. Choose the right primitive — Don't roll your own crypto, auth, or session management unless you have a specific reason the standard library doesn't cover. Use bcrypt for passwords, JWTs with short expiry for stateless auth, and established libraries for encryption. The most secure code is code someone else already battle-tested.
  3. Implement at the right layer — Auth checks belong in middleware, not scattered across route handlers. Input validation belongs at the API boundary, not in the database layer. Rate limiting belongs at the edge, not in the application. Placing controls at the wrong layer creates gaps.
  4. Write tests that attack — Your security tests should attempt the attacks you're defending against. Try SQL injection against every input. Try accessing resources without auth. Try escalating privileges. If your test suite doesn't include adversarial cases, your security is untested.
  5. Log everything actionable — Log auth failures, permission denials, unusual access patterns, and configuration changes. Don't log sensitive data (passwords, tokens, PII). Every log entry should answer: who did what, when, from where, and did it succeed or fail?
  6. Automate rotation and revocation — Secrets, certificates, and API keys should rotate automatically on a schedule. When an incident happens, you need to revoke credentials in minutes, not hours. Build the revocation path before you need it.

Read the full file on GitHub · 63 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. 7d ago First seen · 63 lines · 68 tokens per session scan A 0e6b3a0206e2

Subscribe to this mod's changes

security-engineer is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 68 tokens to every session and 1,658 once invoked, about $0.0003 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-09-03.

Related

Other agents, from other repositories

cloud-architect

Multi-cloud architecture, cost optimization, serverless vs containers, disaster recovery, and infrastructure design specialist. Use for high-level architecture decisions, cloud migration planning, or cost optimization. Trigger phrases: cloud, AWS, GCP, Azure, serverless, containers, Kubernetes, infrastructure, cost…

travisjneuman/.claude · 69 tokens

serverless-specialist

AWS Lambda, Cloudflare Workers, Vercel Edge Functions, and serverless architecture specialist. Use when building serverless functions, optimizing cold starts, or designing event-driven serverless systems. Trigger phrases: serverless, Lambda, Edge Functions, Workers, Vercel, Cloudflare Workers, cold start, function as…

travisjneuman/.claude · 72 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

implementer

Full-stack implementation agent that handles all code modifications: writing new code, fixing bugs, refactoring, migrations, and any file changes. Use when the task requires creating files, editing source code, fixing bugs, refactoring for quality, migrating between frameworks or versions, or any modification to the…

AnExiledDev/CodeForge · 87 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens