security-review-skill
セキュリティレビュースキル。OWASP Top 10に基づくセキュリティ脆弱性のチェック。SQLインジェクション、XSS、認証・認可、暗号化などの観点でコードをレビュー。「セキュリティレビュー」「脆弱性チェック」「セキュリティ確認」などのリクエスト時に使用。
When & Why to Use This Skill
This Claude skill automates professional security code reviews by identifying vulnerabilities based on the OWASP Top 10 framework. It specializes in detecting critical risks such as SQL injection, Cross-Site Scripting (XSS), and broken authentication, helping developers implement a 'defense-in-depth' strategy and adhere to the principle of least privilege throughout the software development lifecycle.
Use Cases
- Automated Security Auditing: Integrate into the development workflow to scan pull requests for OWASP Top 10 vulnerabilities before code is merged.
- Vulnerability Remediation: Identify specific weaknesses like SQL injection or XSS in existing codebases and receive actionable recommendations for secure coding patterns.
- Compliance and Best Practices: Verify that authentication mechanisms, session management, and data encryption implementations meet modern security standards and industry best practices.
- Security-First Refactoring: Review legacy code to ensure all external inputs are properly validated and sensitive data is handled using secure hashing and encryption.
| name | security-review-skill |
|---|---|
| description | セキュリティレビュースキル。OWASP Top 10に基づくセキュリティ脆弱性のチェック。SQLインジェクション、XSS、認証・認可、暗号化などの観点でコードをレビュー。「セキュリティレビュー」「脆弱性チェック」「セキュリティ確認」などのリクエスト時に使用。 |
セキュリティレビュー
OWASP Top 10に基づくセキュリティ脆弱性をチェックするスキル。
基本理念
- 入力は信頼しない: 全ての外部入力を検証
- 最小権限の原則: 必要最小限の権限のみ付与
- 多層防御: 複数のセキュリティ対策を組み合わせ
チェック項目
入力検証
- 全外部入力の検証
- SQLインジェクション対策
- XSS対策
- ファイルアップロード検証
認証・認可
- パスワードハッシュ化
- セッション管理
- JWT検証
- 権限チェック
暗号化・保護
- 機密データ暗号化
- HTTPS強制
- 暗号化キー管理
ログ・監視
- セキュリティイベントログ
- 機密情報ログ除外
重要度分類
| 重要度 | 内容 |
|---|---|
| 🔴 Critical | SQLインジェクション、XSS、認証バイパス、機密情報漏洩 |
| 🟡 High | 権限管理不備、暗号化不備、セッション管理問題 |
| 🟢 Medium | セキュリティヘッダー不備、ログ設定改善 |
詳細なパターンは references/security-patterns.md を参照。