diff --git a/.github/workflows/prompt-injection-check.yml b/.github/workflows/prompt-injection-check.yml index 40d2442..31a5631 100644 --- a/.github/workflows/prompt-injection-check.yml +++ b/.github/workflows/prompt-injection-check.yml @@ -3,13 +3,22 @@ name: Prompt Injection Guard # 受講者の AI(Claude Code 等)に "見えない指示" を埋め込む PR を弾く。 # AI 向けに伝えたい内容は .ai-buddy ブロック等で必ず可視化する。 # 詳細: CLAUDE.md > "プロンプトインジェクション対策" +# +# 走査は 2 層: +# 1. 構造走査 — zero-width / 不可視 Unicode・bidi 制御文字。全テキストファイル対象。 +# 誤検知ほぼ皆無。 +# 2. キーワード走査 — data-ai-* /