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

security-scan

できること

このスキルは、依存関係の問題、ハードコードされたシークレット、危険なコードのパターンを探す、パターンベースのセキュリティスキャンを実行します。レビューやリリースの前に、最初の段階のセキュリティ確認をしたい開発者向けです。

使う場面

  • ✓プルリクエストのセキュリティの問題をレビューしているとき。
  • ✓本番環境にデプロイする前に、セキュリティを確認したいとき。
  • ✓簡易、標準、詳細のどれかで、コードをスキャンしたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このコードベースに対して標準のセキュリティスキャンを実行し、手作業で最初に確認すべき結果を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、選んだ深さでスキャナーを実行します。依存関係は完全にチェックされ、シークレットとコードのパターンは、レベルで決まる深さまで検索されます。すべての結果を候補として扱い、報告する前にファイルを開いて確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Run a security scan at the specified depth.

Via CLI:

npx @claude-flow/cli@latest security scan --depth DEPTH --output json
npx @claude-flow/cli@latest security cve --list
npx @claude-flow/cli@latest security threats --model stride --export md

What the scan really does (v3/@claude-flow/cli/src/commands/security.ts): phase 1 runs npm audit for dependencies, phase 2 greps for hard-coded secrets, phase 3 greps source for risky code patterns. --type deps|code|all picks phases; --depth only sets how many directory levels phases 2 and 3 descend:

Depth Dependencies Secrets (levels) Code patterns (levels)
quick yes 3 skipped
standard yes 5 5
deep yes 10 10

It is a pattern scanner, not a taint or auth-flow analyser, and security threats is a separate STRIDE/DREAD/PASTA template, not a scan of your code. Treat every finding as a lead, not a verdict: open the file at the reported line before reporting it, and drop matches in comments, error strings, generated bundles (coverage/, playwright-report/) and test fixtures. Say which of the phases above you ran and which you did not.

Store findings via MCP: mcp__plugin_ruflo-core_ruflo__memory_store({ key: "scan-findings", value: "SUMMARY", namespace: "security-findings" })

Train patterns: mcp__plugin_ruflo-core_ruflo__hooks_post-task({ taskId: "security-scan", success: true, storeResults: true })

よくある質問

これは完全なセキュリティ監査ですか?

いいえ。ソースはこれをパターンスキャナーと呼び、テイント解析や認証の解析ではないため、結果は確認すべき候補になります。

深さのレベルは何を変えますか?

シークレットとコードのチェックが検索するフォルダーの階層の深さだけが変わり、簡易から詳細まであります。

結果は保存されますか?

はい。要約はセキュリティの検出結果のメモリの名前空間に保存できます。

詳細

作者による元の説明

Run full security scans on the codebase using Ruflo security tools. Use when reviewing PRs for security regressions, auditing auth/input-handling code, before production deploys, or when the user asks for a security check at quick/standard/deep depth.

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1694
ライセンス
MIT
更新日
2026/11/2

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

0

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

コメント

  • …

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

似ているスキル