演習 › 全問
問題 Q5-03
87 / 120分野5・ガードレールの配置
まだ解いていません。
自社の製品の、社外秘の手順がシステムプロンプトに入っている。利用者が、巧妙な質問で、システムプロンプトの内容を引き出そうとしている。最も適切な対応はどれか。
正解は A
- A正解です。秘密をプロンプトに置かない設計が根本的な対策です。出力側の検査も重ねます。
- B翻訳は、引き出しの攻撃への対策になりません。
- C長くしても、引き出される内容は変わりません。
- D書き換えても、そのつどの内容は引き出せます。
考え方:秘密は、プロンプトに置かない。出力の側でも検査する。
出典:Reduce prompt leak
Prompt leaks can expose sensitive information that you expect to be “hidden” in your prompt.https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Mitigate jailbreaks and prompt injections
By layering these strategies, you create a robust defense against jailbreaking and prompt injections, ensuring your Claude-powered applications maintain the highest standards of safety and compliance.https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)