Agent skill
reviewing-security
OWASP Top 10-based security review and vulnerability detection. Triggers: security, OWASP, XSS, SQL injection, セキュリティ, 脆弱性, vulnerability.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/reviewing-security
SKILL.md
セキュリティレビュー
検出 (OWASP Top 10)
| ID | カテゴリ | パターン | 修正 |
|---|---|---|---|
| A01 | アクセス制御不備 | 認証欠如、IDOR、パストラバーサル | 認証ミドルウェア、所有権チェック |
| A02 | 暗号化の失敗 | password: 'plaintext' |
bcrypt/argon2ハッシュ |
| A03 | インジェクション | db.query(\SELECT...${id}`)` |
パラメータ化クエリ、ORM |
| A03 | インジェクション | exec(\ping ${host}`)` |
入力検証、ライブラリ使用 |
| A03 | XSS | dangerouslySetInnerHTML={{ __html }} |
デフォルトエスケープ、DOMPurify |
| A05 | セキュリティ設定 | cors({ origin: '*' }) |
明示的オリジン許可リスト |
| A05 | セキュリティ設定 | cookie: {} (オプションなし) |
secure, httpOnly, sameSite: 'strict' |
| A09 | ログ記録の失敗 | logger.info({ password }) |
機密フィールド除外 |
| A10 | SSRF | fetch(userInputUrl) |
URL検証、許可リスト |
信頼度閾値
信頼度 >80% の場合のみ報告。含める: file:line、悪用シナリオ、修正推奨。
参考
| トピック | OWASP | ファイル |
|---|---|---|
| 基本 | A01, A02, A07 | references/owasp-basic.md |
| インジェクション | A03 | references/owasp-injection.md |
| 上級 | A04-A06, A08-A10 | references/owasp-advanced.md |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?