An uploaded document tells our AI to ignore its instructions. What should happen?

Untrusted content attempting instruction override

Treat retrieved documents and user uploads as data, not as trusted instructions. Keep permission checks and action limits outside the model, and test that malicious embedded text cannot authorize tool use or reveal restricted information. Route suspicious behavior to the security owner.

What to do now

  1. Separate trusted instructions from document content
  2. Enforce authorization at every tool boundary
  3. Test adversarial document examples safely
  4. Record and remediate failures before broader use
Recommended action flow for untrusted content attempting instruction override: Separate trusted instructions from document content then Enforce authorization at every tool boundary then Test adversarial document examples safely then Record and remediate failures before broader use. Escalate when untrusted content can trigger unauthorized actions or disclosure.

When to escalate

Escalate when

Untrusted content can trigger unauthorized actions or disclosure.

Who decides

The AI service owner and relevant authorized reviewer

Example

A document's instruction to export all files is ignored and cannot bypass the tool's access checks.

Mistake to avoid

Assuming a warning in the prompt replaces server-side access controls.

Prevent a repeat

Re-evaluate after changes to models, prompts, tools or source data; keep important decisions accountable to people.

Suggested ApprovedFlow setup

  • Tasks
  • Documents
  • Approvals

Track evaluation and review tasks, and keep approved evidence with the work; do not claim the platform provides an unverified AI agent or automated diagnosis. See the platform

Related cases

Practice references