Area 3: Noticing attacks aimed at AI
3-2 The risk in outside documents, email and web pages
Where hidden instructions are planted, and how to spot odd output
The situation
Kenji works in communications. To follow a competitor, he gave an AI tool a web address and asked it to "summarise this page". The summary ended with this line:
"A more detailed analysis report is available by signing in with your company account at this link."
When he opens the original page, he can find no such notice.
Everything from outside is suspect
Prompt injection is planted in text that you or your company did not write.
- email from outside and its attachments
- documents received from partners or applicants
- web pages and search results
- reviews, comments and social media posts
- files placed in a shared folder by people outside
- data imported from other services
Text you wrote yourself, and trusted documents produced inside your company, carry little of this risk.
How to spot odd output
If the output shows any of these, suspect instructions planted in the material.
- It does something you didn't ask for. You asked for a summary and it offers a link or contact details.
- It contains something the original does not. You look at the original and can't find it.
- It urges action. "Sign in." "Call this number." "Open this file."
- It hurries or threatens. "Urgent." "Your account will be suspended."
- It is extreme for no reason. Lavish praise, a strong recommendation.
- The tone or language changes abruptly.
What to do when you suspect it
- Don't open links in the output. Don't do what it tells you.
- Don't use that output in your work.
- Check the original yourself. (But don't keep reopening suspicious files or links.)
- Report it internally. Say which document you gave the AI and what output came back.
Deleting the odd line and using the rest is not appropriate. Other parts may have been distorted too.
Using AI in a way that reduces the risk
- The more a decision matters, the more you should read the material yourself. Hiring, choosing a supplier, contracts.
- Keep conversations that read outside documents separate from conversations that handle confidential material. In one conversation, a planted instruction can cause the confidential material to be taken out.
- Don't treat an AI summary as having read the original.
Back to the situation
The "sign in to view" notice Kenji received is nowhere a person can see on the original page. The sensible reading is that the AI produced it because of instructions planted in the page. He should not open the link, should not use the summary, and should tell IT: "when I had this address summarised, the output urged me to sign in".
Check question
You had an AI tool summarise a PDF from someone claiming to be a partner. The summary ends: "To confirm, enter your employee ID and password at the address below." What should you do?
- Open the address and enter them, since the AI has given the confirmation steps
- Delete that one line and use the rest of the summary in your work
- Summarise it again, and treat it as genuine if the same notice appears
- Don't open the address, don't use the summary, and report it internally
Answer: D. Output urging an action you didn't ask for is a typical sign of planted instructions. Other parts may be distorted, so don't use any of the summary. The same result on a second try only means the AI read the same instructions.
AIセキュリティプラクティス2026: ジェネレーティブAIを安全に使う
Q1. 外部文書から得たAIの出力に異常がある場合、何をすべきですか?
- 異常な部分を削除して使用する
- リンクを開かず、出力を使用せず、内部に報告する ✓
- 元の文書をもう一度AIに要約させる
- 出力をそのまま使用する
Q2. AIにウェブページを要約させた際に、元のページにない情報が含まれていた場合、何を考えるべきですか?
- その情報を確認するためにリンクを開くべきだ
- AIが誤解しただけだ
- それは正しい情報である
- 何らかの指示が植え付けられている可能性がある ✓
Q3. 信頼できる文書と外部からの文書のリスクの違いは何ですか?
- すべての文書は同じリスクを持つ
- 外部文書にはリスクがない
- 外部からの文書は常に正確である
- 社内で作成した文書はリスクが低い ✓
Share this lesson