security-audit
できること
このスキルは、よくある弱点、たとえば不適切な入力の扱いや安全でないファイルパスを確認する、コードのセキュリティ上のレビューをエージェントに導きます。ログイン、支払い、ユーザーのデータを扱う機能を出荷する前に、セキュリティの確認をしたい開発者のためのものです。
使う場面
- ✓認証や認可の機能を作っているとき。
- ✓コードが支払い、個人データ、ファイルのアップロードを扱うとき。
- ✓新しいAPIのエンドポイントを追加する、または外部のサービスに接続するとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/security-audit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のAPIフォルダでセキュリティのスキャンを実行し、入力の検証やインジェクションの問題を一覧にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、コード全体でセキュリティの確認を実行し、安全でない入力、パストラバーサル、インジェクションのリスクなどのパターンを探し、見つけたことを報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Security Audit Skill
Purpose
Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement.
When to Trigger
- authentication implementation
- authorization logic
- payment processing
- user data handling
- API endpoint creation
- file upload handling
- database queries
- external API integration
When to Skip
- read-only operations on public data
- internal development tooling
- static documentation
- styling changes
Commands
Full Security Scan
Run comprehensive security analysis on the codebase
npx @claude-flow/cli security scan --depth full
Example:
npx @claude-flow/cli security scan --depth full --output security-report.json
Input Validation Check
Check for input validation issues
npx @claude-flow/cli security scan --check input-validation
Example:
npx @claude-flow/cli security scan --check input-validation --path ./src/api
Path Traversal Check
Check for path traversal vulnerabilities
npx @claude-flow/cli security scan --check path-traversal
SQL Injection Check
Check for SQL injection vulnerabilities
npx @claude-flow/cli security scan --check sql-injection
XSS Check
Check for cross-site scripting vulnerabilities
npx @claude-flow/cli security scan --check xss
CVE Scan
Scan dependencies for known CVEs
npx @claude-flow/cli security cve --scan
Example:
npx @claude-flow/cli security cve --scan --severity high
Security Audit Report
Generate full security audit report
npx @claude-flow/cli security audit --report
Example:
npx @claude-flow/cli security audit --report --format markdown --output SECURITY.md
Threat Modeling
Run threat modeling analysis
npx @claude-flow/cli security threats --analyze
Validate Secrets
Check for hardcoded secrets
npx @claude-flow/cli security validate --check secrets
Scripts
| Script | Path | Description |
|---|---|---|
security-scan |
.agents/scripts/security-scan.sh |
Run full security scan pipeline |
cve-remediate |
.agents/scripts/cve-remediate.sh |
Auto-remediate known CVEs |
References
| Document | Path | Description |
|---|---|---|
Security Checklist |
docs/security-checklist.md |
Security review checklist |
OWASP Guide |
docs/owasp-top10.md |
OWASP Top 10 mitigation guide |
Best Practices
- Check memory for existing patterns before starting
- Use hierarchical topology for coordination
- Store successful patterns after completion
- Document any new learnings
よくある質問
専門のセキュリティ監査の代わりになりますか?
いいえ。よくある問題を見つける助けになりますが、重要なシステムには専門のレビューが引き続き勧められます。
1つのフォルダだけを確認できますか?
はい。スキルはパスのオプションに対応しているため、特定のフォルダをスキャンできます。
問題を自動で直してくれますか?
スキルは問題の発見に焦点を当てているため、どの修正をするかを決め、それを確認してください。
詳細
作者による元の説明
Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1537
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。