本文へスキップ
Skillpedia
セキュリティ81k · #1537

security-audit

できること

このスキルは、よくある弱点、たとえば不適切な入力の扱いや安全でないファイルパスを確認する、コードのセキュリティ上のレビューをエージェントに導きます。ログイン、支払い、ユーザーのデータを扱う機能を出荷する前に、セキュリティの確認をしたい開発者のためのものです。

使う場面

  • ✓認証や認可の機能を作っているとき。
  • ✓コードが支払い、個人データ、ファイルのアップロードを扱うとき。
  • ✓新しいAPIのエンドポイントを追加する、または外部のサービスに接続するとき。

スキルのリンク

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/security-audit/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/security-audit/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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

  1. Check memory for existing patterns before starting
  2. Use hierarchical topology for coordination
  3. Store successful patterns after completion
  4. 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル