/security-suite:security [path | auth | deps | injection]from security-suite
Runs a heuristic security scan for OWASP Top 10 patterns including hardcoded secrets, SQL injection, XSS, dependency vulnerabilities, and auth issues. Useful for quick pre-merge code review.
Ships in security-suite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rapid security assessment focused on OWASP Top 10 vulnerabilities.
Perform a quick security scan to identify common vulnerabilities:
# Common secret patterns
grep -rn --include="*.js" --include="*.ts" --include="*.py" --include="*.go" --include="*.java" --include="*.rb" --include="*.php" --include="*.env" \
-E "(password|secret|api_key|apikey|token|auth|credential).*[=:].*['\"][^'\"]{8,}['\"]" \
--exclude-dir={node_modules,vendor,.git,dist,build} . 2>/dev/null | head -20
# .env files that might be committed
find . -name ".env*" -not -path "*/node_modules/*" -type f 2>/dev/null
# Check if secrets are gitignored
[ -f ".gitignore" ] && grep -q "\.env" .gitignore && echo "✅ .env in .gitignore" || echo "⚠️ .env NOT in .gitignore"
# SQL injection patterns (raw queries with string concat)
grep -rn --include="*.js" --include="*.ts" --include="*.py" --include="*.go" --include="*.java" --include="*.php" \
-E "(query|execute|raw|sql).*\+.*\$|f['\"].*SELECT|\.format\(.*SELECT" \
--exclude-dir={node_modules,vendor,.git} . 2>/dev/null | head -15
# Command injection patterns
grep -rn --include="*.js" --include="*.ts" --include="*.py" --include="*.go" --include="*.rb" --include="*.php" \
-E "(exec|spawn|system|shell_exec|popen)\s*\(" \
--exclude-dir={node_modules,vendor,.git} . 2>/dev/null | head -15
# Dangerous innerHTML/dangerouslySetInnerHTML usage
grep -rn --include="*.js" --include="*.ts" --include="*.jsx" --include="*.tsx" --include="*.vue" \
-E "(innerHTML|dangerouslySetInnerHTML|v-html)" \
--exclude-dir={node_modules,.git,dist} . 2>/dev/null | head -15
# Unescaped template literals in HTML context
grep -rn --include="*.js" --include="*.ts" --include="*.jsx" --include="*.tsx" \
-E "\`.*\$\{.*\}.*<" \
--exclude-dir={node_modules,.git,dist} . 2>/dev/null | head -10
# Check for known vulnerabilities in npm packages
[ -f "package-lock.json" ] && npm audit --json 2>/dev/null | jq '{vulnerabilities: .metadata.vulnerabilities}' 2>/dev/null
# Check for outdated packages with security issues
[ -f "package.json" ] && npm outdated --json 2>/dev/null | jq 'to_entries | map(select(.value.current != .value.latest)) | length' 2>/dev/null
# Hardcoded JWT secrets
grep -rn --include="*.js" --include="*.ts" --include="*.py" --include="*.go" \
-E "(jwt|JWT).*secret.*[=:].*['\"].{8,}['\"]" \
--exclude-dir={node_modules,vendor,.git} . 2>/dev/null
# Missing CSRF protection patterns
grep -rn --include="*.js" --include="*.ts" --include="*.py" \
-E "(POST|PUT|DELETE|PATCH).*fetch|axios\.(post|put|delete|patch)" \
--exclude-dir={node_modules,vendor,.git} . 2>/dev/null | head -10
Scan Date: [timestamp] Scope: [directory scanned]
| Issue | Location | Description |
|---|---|---|
| [type] | [file:line] | [brief description] |
| Issue | Location | Recommendation |
|---|---|---|
| [type] | [file:line] | [fix suggestion] |
| Issue | Location | Note |
|---|---|---|
| [type] | [file:line] | [context] |
| Level | Examples | Action |
|---|---|---|
| 🔴 Critical | Hardcoded prod secrets, SQL injection | Fix immediately |
| 🟠 High | Missing auth, XSS vectors | Fix before deploy |
| 🟡 Medium | Outdated deps, missing CSRF | Plan remediation |
| 🟢 Low | Best practice violations | Track for improvement |
Full audit:
/security
Focus on specific area:
/security auth
/security deps
/security injection
Specific file/directory:
/security src/api/
examples/hooks/security-hooks.sh for automated pre-commit security checks$ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
Use when reviewing code for security vulnerabilities or before merging sensitive changes.
mediumThree short reads, in order
npx claudepluginhub florianbruniaux/claude-code-plugins --plugin security-suite8 skills in this plugin
/cyber-defense-teamOrchestrate a 4-agent cyber defense pipeline to analyze log files for threats. Use when investigating security logs, detecting anomalies in access patterns, classifying breach severity, or generating incident reports from nginx/auth/syslog files./eval-rulesAudit Claude Code instruction rules in .claude/rules/ and ~/.claude/rules/: frontmatter, paths glob validity against real files, symlink load status, and day-to-day usefulness, then update rules with the user. Use for first-time rules setup, rules that apply too often or never, or periodic rules hygiene. Not for Codex .rules command-approval files./sandbox-statusDisplay native sandbox status, configuration, and recent violations/security-auditComprehensive security audit with scored posture assessment/security-checkQuick configuration security check against known threats database/security-checklistReference security checklist and code patterns for web applications (authentication, authorization, input validation, headers, secrets, logging). Use when writing or reviewing web app code that handles auth, user input, sessions, or deployment hardening. Not for scanning a codebase: use the security skill.Other plugins' skills for the same job