Back to list
munlucky

security-reviewer

by munlucky

0🍴 0📅 Jan 25, 2026

SKILL.md


name: security-reviewer description: Reviews code for security vulnerabilities. Use when security concerns are detected or before deploying critical changes. context: fork

Security Reviewer Skill

When to Use

  • Security concerns detected during code review
  • API key or credential exposure suspected
  • Before deploying authentication/authorization changes
  • When handling user input or external data

Procedure

  1. Scan changed files for security patterns
  2. Check against security checklist (.claude/rules/security.md)
  3. Report findings with severity levels
  4. Suggest fixes for each issue

Security Checklist

CRITICAL (Must Fix Before Merge)

  • Hardcoded secrets (API keys, passwords, tokens)
  • SQL injection vulnerabilities
  • XSS vulnerabilities (unescaped user input)
  • Authentication bypass risks

HIGH (Should Fix)

  • Missing input validation
  • Insecure dependencies (outdated packages)
  • Path traversal risks
  • CSRF vulnerabilities
  • Missing rate limiting
  • Verbose error messages leaking info
  • Missing HTTPS enforcement
  • Weak password policies

Output Format

## Security Review Results

### Summary
- Files scanned: N
- Critical: N | High: N | Medium: N

### Findings

#### [CRITICAL] Hardcoded API Key
- **File**: src/api/client.ts:42
- **Issue**: API key exposed in source code
- **Fix**: Move to environment variable

#### [HIGH] Missing Input Validation
- **File**: src/routes/user.ts:15
- **Issue**: User input passed directly to query
- **Fix**: Add Zod validation schema

### Verdict
❌ BLOCK / ⚠️ WARNING / ✅ PASS

Auto-trigger Conditions

SignalAction
*.env file modifiedTrigger review
Auth-related files changedTrigger review
New dependency addedCheck vulnerability
API endpoint addedValidate input handling

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon