Reviewing Security
Testing & Qualityreviewing-securityReviewing Security is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
OWASP Top 10-based security review and vulnerability detection. Triggers: security, OWASP, XSS, SQL injection, セキュリティ, 脆弱性, vulnerability.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/security/reviewing-security-thkt-claude-config/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/reviewing-security, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
セキュリティレビュー
検出 (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 |