Security Test Planningのロゴ

Security Test Planning

コミュニティ
arozumenko
security-test-planning

Use when turning a threat model's candidate cases or your own drafts into passive security test cases in manual-qa format, admitting them by lint against the allowed-operation grammar, and handing off a verified suite; provides cases.mjs.

概要

公開者arozumenko
リポジトリsdlc-skills
スキル名security-test-planning
スター
26
フォーク
10
同梱ファイル
10
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    arozumenkoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSecurity Test PlanningをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/arozumenko/sdlc-skills/tree/main/bundles/security-testing/skills/security-test-planning
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/bundles/security-testing/skills/security-test-planning .claude/skills/security-test-planning
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSecurity Test Planningを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSecurity Test Planningを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Security Test Planningは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Security test planning

You write manual-qa test cases that only observe — a case is admitted by lint when its ## Steps table matches nothing on the forbidden list, or it stays a proposal. There is no reviewable hit and no confirmed state: this bundle never says safe, only "admitted by lint" — a classification about step text, not a claim about the target (references/passive-admission.md).

Where a candidate lives

A candidate case is a manual-qa test case (bundles/manual-qa/knowledge/test-case-format.md) at .agents/security-testing/cases/TC-NNN_<slug>.md — directly under cases/, no per-case subdirectory. The file name must match TC-NNN_<slug>.md and its frontmatter id: must be that same TC-NNN. Use the manual-qa fields as written: id, title, priority (critical|high|medium|low), type, module, size (S|M|L, optional), tags; a ## Steps table with #, Action, Expected Result columns is what gets linted — the Expected Result cell is an observation and is never linted.

A candidate comes from threat-modeler's planned(TC-nnn) dispositions, or you draft one yourself for a finding or a check you want covered.

The admission grammar, in short

Every Action cell must start with an allowed-operation verb (navigate, reload, observe — see the table in references/passive-admission.md) after leading Markdown emphasis is stripped. Anything else is an unknown-operation hit. A forbidden pattern anywhere in the cell — a mutating verb, an injection payload, a security tool name, a volume word, or a literal URL host outside engagement.md targets.browser — is its own hit (references/passive-admission.md has the full rule table). A response header or cookie assertion is written in the audit-step form (references/audit-branch.md) so it reads the way manual-qa's qa-auditor collects headers — browser_network_requests(), then one Inspect the <Header> response header … row per header, never a reload or a dev-tools step.

cases.mjs admit <case.md>

  • The candidate must live under .agents/security-testing/cases/, be named TC-NNN_<slug>.md, and its frontmatter id: must be TC-NNN.
  • No hits ⇒ the redacted text is copied into tasks/security-<slug>-admitted/ and the case is admitted by lint: ADMITTED <suite>/<file>.
  • Any hit ⇒ the redacted text is copied to <st>/proposals/ instead: PROPOSAL <st>/proposals/<file> hits=<n>, then one HIT <rule> step <n>: <action> per hit. Rewrite the step and admit again — there is no review path here that turns a hit into an admission.

cases.mjs verify-suite

Every TC-*.md in the suite directory must be exactly what admit wrote (its current sha256 matches .admitted.json). All match ⇒ SUITE ok=<n>, then the manual-qa hand-off prompt (Run as the active agent (claude --agent test-run-lead): "Run the suite at tasks/security-<slug>-admitted/ against base_url=<url>.") and the test-automation prompt (TA-PROMPT cases=[...] slug=<slug> base=<oid7>). Any mismatch ⇒ one UNADMITTED: <path> per offender, exit 4, no prompts — a file placed by hand or a stale copy has to be admitted (or removed) before either hand-off goes out.

Commands

node scripts/cases.mjs --help:

usage: cases <command> [options]

commands:
  admit
  verify-suite

All: USAGE(<sub>: <why>) (2) · ENGAGEMENT-* (2) · CORRUPT <suite>/.admitted.json (5).

References

references/passive-admission.md — the allowed-operation grammar, the forbidden-pattern table, the classification, the case_sha256 identity. references/audit-branch.md — the audit-step form for header/cookie checks, the mapping to manual-qa's qa-auditor expectations, and what sign-off's UNADMITTED: listing compares against.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Security Test Planning」では何ができますか?

Use when turning a threat model's candidate cases or your own drafts into passive security test cases in manual-qa format, admitting them by lint against the allowed-operation grammar, and handing off a verified suite; provides cases.mjs.

TypingMindでSecurity Test Planningを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Security Test Planningはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSecurity Test Planningをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/arozumenko/sdlc-skills/tree/main/bundles/security-testing/skills/security-test-planningを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Security Test Planningを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Security Test Planningは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSecurity Test Planningを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Security Test Planning」は無料ですか?

はい。arozumenkoがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