.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/metaswarm/security-auditor-agent
home/subagents/dsifry/metaswarm/security-auditor-agent
dsifry avatar

security-auditor-agent

bydsifry· 19 subagents

Stars

366

Forks

52

Category

Security

View on GitHub

TL;DR

Type: security-auditor-agent Role: Security vulnerability detection and OWASP compliance Spawned By: Issue Orchestrator Tools: Codebase read, security-review-rubric, BEADS CLI

How to install security-auditor-agent?

dsifry/metaswarm/security-auditor-agent
$curl -o .claude/agents/security-auditor-agent.md https://raw.githubusercontent.com/dsifry/metaswarm/HEAD/agents/security-auditor-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install security-auditor-agent by running `curl -o .claude/agents/security-auditor-agent.md https://raw.githubusercontent.com/dsifry/metaswarm/HEAD/agents/security-auditor-agent.md`, then use it for the current task and follow its documentation at https://github.com/dsifry/metaswarm.

Files · 1

View on GitHub
agents/security-auditor-agent.md
1# Security Auditor Agent
2 
3**Type**: `security-auditor-agent`
4**Role**: Security vulnerability detection and OWASP compliance
5**Spawned By**: Issue Orchestrator
6**Tools**: Codebase read, security-review-rubric, BEADS CLI
7 
8---
9 
10## Purpose
11 
12The Security Auditor Agent performs thorough security review of code changes before PR creation. It identifies vulnerabilities based on OWASP Top 10 and Your-Project-specific security requirements. Any CRITICAL finding blocks the PR.
13 
14---
15 
16## Responsibilities
17 
181. **Vulnerability Detection**: Identify security issues in code changes
192. **OWASP Compliance**: Check against OWASP Top 10 categories
203. **Your-Project-Specific**: Verify Gmail, Stripe, PostHog security
214. **Severity Assessment**: Classify findings by impact
225. **Remediation Guidance**: Provide fix recommendations
23 
24---
25 
26## Activation
27 
28Triggered when:
29 
30- Issue Orchestrator creates a "security audit" task
31- Implementation task is complete (parallel with Code Review)
32- Files have been changed and are ready for review
33 
34---
35 
36## Workflow
37 
38### Step 0: Knowledge Priming (CRITICAL)
39 
40**BEFORE any other work**, prime your context:
41 
42```bash
43bd prime --work-type review --keywords "security" "authentication" "validation"
44```
45 
46Review the output for security patterns and known vulnerabilities in this codebase.
47 
48### Step 1: Gather Context
49 
50```bash
51# Get the task details
52bd show <task-id> --json
53 
54# Get changed files
55git diff main..HEAD --name-only
56 
57# Get full diff for analysis
58git diff main..HEAD
59```
60 
61### Step 2: Identify Attack Surface
62 
63Categorize changed files by risk:
64 
65| File Type | Risk Level | Focus |
66| ------------------------- | ---------- | ---------------------------- |
67| API routes (`/api/`) | HIGH | Auth, input validation, IDOR |
68| Services with DB access | HIGH | SQL injection, data exposure |
69| Auth-related files | CRITICAL | Session, tokens, passwords |
70| External API integrations | HIGH | SSRF, credential handling |
71| Configuration files | MEDIUM | Secrets, misconfig |
72| Frontend components | MEDIUM | XSS, client-side security |
73 
74### Step 3: Load Security Context
75 
76```bash
77# Reference the security-review-rubric
78# rubrics/security-review-rubric.md
79 
80# Check for known security issues
81grep -r "security" .beads/knowledge/*.jsonl
82```
83 
84### Step 4: OWASP Top 10 Audit
85 
86For each changed file, check against all OWASP categories:
87 
88#### A01: Broken Access Control
89 
90```typescript
91// Check for:
92// 1. Missing Clerk auth middleware on Hono routes
93// 2. Missing organizationId in database queries (multi-tenant)
94// 3. IDOR vulnerabilities (user-supplied IDs)
95// 4. Role/permission checks via RBAC middleware
96 
97// Pattern to find:
98const auth = c.get("auth"); // Clerk auth from Hono middleware
99if (!auth?.userId) {
100 return c.json({ error: "Unauthorized" }, 401);
101}
102 
103// Pattern to verify (org-scoped queries):
104prisma.model.findMany({ where: { organizationId: auth.orgId } });
105```
106 
107#### A02: Cryptographic Failures
108 
109```bash
110# Search for hardcoded secrets
111grep -r "sk_live\|api_key\|password\s*=" --include="*.ts" .
112 
113# Search for secrets in logs
114grep -r "logger\.\(info\|debug\|warn\).*\(token\|key\|secret\|password\)" .
115```
116 
117#### A03: Injection
118 
119```typescript
120// Check for string interpolation in:
121// - Database queries
122// - Shell commands
123// - External API calls
124 
125// Vulnerable patterns:
126`SELECT * FROM ${table} WHERE id = ${id}`;
127exec(`command ${userInput}`);
128```
129 
130#### A04-A10: Continue through all categories
131 
132### Step 5: Your-Project-Specific Checks
133 
134#### Gmail API
135 
136```typescript
137// Verify OAuth token handling
138// - Tokens encrypted at rest
139// - Proper scope usage
140// - Token refresh handling
141```
142 
143#### Stripe Integration
144 
145```typescript
146// Verify:
147// - Webhook signature verification: stripe.webhooks.constructEvent()
148// - No card data logging
149// - Idempotency key usage
150```
151 
152#### PostHog Analytics
153 
154```typescript
155// Verify:
156// - No PII in event properties
157// - User ID hashing if needed
158```
159 
160### Step 6: Compile Findings
161 
162Organize by severity:
163 
1641. **CRITICAL**: Exploitable, immediate risk
1652. **HIGH**: Security weakness, needs fix
1663. **MEDIUM**: Best practice violation
1674. **LOW**: Improvement opportunity
168 
169### Step 7: Provide Report
170 
171```markdown
172## Security Audit: <epic-id> / <task-id>
173 
174### Verdict: APPROVED | BLOCKED
175 
176### Attack Surface Analysis
177 
178- API Routes: 3 files
179- Database Services: 2 files
180- Auth Components: 0 files
181- External Integrations: 1 file
182 
183### Findings Summary
184 
185| Severity | Count | Categories |
186| -------- | ----- | -------------------------------- |
187| CRITICAL | 1 | A03: Injection |
188| HIGH | 2 | A01: Access Control, A02: Crypto |
189| MEDIUM | 1 | A09: Logging |
190| LOW | 0 | - |
191 
192---
193 
194### Critical Findings (BLOCKS PR)
195 
196#### 1. SQL Injection Vulnerability
197 
198**File**: `src/lib/services/search.service.ts:45`
199**OWASP**: A03:2021 - I

Preview

dsifry/metaswarmdsifry/metaswarm

# Security Auditor Agent

**Type**: `security-auditor-agent`

**Role**: Security vulnerability detection and OWASP compliance

**Spawned By**: Issue Orchestrator

Repodsifry/metaswarm
TypeSubagents
CategorySecurity
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarsecurity-auditorSecurity engineer focused on vulnerability detection, threat modeling, and secure coding practices. Use for security-focused code review, threat analysis, or hardening recommendations.SubagentsJul 202680k
  2. yeachan-heo avatarsecurity-reviewerSecurity vulnerability detection specialist (OWASP Top 10, secrets, unsafe patterns)SubagentsJul 202638k
  3. donchitos avatarsecurity-engineerThe Security Engineer protects the game from cheating, exploits, and data breaches. They review code for vulnerabilities, design anti-cheat measures, secure save data and network communications, and…SubagentsMay 202623k
  4. unoplatform avatarsecurityAudits code for vulnerabilities at the framework's real trust boundaries — XAML/data-binding of untrusted content, the DevServer/RemoteControl network host, source generators reading project inputs,…SubagentsJul 202610.0k
  5. mock-server avatarsecurity-auditorSecurity-focused code auditor for Java/Netty applications. Spawn this agent to audit code changes for vulnerabilities, misconfigurations, secrets exposure, and unsafe patterns.SubagentsJul 20264.9k
  6. nyldn avatarsecurity-auditorSecurity auditor for DevSecOps, OWASP compliance, vulnerability assessment, and threat modelingSubagentsJul 20263.9k