A different kind of input
A document can contain both useful facts and instructions aimed at the AI reading it. A calendar invitation can include a meeting time and a request to forward private data. A web page can mix an article with text that impersonates an administrator.
Prompt injection exploits that mixture. Anthropic describes it as a serious challenge for browser agents interacting with untrusted content. Its research discusses defenses, not a guarantee that the problem is solved. [1]
The boundary to protect
The safe question is not whether the text sounds reasonable. It is whether the source is authorized to direct this action. Polite language and a familiar signature are not a permission system.
For a company assistant, a retrieved page may be evidence about a policy. It should not be able to grant itself access to a different system or select a new recipient for private information.
My operating principle is simple: access permits reading within a task. It does not silently permit disclosure, mutation or a change of purpose.
Why filtering is not enough
Detection helps, but not every attack announces itself. A request can look like routine administration. It can ask the assistant to “complete the audit” by moving data to a destination chosen inside the document.
A defense should also limit what the system can do after reading. Keep credentials out of ordinary context. Restrict tools. Require trusted approval for consequential actions. Log the source behind a decision.
These are design recommendations. They do not replace security testing, and they do not make a system immune to injection.
Test the boundary, not just the phrase
Build a test document that contains a legitimate answer and an unrelated instruction. The expected outcome is an answer grounded in the document, with no execution of the unrelated instruction.
Repeat the test with a quoted message, an attachment and a link. Change the apparent authority. Check whether the system still distinguishes information from permission.
A pass is observable. No unrelated retrieval. No unexpected recipient. No silent change to the task. Include these failures in your release criteria.
The leadership decision
The more systems an assistant can reach, the more important this boundary becomes. A model that can read everything and act everywhere is not automatically a useful employee substitute. It is a large permission surface.
Start with the smallest useful scope. Expand access only when the workflow and approval path are clear. Keep a person responsible for the actions the system is allowed to take.
Questions & answers
Can prompt injection be solved with a stronger prompt alone?
A stronger prompt may help, but it should not be the only control. Combine source boundaries, tool restrictions, approval checks and adversarial tests.
Should an AI obey instructions inside a retrieved document?
Only when the workflow independently establishes that the source is authorized for that instruction. Otherwise, treat the document as information.
Sources and method
Primary documentation supports the factual claims. Recommendations are editorial proposals. A source citation is not an endorsement.
- Mitigating the risk of prompt injections in browser use Anthropic · 2025-11-24
- Configure permissions Anthropic · Accessed 2026-09-30

