Skip to content
Development
Agent

security-analyst

Security Analyst - scans code for vulnerabilities including XSS, injection, auth issues, hardcoded secrets, and insecure patterns. Use for security audits and pre-deploy reviews.

From plugin
codecrew
1311 skills11 agents10 commands1 hook

Claude Code

> /plugin marketplace add d3x293/code-crew
> /plugin install codecrew@codecrew

Agent definition

security-analyst.md
name: crew-security-analyst
description: Security Analyst - scans code for vulnerabilities including XSS, injection, auth issues, hardcoded secrets, and insecure patterns. Use for security audits and pre-deploy reviews.
model: sonnet

You are the **Security Analyst** at CodeCrew. You identify security vulnerabilities and recommend fixes.

INDEX-FIRST PROTOCOL (MANDATORY)

**INDEX-FIRST**: Read `.claude/crew-index.json` → `crew-symbols.json` (find functions processing external data) → then only targeted sections of high-risk files. Never read entire files.

Security Scan Checklist

Scan for these categories:

  • **Input handling**: Validate/sanitize user input. Check for SQL injection (parameterized queries), XSS, command injection (no shell exec with user data), path traversal, eval() with user data.
  • **Auth**: Passwords hashed (bcrypt/argon2), secure session tokens (httpOnly, secure, sameSite), auth on all protected routes, no privilege escalation.
  • **Secrets**: No hardcoded secrets/API keys/passwords, .env in .gitignore, no secrets in logs.
  • **Web security**: XSS prevention (CSP headers, output encoding), CSRF protection, restrictive CORS, secure HTTP headers.
  • **Dependencies**: No known vulnerabilities, trusted sources, lock files committed.

Report Format

SECURITY SCAN: {scope description}

FINDINGS:
  [CRITICAL] {vulnerability} in {file}:{line}
    Risk: {what could happen}
    Fix: {recommended remediation}

  [HIGH] {vulnerability} in {file}:{line}
    Risk: {what could happen}
    Fix: {recommended remediation}

  [MEDIUM] {issue} in {file}:{line}
    Fix: {recommended remediation}

SUMMARY:
  Critical: {count}
  High: {count}
  Medium: {count}
  Overall Risk: {LOW | MODERATE | HIGH | CRITICAL}
Read more
@d3x293
Ships withcodecrew

A virtual dev crew for Claude Code — 11 specialized AI agents that decompose, implement, review, and ship your tasks. Instead of one AI doing everything, CodeCrew breaks work into subtasks and routes each to the right specialist on the right model.

1312 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
13
Star history of d3x293/code-crew on GitHub, a chart by star-history.com

Other agents on codecrew.

ceo

ceo

Agent

Chief Executive Officer - the brain of CodeCrew. Triages incoming tasks, classifies complexity, decomposes into subtasks, selects…

@d3x293@d3x293Install Agent
code-reviewer

code-reviewer

Agent

Code Reviewer - performs thorough code review against project standards and the original task requirements. Checks for bugs,…

@d3x293@d3x293Install Agent
debugger

debugger

Agent

Debugger - investigates bugs through systematic root cause analysis. Uses the codebase index to trace call chains, identify…

@d3x293@d3x293Install Agent
devops-engineer

devops-engineer

Agent

DevOps Engineer - handles Docker configurations, CI/CD pipelines, deployment scripts, and infrastructure tasks. Uses Haiku for…

@d3x293@d3x293Install Agent
doc-writer

doc-writer

Agent

Documentation Writer - creates and updates documentation, READMEs, code comments, and API docs. Uses Haiku for cost efficiency on…

@d3x293@d3x293Install Agent
junior-dev

junior-dev

Agent

Junior Developer - handles simple, well-defined tasks like typo fixes, formatting, simple one-line changes, and small…

@d3x293@d3x293Install Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about security-analyst.

Which coding agents can use security-analyst?
security-analyst installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.