Key points
- Treat external documents as evidence, not authority: restrict the task and tools before approving consequential actions.
- Separate summarising from execution, retain source references and pause when documents request unrelated actions.
- Test normal and suspicious documents with fictional data; one successful test is not a permanent safety guarantee.
Why should document text not become an instruction?
Start by treating the document as material to analyse, not as permission to act. OpenAI explains that prompt injection involves third-party content steering an AI away from the user’s intended task. A professional appearance, familiar sender or company logo does not authorise data sharing, file changes or payments.
For example, a request to compare supplier proposals should produce a referenced comparison. If a proposal asks the assistant to send a customer list elsewhere, that request should be isolated for review rather than included in the assignment. The workflow below is an editorial operating recommendation, not a claim that any tool eliminates this risk.
How should you define the task before starting?
Write one sentence describing the objective, then list permitted inputs, the expected output and excluded actions. A workable brief is: compare the scope in these three proposals, identify page references and uncertainties, and do not contact suppliers, open document-requested submission forms or change records. Avoid an open-ended instruction to handle everything.
Record who can approve a next step and the specific file, recipient and information involved. If the assistant cannot read the whole document, require it to identify the missing coverage rather than fill gaps from general knowledge. Apply the same boundaries to later translation and summarisation steps, not just the first prompt.

How should analysis and execution be separated?
Use a read-only analysis stage first. Ask it to return fixed fields such as supplier, proposed scope, limitations and source page. A person can then decide whether to start a separate action task. OpenAI’s developer safety guidance discusses structured outputs, isolation of untrusted input and tool approvals, while warning that mitigations do not remove all risk.
Keep recommended, approved and executed as separate states. Addresses, links and file paths found in a summary are data, not automatic tool parameters. Even valid JSON needs a check against the original objective: a correct format does not establish permission, an authorised destination or an appropriate disclosure.
What should you record when something looks suspicious?
Keep the document name, version, page or section, suspicious passage location and the reason for pausing. Do not follow the passage to test whether it works. Do not upload the whole internal document to an unknown checking site or send real information as an experiment. Ask the responsible person whether to obtain a clean copy or exclude the passage.
Review triggers include an unexpected change of objective, a request to ignore existing restrictions or an instruction to send information to an unrelated destination. These are warning signs, not proof that the sender acted maliciously. Describe the content and risk without making unsupported accusations about a person.
How can you test the workflow before routine use?
Build a small test set using fictional companies, invented contact details and non-sensitive material. Include an ordinary proposal and a version containing an unrelated action request. The expected result is a useful summary of the readable content, a visible flag for the suspicious request and no additional sharing or file changes.
For each test, record the input version, tool settings, actual output, human intervention and failure reason. Repeat affected tests when the model, connected tools or workflow changes. Do not score only how fluent the summary sounds. Check whether the action boundary held and whether a person could notice and understand a failure.
Which workflow should a small business start with?
Begin with a low-risk document task that a person can check, such as comparing public product information. Do not connect payments, customer exports and the entire company file store at the outset. Assign one workflow owner and document when to stop, who reviews the issue, and how original evidence and corrections are retained.
If you are considering AI customer service, prepare a list of company information the assistant may use, questions that need a human and actions requiring separate approval. This is a way to prepare requirements. It is not a completed security assessment or a claim that a customer-service system removes the need for oversight.
Frequently asked questions
Is one warning in the prompt enough?
No. Combine task boundaries with limited data access and review of consequential actions; OpenAI’s guidance notes that protections cannot prevent every prompt injection.
Can a familiar client’s PDF be trusted automatically?
No. You may analyse it, but new requests to send, change or act still need checking against the original task and permissions.
Does valid JSON mean the content is safe?
No. JSON constrains structure, not authority. Check values, destinations and approval; developer guidance also warns that structure and isolation do not remove all risk.
Should real customer records be used for testing?
Not for the initial test. Use fictional records to check action boundaries without creating an unnecessary disclosure.
Should the original file be deleted if a passage looks suspicious?
Do not delete it automatically. Preserve the evidence, stop the affected action and let the authorised owner decide what happens next.
Does one passing test justify full automation?
No. Keep the permitted scope narrow, retain review and failure handling, and revalidate affected steps after changes.
