Digital Nerve
Explained

Keep Document Summaries Separate From Account Actions

· 3 min read

A business assistant that summarizes supplier documents does not need permission to email the customer database. Keeping those capabilities apart matters more than finding a clever sentence to place in a prompt.

OWASP describes indirect prompt injection as external content influencing an AI’s behavior when it should be treated as input data. A document, email or web page may contain text intended to redirect the application. This article offers a defensive workflow design. It does not demonstrate an attack or claim a complete defense.

Start With the Business Boundary

Imagine a fictional procurement team comparing three supplier brochures. The authorized job is to extract product features and cite where they appear. The documents are evidence for that comparison. They are not permission to access another account, contact a supplier or upload a confidential pricing sheet.

Write that boundary in the project requirements. Give the summarization component only the input it needs. If it has no send or upload capability, a misleading document cannot turn that component’s answer directly into an outbound message.

Read-only access still deserves care: unnecessary access can expose information in a generated answer. Limit both what the component can read and where its output may go.

Review the Proposed Action, Not the Document’s Tone

If a later workflow needs to send a summary, make it a separate step. The reviewer should see the destination, the actual message, included files and the business reason. A supplier’s statement that an action is routine or urgent does not establish the company’s approval.

The application should enforce this permission boundary outside the model. OWASP recommends least privilege, validation of outputs and human approval for high-risk operations. A model-generated sentence saying that approval exists should not satisfy the approval check.

Mark Incomplete or Suspicious Input

A summary should distinguish facts found in the document from inference. If part of a file could not be read, say the review was incomplete. Do not silently present a partial extraction as a whole-document review.

For a first pilot, use fictional brochures and no live sending rights. Include a benign document that talks about delivery instructions and another that contains an unrelated request for an account action. The expected behavior is to summarize relevant brochure facts without taking the unrelated action. This is a proposed test case, not a reported experiment.

Test the full application boundary, including what happens if generated output contains an unexpected destination or command-like content. A keyword filter catching one example does not prove that all indirect instructions will be caught.

Keep the Result Useful

The answer to this risk is not to stop reading business documents. It is to give each stage a narrow job: collect evidence, draft a summary, review it, then authorize a separate action if one is needed. Keep the original source reference beside each material claim so a person can inspect it.

No production security review or adversarial evaluation was performed for this article. These controls reduce exposure; they do not establish that an AI application is immune to prompt injection.

Sources

Sources: https://genai.owasp.org/llmrisk/llm01-prompt-injection/ and https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html . Checked 24 November 2026.

Explained

Related articles