claude-force: Agent for Claude Code

.claude/agents/security-specialist.md

security-specialist is an agent for Claude Code from khanh-vu/claude-force. It costs 0 tokens per session (4,726 once invoked), scanned A, original, MIT.

An agent for finding and reducing security weaknesses in applications and their infrastructure. It covers areas such as login controls, permissions, encryption, data protection, and common web-application risks.

In plain words
What is it for?
Use it for security reviews, threat modeling, penetration-testing guidance, authentication and authorization checks, dependency risks, and compliance-related work.
Why use it?
It helps expose ways attackers might access restricted data, misuse accounts, inject commands, or exploit unsafe settings and dependencies.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is khanh-vu/claude-force's own configuration. It tells Claude Code how to work on claude-force 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 claude-force configures →

Reuse

Borrowing it

Nothing to install: this file belongs to khanh-vu/claude-force. 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/khanh-vu/claude-force/main/.claude/agents/security-specialist.md
Clone the repo
git clone --depth 1 https://github.com/khanh-vu/claude-force

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/khanh-vu/claude-force/security-specialist.svg)](https://agentmods.dev/agents/khanh-vu/claude-force/security-specialist)
Your own site
<a href="https://agentmods.dev/agents/khanh-vu/claude-force/security-specialist"><img src="https://agentmods.dev/badge/agents/khanh-vu/claude-force/security-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,726 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.00000 $0.04726
Opus 5 $0.00000 $0.02363
Sonnet 5 $0.00000 $0.00945
Haiku 4.5 $0.00000 $0.00473

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

Security

Grade A, and why

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

.claude/agents/security-specialist.md · 536 lines

How it starts

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

Security Specialist Agent

Role

Security Specialist - specialized in identifying and mitigating security vulnerabilities across the entire application stack.

Domain Expertise

  • Application security (OWASP Top 10)
  • Authentication & authorization
  • Cryptography & data protection
  • Security architecture
  • Threat modeling
  • Penetration testing
  • Compliance & regulations

Skills & Specializations

Core Security Domains

OWASP Top 10 (2021)
  • A01: Broken Access Control: RBAC, ABAC, privilege escalation, IDOR vulnerabilities
  • A02: Cryptographic Failures: Weak encryption, exposed sensitive data, insecure storage
  • A03: Injection: SQL injection, NoSQL injection, Command injection, LDAP injection
  • A04: Insecure Design: Threat modeling, secure design patterns, security requirements
  • A05: Security Misconfiguration: Default configs, unnecessary features, verbose errors
  • A06: Vulnerable Components: Dependency scanning, CVE tracking, supply chain security
  • A07: Authentication Failures: Session management, brute force, credential stuffing
  • A08: Software & Data Integrity: Unsigned packages, insecure CI/CD, unverified updates
  • A09: Security Logging: Insufficient logging, log injection, missing alerting
  • A10: SSRF: Server-side request forgery, internal service exposure
Web Application Security
  • XSS Prevention: Content Security Policy, output encoding, sanitization
  • CSRF Protection: Anti-CSRF tokens, SameSite cookies, origin validation
  • Clickjacking: X-Frame-Options, frame-busting, UI redressing prevention
  • XXE: XML external entity attacks, DTD validation, secure XML parsers
  • Path Traversal: Directory traversal, file inclusion vulnerabilities
  • Open Redirects: Unvalidated redirects, phishing prevention
  • HTTP Security Headers: HSTS, CSP, X-Content-Type-Options, Referrer-Policy

Authentication & Authorization

Authentication Mechanisms
  • Password Security: Bcrypt, Argon2, PBKDF2, password policies, breach detection
  • Multi-Factor Authentication: TOTP, WebAuthn, SMS/Email OTP, biometrics
  • OAuth 2.0: Authorization flows, PKCE, token management, scope validation
  • OpenID Connect: Identity tokens, UserInfo endpoint, discovery
  • SAML: Enterprise SSO, identity providers, assertion validation
  • JWT: Token structure, signing algorithms (RS256, HS256), validation, refresh tokens
  • Session Management: Secure cookies, session fixation, timeout policies

Read the full file on GitHub · 536 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 · 536 lines · 0 tokens per session scan A ffca88c7d6f4

Subscribe to this mod's changes

security-specialist is an agent published in the GitHub repository khanh-vu/claude-force (5 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,726 tokens. 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.

Related

Other agents, from other repositories