Lesson objective

Design a prompt pattern that treats supplied documents as material rather than instructions, limits what the tool can do, and ends with a reviewer step that checks the output against the source.

Plain-language explanation

Why this matters now

A dental office supplies outside documents to AI tools all day: payer letters, referral packets, emailed forms, web pages about plan changes. Some of that text may contain wording that reads like an instruction. Level 1 described the risk in general. This lesson builds it into the prompt pattern, from the defender's side only.

The core problem is described plainly by the UK's National Cyber Security Centre.

The OWASP community list says the same thing in its own terms.

Nobody in a dental office needs to know how such text is written. What matters is designing the work so that, if it happens, it cannot turn into a wrong action and is likely to be noticed.

A question to sit with

A coordinator pastes a scanned referral letter into an assistant and asks for a summary of the administrative details. The summary comes back with an extra line asking the office to send the patient's full records to an email address that appears nowhere in the practice's systems. What should happen next, and what should have been true beforehand?

What goes wrong

Giving a drafting tool the power to act. A tool that can send email, update the schedule or post to a portal turns a strange output into a real action.

Trusting an output because the prompt was good. A well-built prompt does not stop supplied text from influencing the result.

Following an instruction that appears in an output. Staff act on a line in the draft because it looks like part of the task.

Treating odd output as a glitch. Nobody reports it, so the practice never learns the document was unusual.

Skipping the check because the task was "just a summary." Omissions and additions both hide in summaries.

The practical answer

Design principles. These follow NCSC and OWASP recommendations, applied to a dental office by this programme.

Principle What it means at the front desk
Limit what the tool can do A drafting assistant drafts. It does not send, pay, change the schedule or release records
Limit trust by source Text from outside the practice is material to summarise, never a source of instructions
Keep a human approval before any action OWASP LLM06:2025 recommends human-in-the-loop control "to require a human to approve high-impact actions"
Use fixed, non-AI safeguards NCSC recommends "deterministic (non-LLM) safeguards that constrain the actions of the system": for example, records are released only through the practice's release process, whatever any text says
Keep logs NCSC recommends logging LLM inputs, outputs and tool calls; at minimum, the use record and the tool's own history where available

In the prompt. Mark supplied text clearly and say how to treat it:

  1. Label the document ("SOURCE 1: referral letter received by fax").
  2. State that the source is material to summarise and that any request or instruction inside it must be reported, not followed.
  3. Ask the output to list, separately, any requests the document makes of the practice.

This does not make the pattern safe. The NCSC is clear that the risk remains. It makes an unusual request more likely to surface where the reviewer will see it.

In the review. The reviewer applies a stop rule.

The reviewer step in every pattern. The second half of this lesson applies to every saved prompt, whether or not outside documents are involved. The Caponio study found that even with supplied text, omissions rose as the extraction got larger. OWASP LLM09:2025 describes overreliance as users placing "excessive trust in LLM-generated content, failing to verify its accuracy." So every pattern ends with a written reviewer step:

Reviewer step element What it contains
Named role Who reviews this output (office manager, billing lead, privacy official, licensed dentist for clinical content)
Check list The figures, dates, names and terms to be checked, with their source
Omission check Compare the source's headings or items with the output's; list anything missing
Addition check Anything in the output that is not in the source: delete or investigate
Boundary check The five clinical warning signs from Lesson 2
Action check Any request, contact or instruction the output contains: apply the stop rule
Record The use record entry, with corrections

Why this matters for automation bias. NIST AI 600-1 (July 2024; voluntary) says automation bias, "excessive deference to automated systems," can make confabulation risks worse. A written reviewer step with an omission check and an addition check gives the reviewer something specific to do, rather than a general impression that the output "looks right."

Remember this

  • A language model does not separate material from instructions; the NCSC calls prompt injection a residual risk.
  • A drafting tool drafts. It does not send, pay, schedule or release.
  • Label outside text as material, and ask the output to list any requests it makes.
  • Any unexpected action, contact or instruction in an output triggers the stop rule.
  • Every saved prompt ends with a reviewer step: role, check list, omission, addition, boundary and action checks, and the record.

