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

security-requirement-extraction

できること

このツールは、セキュリティ上の脅威に関するアイデアを、システムが従うべき明確で実行可能なルールに変換するのに役立ちます。脅威分析を、実行可能なセキュリティ要件に変えます。

使う場面

  • ✓脅威モデルを要件に変換するとき。
  • ✓セキュリティを重視したユーザーストーリーを書くとき。
  • ✓セキュリティを検証するためのテストケースを作成するとき。

スキルのリンク

https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/security-requirement-extraction/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“次の脅威をセキュリティ要件に変換してください:「顧客データへの不正アクセス」と「機密情報の漏えい」。”

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

仕組み

ツールは特定された脅威とビジネス上の背景を分析し、具体的な要件を生成します。要件は、システムが行うべきこと、どのように動作すべきか、制約事項のいずれかに分類され、トレーサビリティや優先度などの重要な詳細も追加されます。

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

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

Security Requirement Extraction

Transform threat analysis into actionable security requirements.

When to Use This Skill

  • Converting threat models to requirements
  • Writing security user stories
  • Creating security test cases
  • Building security acceptance criteria
  • Compliance requirement mapping
  • Security architecture documentation

Core Concepts

1. Requirement Categories

Business Requirements → Security Requirements → Technical Controls
         ↓                       ↓                      ↓
  "Protect customer    "Encrypt PII at rest"   "AES-256 encryption
   data"                                        with KMS key rotation"

2. Security Requirement Types

Type Focus Example
Functional What system must do "System must authenticate users"
Non-functional How system must perform "Authentication must complete in <2s"
Constraint Limitations imposed "Must use approved crypto libraries"

3. Requirement Attributes

Attribute Description
Traceability Links to threats/compliance
Testability Can be verified
Priority Business importance
Risk Level Impact if not met

Templates and detailed worked examples

Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.

Best Practices

Do's

  • Trace to threats - Every requirement should map to threats
  • Be specific - Vague requirements can't be tested
  • Include acceptance criteria - Define "done"
  • Consider compliance - Map to frameworks early
  • Review regularly - Requirements evolve with threats

Don'ts

  • Don't be generic - "Be secure" is not a requirement
  • Don't skip rationale - Explain why it matters
  • Don't ignore priorities - Not all requirements are equal
  • Don't forget testability - If you can't test it, you can't verify it
  • Don't work in isolation - Involve stakeholders
よくある質問

セキュリティ要件とは何ですか?

脅威に基づいて、システムがどのように情報を保護し、安全に動作しなければならないかを定める具体的なルールです。

要件を脅威にひも付ける(トレーサビリティ)ことが重要なのはなぜですか?

作成したすべてのセキュリティルールに明確な目的があり、特定されたリスクに直接結び付いていることを保証できます。不要な要件や抜けている要件を防ぐためにも重要です。

機能的なセキュリティ要件と非機能的なセキュリティ要件の違いは何ですか?

機能要件は、安全であるためにシステムが何をしなければならないかを定めます(例:ユーザーを認証する)。非機能要件は、セキュリティに関してシステムがどのように動作しなければならないかを定めます(例:認証を高速に行う)。

詳細

作者による元の説明

Derive security requirements from threat models and business context. Use when translating threats into actionable requirements, creating security user stories, or building security test cases.

repo: wshobson/agents

人気

GitHubのスター
41k
ランキング
#6780
ライセンス
MIT
更新日
2026/10/15

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

0

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

コメント

  • …

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

似ているスキル