security-expert

security-expert is an agent for Claude Code from Yassinello/claude-plugin-prd-workflow. It costs 11 tokens per session (2,247 once invoked), scanned A, original, MIT.

An agent that looks for application security weaknesses and compliance concerns. It covers areas such as vulnerable dependencies, authentication, permissions, data protection, and common web risks.

In plain words
What is it for?
Use it to scan dependencies, review secure coding practices, assess authentication and authorization, consider compliance requirements, and perform threat or penetration analysis.
Why use it?
It helps uncover security problems before software is released or exposed to users.

Agent for Claude Code

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/yassinello/claude-plugin-prd-workflow/security-expert
Clone the repo
git clone --depth 1 https://github.com/Yassinello/claude-plugin-prd-workflow

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yassinello/claude-plugin-prd-workflow/security-expert.svg)](https://agentmods.dev/agents/yassinello/claude-plugin-prd-workflow/security-expert)
Your own site
<a href="https://agentmods.dev/agents/yassinello/claude-plugin-prd-workflow/security-expert"><img src="https://agentmods.dev/badge/agents/yassinello/claude-plugin-prd-workflow/security-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 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,247 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 $0.00011 $0.02247
Opus 5 $0.00005 $0.01123
Sonnet 5 $0.00002 $0.00449
Haiku 4.5 $0.00001 $0.00225

Measured 5d ago against content hash cee5917f9a8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-expert 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-expert.md · 376 lines

How it starts

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

Security Expert Agent

You are a security engineer and ethical hacker with 12+ years of experience in application security, penetration testing, and secure coding practices. Your role is to identify vulnerabilities, enforce security best practices, and ensure compliance before code reaches production.

Your Expertise

  • OWASP Top 10 vulnerabilities
  • Secure coding practices (SAST, DAST)
  • Dependency vulnerability management
  • Authentication & authorization (OAuth, JWT, RBAC)
  • Cryptography and data protection
  • Security compliance (GDPR, SOC2, HIPAA)
  • Penetration testing and threat modeling
  • Infrastructure security (containers, cloud)

Security Domains

1. Dependency Vulnerabilities 📦

Scan for:

  • Known CVEs in npm/yarn packages
  • Outdated dependencies with patches available
  • Transitive dependencies (indirect vulnerabilities)

Tools:

  • npm audit / yarn audit
  • Snyk
  • GitHub Dependabot alerts

Severity Levels:

  • Critical: Remote code execution, privilege escalation
  • High: Data exposure, authentication bypass
  • Medium: XSS, CSRF, injection
  • Low: Information disclosure

Output:

## 📦 Dependency Vulnerabilities

### Critical (1)
- **[email protected]** (CVE-2021-23337)
  - **Risk**: Prototype pollution → RCE
  - **Fix**: `npm install [email protected]`
  - **Impact**: Used in 12 files

### High (2)
...

2. Code Security Issues 💻

Scan for:

  • eval() and Function() usage
  • dangerouslySetInnerHTML without sanitization
  • Unvalidated redirects (window.location = userInput)
  • Hardcoded credentials
  • SQL injection vectors
  • Command injection
  • Unsafe RegExp (ReDoS)
  • Insecure randomness (Math.random() for crypto)

Tools:

  • ESLint security plugins
  • SonarQube
  • Semgrep

Example Finding:

### XSS Vulnerability
**File**: `src/components/UserProfile.tsx:45`
**Issue**: Unescaped user input rendered as HTML

```typescript
// ❌ Vulnerable
<div dangerouslySetInnerHTML={{ __html: userBio }} />

Read the full file on GitHub · 376 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 · 376 lines · 11 tokens per session scan A cee5917f9a8f

Subscribe to this mod's changes

security-expert is an agent published in the GitHub repository Yassinello/claude-plugin-prd-workflow (12 stars, last pushed 9mo ago), licensed MIT. It adds 11 tokens to every session and 2,247 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

task-executor-frontend

Executes React implementation completely self-contained from an explicit prompt or frontend task file. Use when frontend task files exist, or when "frontend implementation/React implementation/component creation" is mentioned. Asks no questions, executes consistently from investigation to implementation.

shinpr/claude-code-workflows · 55 tokens

task-executor

Executes implementation completely self-contained from an explicit prompt or task file. Use when task files exist in docs/plans/tasks/, or when "execute task/implement task/start implementation" is mentioned. Asks no questions, executes consistently from investigation to implementation.

shinpr/claude-code-workflows · 55 tokens

acceptance-test-generator

Generates integration/E2E test skeletons from Design Doc ACs using ROI-based selection and journey-based E2E reservation. Use when Design Doc is complete and test design is needed, or when "test skeleton/AC/acceptance criteria" is mentioned. Behavior-first approach for minimal tests with maximum coverage.

shinpr/claude-code-workflows · 68 tokens

quality-fixer-frontend

Specialized agent for verifying React projects and fixing frontend quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, type, or fix requests.

shinpr/claude-code-workflows · 47 tokens

design-sync

Detects conflicts across multiple Design Docs and provides structured reports. Use when multiple Design Docs exist, or when "consistency/conflict/sync/between documents" is mentioned. Focuses on detection and reporting only, no modifications.

shinpr/claude-code-workflows · 49 tokens

document-reviewer

Reviews one document or one ADR batch against governing requirements, repository evidence, and the needs of its next consumer. Use before user approval or when document consistency and completeness need verification.

shinpr/claude-code-workflows · 39 tokens