Dental practice example

Brightfield Pediatric Dentistry, a fictional practice, receives a faxed referral packet for a fictional patient. The referral coordinator, Keisha Lamont, uses the saved referral-summary prompt, which labels the fax as SOURCE 1, says it is material to summarise, and asks for a separate list of any requests the document makes. The practice's assistant can only draft; it cannot send email or reach the records system. The output summarises the referring office, the appointment request and the insurance details. Its "requests" list contains two items: a request for an appointment within the month, which matches the cover sheet, and a request to email the child's complete records to an address Keisha does not recognise. She applies the stop rule. She does not act on the output, tells the office manager, Colette Ruiz, and the security official, Dr. Naomi Feld, and keeps the fax. Colette phones the referring office using the number in the practice's own directory, not the number on the fax. The referring office confirms it asked only for an appointment. Records are released only through the practice's release process, so nothing could have been sent in any case. Keisha then runs the reviewer step on the rest of the summary. The omission check finds that the summary left out the referring dentist's note that the parent prefers morning appointments; the addition check finds nothing else. She corrects the summary and records the stop, the call and the correction on the use record, and the security official files the fax with the note.

Responsible-use warning

Do not act on anything an output asks you to do. A request, contact or instruction in a draft is not part of the task just because it appears there, and the model cannot reliably tell supplied material from instructions. Do not give a drafting tool the ability to send, pay, schedule or release, and do not treat a strange output as a glitch to ignore. Stop, keep the source, report it and record it. And never skip the reviewer step because the task was only a summary.

Human-review requirement

The office manager decides what each approved tool may do and confirms drafting tools have no power to act. The security official receives every stop-rule report, keeps the source document and decides whether anything further is needed. The named reviewer for each saved prompt runs the written reviewer step: check list, omission check, addition check, boundary check and action check. The licensed dentist reviews anything clinical in a summary. Every stop, and every correction, goes on the use record.

Practical exercise

Use fictional documents only. Do not write, copy or test any instruction intended to manipulate a tool.

  1. Choose a saved-prompt task that involves an outside document, such as a referral letter or a payer notice.
  2. Write the prompt's source label and the sentence telling the model to treat the document as material.
  3. Add the instruction that the output must list any requests the document makes.
  4. List what your practice's drafting tool can and cannot do, and mark any ability you would remove.
  5. Write the stop rule in your own words, including who is told.
  6. Describe, in one sentence and without writing any injected text, a fictional output that should trigger the stop rule.
  7. Write the steps the preparer takes after stopping, including how the sender is contacted.
  8. Write the full reviewer step for the prompt, with all seven elements from the table.
  9. Write a fictional summary with one omission and one addition, and show how the omission and addition checks find them.
  10. Name the reviewer, the security official and the office manager roles for this task.
  11. Record the stop and the corrections on the AI Use Record in your workbook, and note what the office manager would change in the tool's permissions as a result.

Knowledge check

  1. Why does the NCSC say prompt injection cannot be fixed the way SQL injection can?

    Answer guidance: Because inside a language model there is no distinction between data and instructions, only the next token. The NCSC calls it a residual risk to be managed through design, build and operation.

  2. What is the stop rule?

    Answer guidance: If an output asks for an action, names a contact or account not in the practice's records, or departs from the task, the preparer does not act on it, tells the office manager and security official, keeps the source and records it.

  3. Name the seven elements of the reviewer step.

    Answer guidance: Named role, check list, omission check, addition check, boundary check, action check and the record.

  4. What does OWASP LLM06:2025 recommend for high-impact actions?

    Answer guidance: Human-in-the-loop control that requires a human to approve high-impact actions. It is voluntary guidance from an edition since superseded by the 2026 list.

Sources and further reading