What Is Email Prompt Injection?
Email prompt injection is the mail-specific form of indirect prompt injection: instruction-like language contained in an inbound message reaches an AI system because that system reads the message as part of a human or automated workflow. Triage assistants, thread summarizers, support-ticket classifiers, CRM ingestion jobs and executive-assistant agents all take mail content into model context by design. That is the delivery surface.
The defining property is the same as on every indirect path, but email sharpens it. Inbound mail is content authored outside the organization, and it stays external and untrusted even when it arrives through a trusted mail platform, an authenticated connector or a first-party API. Transport can be impeccable while the message body is hostile. The attacker never needs an account on the AI application, never needs to interact with the assistant, and often does not need to know that an assistant exists: sending a message to an address that a workflow reads is sufficient reachability.
Keep two questions apart from the first paragraph onward. Whether mail content influences the model is a model-behavior question. Whether that influence produces a security consequence is an architecture question, and it depends on whether a capability or data path exists and whether an application-side control is missing, overbroad or failing. Most influence should end as an odd draft. It becomes a vulnerability when the workflow lets influenced output send, forward, disclose or write.
The End-to-End Delivery Chain
Mail reaches a model through more stages than a diagram of "inbox to assistant" suggests, and each stage is both a place where trust can be mislabelled and a place where a control can live.
The key boundary is between trusted mail infrastructure or components and the untrusted content they carry. The organization may legitimately trust its mail infrastructure, connector and parser as system software, but that property does not transfer to the message. A trusted pipe does not sanctify its payload. Transport authenticity, delivery reliability and API authentication answer questions about the channel, and none says whether text inside the message may direct an AI workflow. Parsing, normalization and summarization must therefore preserve the content's provenance and trust labels throughout the chain.
The normalization stage deserves particular attention, because it decides what the model actually sees. Choosing the plain-text alternative, the processed HTML body, the full quoted history or a connector-generated summary produces materially different context from the same message. Whatever is chosen, the model reads task instructions and external message content in the same window and may treat both as directive. From there, model output is a proposal. The final authorization and execution gate over recipients, data class, action scope and destination is the last deterministic gate before a side effect. Deterministic controls can also constrain earlier stages through data minimization, parser and representation boundaries, capability scoping, recipient and destination policy, and egress controls.
Which Email Surfaces Become Model-Visible
A message is not one text either. Every integration exposes a different subset of the following surfaces to the model, and the defensive requirement is to know exactly which subset enters context and to keep each part's provenance attached.
SPF evaluates the RFC5321 MAIL FROM identity and may separately evaluate HELO or EHLO. These can differ from the author identity a reader sees.
The RFC5322.From or Author Domain is what users usually see and what DMARC aligns authenticated identifiers against. Display names remain sender-chosen text, not identity assertions.
Routing and timestamp headers, the DKIM signing-domain identifier, and Authentication-Results added by a trusted authentication service. A field supplied outside the receiver's trust boundary is not authoritative merely because it exists.
Short, prominent and frequently placed near the top of model context, which gives it disproportionate salience for its length.
The text alternative of the message. Often the representation a connector forwards, and just as attacker-authored as any other part.
The rich representation after application-side sanitization, conversion or rendering. Which processing path runs determines which text survives into context.
Previous messages carried along in replies. Old external text re-enters context on every turn unless it is identified as quoted external material.
Trailing blocks appended by senders or gateways. Routinely ignored by humans and routinely forwarded verbatim to models.
Destinations and the text presented for them, which need not match. Both are untrusted inputs to later policy decisions.
Text extracted from attached documents. It carries its own provenance, its own extraction path and its own risk of instruction-like content.
Where the application ingests it, invitation titles, descriptions and participant notes are external text that becomes model-visible like any body.
Labels, classifications and condensed thread summaries produced by the platform. System-generated wrappers around external content, not evidence that the content is safe.
Provenance has to survive the whole chain. A useful record links the model-visible span back to a stable message identifier, the thread position it came from, the representation that was chosen, whether the span came from the new body or from quoted history, and whether it originated in an attachment and through which extractor. Once transformation erases source identity, downstream policy cannot distinguish externally delivered text from application-authored instructions or model-generated drafts, and an investigator cannot reconstruct which segment influenced which proposal.
Authentication Is Not Instruction Authority
The mechanisms are worth stating precisely, because the imprecise version is the source of the mistake. SPF (RFC 7208) checks whether the sending host is authorized for the RFC5321 MAIL FROM domain and may separately evaluate HELO or EHLO. DKIM (RFC 6376) signs a hash constructed from selected canonicalized header fields plus a hash of the canonicalized message body, identified by a signing domain and selector; verification establishes only what that signature covers. DMARC (RFC 9989) evaluates whether authenticated SPF or DKIM identifiers align with the visible RFC5322.From or Author Domain. Its p, sp and np values express the Domain Owner Assessment Policy - a message-handling preference that can inform the Mail Receiver's local decision when DMARC does not pass. Final handling remains receiver-local policy. RFC 8601 defines Authentication-Results for recording authentication status, but the field is reliable downstream only when a trusted authentication service within the receiver's administrative trust boundary, or an explicitly trusted upstream service, produced it. An externally supplied instance is not authoritative merely because the header exists.
| Mechanism | What it establishes | What it does not establish |
|---|---|---|
| SPF (RFC 7208) | Whether the sending host is authorized for the RFC5321 MAIL FROM identity, with HELO or EHLO evaluated separately where applicable | Whether the visible author or message content is safe, accurate or authorized to instruct a workflow |
| DKIM (RFC 6376) | That a signature for its signing-domain identifier validates over the selected canonicalized headers and canonicalized body hash | Any application-level authority for the content that was signed |
| DMARC (RFC 9989) | SPF or DKIM alignment with the RFC5322.From domain, plus a Domain Owner Assessment Policy and reporting | A binding receiver action, message legitimacy, content trustworthiness or AI instruction authority |
| Authentication-Results (RFC 8601) | A recorded statement from a trusted authentication service about evaluated results | That an untrusted instance is authoritative or that a pass is a content-trust decision |
Even a DMARC pass is neither an explicit nor an implicit assertion about the message's value, safety or the trustworthiness of its domain owner. It does not create AI instruction authority. RFC 9989, published in May 2026, is the current DMARC specification and obsoletes RFC 7489 and RFC 9091.
Four situations break the shortcut in practice. An authenticated domain can be compromised, so the identity is real and the intent is not. A domain can be operated by an attacker who registers it and configures authentication correctly, which is trivial. Sending can be legitimately delegated to third-party platforms, so an aligned domain identity may cover content the domain owner never reviewed. And most commonly, an entirely legitimate sender writes text that must remain data: a customer quoting a phrase, a vendor forwarding a notice, a colleague pasting a document excerpt. None of these are authentication failures. They are cases where authentication was never the question.
Internal domains deserve the same treatment. A message aligned to the organization's own domain may still contain quoted external text, a forwarded customer message or an attachment from outside. Alignment tells you which domain identity was used, not who authored the sentence the model is reading.
Trust Boundaries in Mail Workflows
Several components in a mail workflow are legitimately trusted infrastructure. That property belongs to the components, not to the content passing through them, and the boundary has to be drawn at that distinction.
Operated or contracted infrastructure. Reliable delivery and authenticated API access say nothing about the content delivered.
RFC5321 MAIL FROM, HELO or EHLO, RFC5322.From and DKIM signing domains remain separate evidence. Authentication-Results is trusted only when produced inside the receiver's trust model or by an explicitly trusted upstream service; none grants instruction authority.
External content by default, including text that re-enters context from earlier messages in the thread.
A second delivery surface with its own extraction path. Extraction by a trusted parser does not make the extracted text trusted.
Inputs to later policy decisions about fetching, replying or sending. Never destinations on the message's word alone.
System provenance the application itself produced. It describes the message; it is not evidence that the embedded external content is trustworthy.
As everywhere on the indirect path, four questions have to be answered separately for every mail-derived step. Source trust: who actually authored this span, and how do we know? Instruction authority: may this text direct behavior - for inbound mail content the answer is no. Data confidentiality: what model-visible data may this content influence, reference or cause to leave? Action authorization: what is the application permitted to do as a result, for this principal, on this resource, toward this destination? Collapsing any of these into "the sender is authenticated" is the specific failure this surface produces again and again.
Conversation Threads, Quoting and Provenance
Threading is what makes email different from a single fetched document. A thread is an accumulating, partly external, partly internal artifact that the workflow re-reads on every turn, and provenance decays through it unless the design actively preserves it.
Quoted history is the core mechanism. Text an external party wrote weeks ago is carried forward in every reply, and each carry-forward moves it further from its origin. By the tenth message, instruction-like content from an outside sender sits in the middle of a conversation that feels internal, adjacent to colleagues' text, with nothing in the representation marking where the boundary runs. A model reading the thread sees one continuous document. If the application also sees one continuous document, old external text has silently been promoted into trusted conversation state.
Forwarding blurs identity in a related way. A forwarded message arrives with a new, possibly internal, authenticated sender, while its body contains a different party's content. Envelope identity, visible author identity and the author of the quoted content are three separate facts, and a forward collapses them visually. Mailing lists, shared aliases, ticketing gateways and connectors add another layer: they may rewrite headers, add wrappers, prepend banners or restructure the body, so the representation the model reads is not the representation the original sender composed.
Derived artifacts are the second-order problem. When an assistant summarizes a thread and that summary is stored, shown in a later session or fed back into context, the summary usually arrives without the boundaries of its sources. Instruction-like content from an external quote can survive into a summary as if it were a conclusion the assistant reached. The summary now reads as system-generated and internal, and its origin is gone.
Practical provenance for mail workflows keeps a stable message identifier and thread identifier for every span, records thread position and direction (inbound external, inbound internal, outbound), distinguishes new body text from quoted history at extraction time, marks attachment-derived spans with their source and extractor, and records lineage for every derived summary so that a summary can be traced back to the exact messages and segments it came from. The invariant is the same one that governs the web delivery surface: transformation must not erase source identity.
High-Exposure Email Workflows
No workflow is inherently vulnerable. Exposure comes from the combination of reading external mail and holding a capability or data path that influenced output could reach. The following patterns are worth attention because they usually combine both.
Broad inbound reach from anonymous senders, combined with credentials that often act on behalf of a team rather than an individual. Attribution and scope are both weak.
Inbound mail is the product input, so hostile content is expected. Impact depends on whether the assistant can also write tickets, change status or reply outward.
High-value model-visible context and standing authority to act on someone else's behalf. The data class, not the message volume, is what raises severity here.
Reads everything by design. Low direct capability, but its summaries become derived artifacts that other workflows consume as if they were internal.
A write path into a shared system of record. Influenced writes persist, propagate to other users and are rarely reviewed after the fact.
Creates work items that other automations act on, turning a message into a chain of downstream effects.
Where the application ingests invitations, external descriptions become model-visible and accepting or scheduling is a state change with participants attached.
Decides who sees what. Influence here redirects information rather than exfiltrating it directly, which makes the impact easy to miss.
The useful review question for each is not "is this workflow risky" but "what can influenced output reach from here": which recipients, which records, which credentials, which network destinations, and which of those steps currently pass through a deterministic authorization decision rather than through the model's judgement.
Offensive Review Questions
An authorized mail assessment should follow the message from sender control to an observable effect without treating successful delivery or authentication as instruction authority. Each representation and action boundary is an independent success gate.
Which inbound addresses, aliases, shared mailboxes and automated workflows can the controlled message realistically reach?
Which sender fields, subject, body, quoted text, links, invitations and attachment-derived content can affect processing?
What do SPF, DKIM, DMARC and connector identity establish, and where is that evidence incorrectly treated as authority over the workflow?
Which content survives filtering, HTML or plain-text selection, thread reconstruction, quoting, attachment extraction and summarization?
How does external content compete with the user's task, internal replies, prior history and application instructions?
Can influence reach drafts, replies, sends, forwards, recipients, records or other downstream writes?
Is approval bound to the exact action, recipient, data and attachment set, and which deterministic policy blocks unauthorized changes?
Can logs distinguish delivery, selected representation, model influence, proposal, policy decision and actual side effect?
Worked Example: An AI Mail Assistant
A support engineer asks an assistant to review an inbound customer thread and organize the follow-up. The assistant can read the mailbox, draft replies, and - in this configuration - send and forward.
The engineer asks the assistant to summarize a customer thread, identify open questions and prepare a follow-up reply to the customer contact already on the thread.
Deep in the quoted history, a segment from an external participant is written as guidance addressed to an AI reader. It suggests that the assistant should also relay the collected account context to an additional address, presented as an internal escalation contact.
Reading the thread as one continuous document, the model produces a good summary and a reasonable draft, and adds one extra proposed step: forward the thread with the account context to the additional address. The quality of the rest of the output is exactly why influence is not obvious from the result.
The action layer evaluates the proposal independently: the justification traces to an untrusted quoted span, the recipient is not on the thread and not in the user's task, the payload includes customer account data, and the action is a forward rather than a reply.
The forward is denied. The reply draft, which stays within the task scope and the existing recipient set, is produced and presented for the engineer to review. No autonomous send occurs.
The system records the proposal, the policy decision, the recipient-set delta between task and proposal, and the exact source segment - message identifier, thread position, quoted-history flag - that influenced the plan.
Both halves of the lesson matter. The influence was real and measurable: an external segment changed the assistant's plan. The security impact was zero, because the design treated model output as a proposal and evaluated recipients, data class, action type and provenance deterministically. Had the same assistant been wired so that proposed sends execute directly, the identical message would have produced a customer-data disclosure with no failure anywhere in the mail stack.
Downstream Actions and Data Disclosure
"The assistant did something with the email" hides the distinctions that determine severity. Each of the following is a different action with different side effects, a different blast radius and its own authorization requirement.
| Action | Side effect | Why it needs its own decision |
|---|---|---|
| Draft | Content produced, nothing leaves the system | Low direct impact, but drafts become derived artifacts and can pre-stage a later send |
| Reply | Message leaves to the existing participants | Recipient set is inherited, so the real question is what content is included |
| Reply-all | Message reaches every thread participant | Widens disclosure to parties the user may not have considered, including external ones |
| Forward | Full thread and attachments reach a new destination | Changes both recipients and payload at once; the highest-leverage mail action |
| Recipient change | Destination set differs from the user's intent | A model-proposed recipient is an untrusted destination, not an authorization |
| Task or ticket creation | New work item triggers other automations | Creates downstream effects outside the mail system |
| CRM record update | Shared system of record changes persistently | Influenced writes persist and propagate to other users |
| Attachment inclusion | Files leave with the message | Payload class can differ entirely from the visible message text |
| Internal context in a reply | Model-visible internal data becomes external content | Disclosure without any obviously unauthorized action taking place |
| Link following from mail content | Outbound request to an attacker-chosen destination | Egress is a security boundary; destinations need validation, not trust |
Two of these are worth singling out. Copying model-visible internal context into an outbound reply is disclosure that looks like normal work; nothing unusual happened at the action layer, the payload was simply wrong. And link following turns a passive read into an outbound request, which means the mail workflow inherits the entire egress problem of the web surface, including redirects and destination validation.
Approval and Destination Binding
"Human in the loop" is not a control by itself. An approval that shows a summary and offers a confirm button teaches people to confirm, and it authorizes nothing specific. An approval is a security control only when it binds a decision to an exact, immutable description of what will happen.
What an approval record must bind
- The initiating principal: which user or service the action runs as, and on whose behalf.
- The source message and thread: the exact messages and segments that justified the proposal.
- The exact action: draft, reply, reply-all, forward, create, update - not a generic 'proceed'.
- The full recipient or destination set, shown explicitly, including additions the model proposed.
- The parameters and the attachment set that will actually be transmitted.
- The data class involved, so the approver can see that customer or internal data is in scope.
- The side effects: what changes outside the mailbox if this is approved.
Binding matters because of a time-of-check to time-of-use gap. If approval is granted against one description and execution reads a later, mutable state, the approval no longer covers the action. Any change to recipients, attachments, parameters, destination or action type after the approval invalidates it and must force re-evaluation, and in most designs a fresh approval. Practically this means the approved object is the authorization record: execution acts on the approved description, not on a plan the model can still revise.
Approval also has to be rationed to stay meaningful. Requiring confirmation for every draft destroys attention; requiring it for the steps that change recipients, cross a data class, leave the organization or write to a shared record preserves it. The rest should be handled by policy without a human in the path at all.
Detection and Telemetry
Detection on the mail path combines deterministic records of what the system did with probabilistic signals about content. The records prove what happened; the signals suggest where to look. Neither replaces the other.
- 01Message and thread identity
Stable message and thread identifiers on every model-visible span, with thread position and direction, so any proposal can be traced to its source segments.
- 02Separate identity fields
RFC5321 MAIL FROM, any separately evaluated HELO or EHLO identity, visible RFC5322.From or Author Domain, and DKIM signing-domain identifiers recorded separately, so alignment and mismatches remain reconstructable.
- 03Authentication evidence
SPF, DKIM and DMARC outcomes plus the Authentication-Results producer and trust-boundary status. Accept recorded results only from a trusted authentication service or explicitly trusted upstream, and never treat a pass as content trust.
- 04Parser and representation path
Which normalizer ran and which body representation entered context: plain text, processed HTML, quoted history, connector summary.
- 05Boundary flags
Quoted-history boundaries and attachment-derived-text markers carried alongside the spans they describe.
- 06Content signals
Rules and classifiers flagging instruction-like language in untrusted spans. Probabilistic prioritization only, never a permission decision.
- 07Proposal, decision, action
What the model proposed, what the policy layer allowed or denied, and what actually executed, correlated per task.
- 08Recipient and attachment deltas
Differences between the user's intent, the model's proposal and the executed action, for both recipients and attachments.
- 09Egress and write logs
Outbound sends, link fetches, and CRM, ticket or calendar writes with destination, payload class and the authorization record that permitted them.
Be honest about limits. Content classifiers produce false positives on legitimate mail that discusses AI behavior, quotes policies or forwards security notices, so their output must rank attention rather than block traffic. Authentication evidence proves identity facts, not content intent. Telemetry can prove which segment was in context when a proposal was made; it cannot prove causation inside the model. And proposal-versus-action correlation only exists if the architecture separates the two - if it does not, the absence of that telemetry is itself the finding.
Prevention and Secure Architecture
The goal is not a model that cannot be influenced by a message. It is an architecture in which no message, however persuasive, can by itself cause a send, a disclosure or a write.
- Inbound Mail
- Model
- Send / Update / Act
Message content flows into the model and model output flows into execution. The sender effectively co-authors the workflow's behavior.
- Inbound Mail
- Provenance-Preserving Parse
- Model Proposal
- Recipient / Data / Action Policy
- Authorization or Explicit Approval
- Send / Update or Deny
Message content informs the model, but every consequential step passes deterministic checks outside the model.
- 01Parse with provenance
Choose the body representation deliberately, mark quoted history and attachment-derived text, and attach stable message and span identifiers before anything reaches the model.
- 02Label untrusted content in context
Present inbound mail to the model as external untrusted content distinct from task instructions, and keep the label attached through summarization and planning.
- 03Minimize model-visible data
Do not place credentials, unrelated mailbox content or broad customer records beside inbound mail unless the task genuinely requires them.
- 04Remove ambient authority
No standing mailbox, CRM or calendar permissions for the agent. Capabilities should be task-scoped, short-lived and separately granted for read, draft and send.
- 05Separate proposal from execution
Let the model propose; let deterministic logic authorize principal, action, resource, recipients and destination.
- 06Bind approval to the exact action
Approve a specific immutable description, and re-evaluate whenever recipients, attachments, parameters or the action type change.
- 07Validate destinations and egress
Recipient sets, link targets and outbound endpoints come from policy, never from text found in a message.
- 08Preserve provenance through summaries
Derived summaries and thread memory carry lineage to their sources, so external content cannot be laundered into internal state.
The layers are complementary and none is sufficient alone. Labelling and classification reduce exposure but remain advisory and probabilistic. Authorization outside the model is the layer that turns an influenced plan into a non-event; every other layer exists to make that layer's job smaller and better observed. The Defense Hub organizes these controls by family.
Incident Response
Mail incidents have a specific evidence problem: mailboxes are mutable, automation keeps running, and derived summaries keep propagating while the investigation starts. Preserve first, then scope.
Mail-workflow incident checklist
- Preserve the original message with full headers, stable message and thread identifiers, and recorded authentication results.
- Capture the exact model-visible representation: which body form, which quoted segments, which attachment-derived text entered context.
- Identify affected threads, messages, users and shared mailboxes, including everyone whose workflow read the same content.
- Enumerate model proposals separately from executed actions for the affected period.
- List concrete downstream effects: sent mail, forwards, recipient changes, CRM and ticket writes, attachment disclosures, link fetches and other egress.
- Pause or freeze the relevant automation rules and agent capabilities instead of deleting messages or logs.
- Locate derived artifacts - thread summaries, agent memory, cached parsed content, drafts - and rebuild or quarantine them while preserving the originals as evidence.
- Rotate or revoke credentials and scoped capabilities only where the evidence shows they were exposed or misused.
- Determine whether impact was contained at the policy layer or reached an external side effect, and record which control held or failed.
The closing determination matters more than it sounds. "Influenced but contained" and "influenced and executed" call for different severities, different notifications and different fixes. Recording which specific control held keeps the remediation targeted at the gap instead of producing a general conclusion that the assistant is untrustworthy.
Controlled Testing
Test with synthetic messages in isolated mailboxes that belong to the test environment, never with production customer mail and never by sending probes to third parties. The point is to exercise the architecture, not to discover phrasings that work.
For a conceptual walk-through of the same trust decisions, the Email Prompt Injection lab uses fictional messages to separate connector and sender evidence from instruction authority.
Vary the dimensions the design actually depends on: body representation (plain text versus processed HTML), placement in new body versus quoted history, thread depth, attachment-derived text, authenticated versus unauthenticated source domains, internal versus external senders, forwarded versus directly received messages, and proposals that name destinations outside the task. Coverage across these dimensions is what produces useful findings; a single crafted message tests one path.
Report the results as separate metrics. A composite score averages away exactly the distinctions that determine severity.
| Metric | Question answered |
|---|---|
| Injection Influence Rate | How often does message content change model behavior or proposed plans? |
| Policy Bypass Rate | How often does influenced behavior pass the policy layer? |
| Unauthorized Action Rate | How often does an impermissible send, forward or write actually execute? |
| Data Disclosure Success Rate | How often does synthetic sensitive content reach an unauthorized recipient or destination? |
| Detection Recall | How much of the injected content did detection flag? |
| False-Positive Rate | How much legitimate mail was flagged? |
| Containment Rate | How often did influence end without disclosure, unauthorized action or unwanted egress? |
Read the combinations carefully. A high influence rate with a low unauthorized-action rate shows that action-level authorization and containment are holding - the control that limits impact is working. It does not describe a healthy or finished system: substantial model-integrity and workflow exposure remains, and every remaining control carries the full weight of it. The reverse combination, low measured influence with a meaningful unauthorized-action rate, is a serious exposure, because it means the few influences that occur are reaching effects unchecked.
Common Implementation Mistakes
Frequent mail-workflow design errors
- Treating an SPF, DKIM or DMARC pass as a reason to give message content instruction authority.
- Collapsing envelope identity, visible From and signing or authentication identities into a single sender field.
- Losing provenance when quoting, forwarding or summarizing, so external text becomes indistinguishable from internal conversation state.
- Treating thread history as trusted because it is 'already in the conversation'.
- Letting model-selected recipients or forward targets bypass destination policy.
- Giving draft generation and send the same permission path, so anything that can write can also transmit.
- Granting broad standing mailbox, CRM or tool credentials instead of task-scoped, short-lived capabilities.
- Presenting approvals that do not show and bind the exact recipients, attachments and parameters.
- Ingesting attachment-derived text without marking its source and extractor.
- Shipping no proposal-versus-action telemetry, leaving nothing to reconstruct when drift is reported.
- Deleting source messages or derived summaries during triage, before incident response can reconstruct the path.
Standards and Research Context
Reviewed classifications
- OWASP GenAI Security Project
- LLM01:2026 Prompt Injection
- NIST
- NIST AI 100-2e2025 terminology
- MITRE ATLAS
- AML.T0051.001 - LLM Prompt Injection: Indirect, as referenced by current OWASP guidance
- IETF (email authentication)
- RFC 7208 SPF, RFC 6376 DKIM, RFC 9989 DMARC, RFC 8601 Authentication-Results
OWASP LLM01:2026 names untrusted external content as a delivery path for indirect prompt injection, and NIST's terminology frames indirect injection as execution through control of a resource rather than through user input - which is precisely what an inbound mailbox is. Greshake et al. demonstrated the pattern in real LLM-integrated applications in 2023. Microsoft's guidance on defending against indirect prompt injection and on least privilege for AI agents addresses the capability side that determines whether influence becomes impact.
Research aimed at enforcement outside the model applies directly to mail workflows. CaMeL separates control and data flow and applies capability-based policies so untrusted content cannot redirect privileged actions - the send and forward paths are exactly such actions. AttriGuard asks whether a proposed tool invocation is causally attributable to user intent or to an untrusted observation, which maps cleanly onto the question of whether a proposed recipient came from the user's task or from a quoted segment.
The email authentication standards are listed because this page makes factual claims about what they specify, not because they are prompt-injection controls. SPF, DKIM, DMARC and Authentication-Results belong to a separate identity and authentication layer. They reduce spoofing and support filtering and reporting; they were never designed to decide whether text may direct an AI workflow, and treating them that way is the central mistake on this surface. No email standard addresses prompt injection specifically.
Frequently Asked Questions
Does a DMARC pass make an email safe for an AI agent?
No. DMARC (RFC 9989) evaluates SPF or DKIM alignment with the visible author domain. Its Domain Owner Assessment Policy can inform, but does not dictate, the Mail Receiver's local handling when DMARC does not pass. Even a pass is neither an explicit nor an implicit assertion about message value or safety and creates no AI instruction authority. An authenticated domain can be compromised, registered by an attacker, or used by a legitimate sender whose text must remain data rather than instructions.
Is an email from an internal domain trusted content?
The channel may be trusted; the content is a separate question. Internal messages routinely carry forwarded customer mail, quoted external threads and attachments from outside. Domain alignment tells you which identity was used, not who authored the sentence the model is reading.
Can quoted text cause indirect prompt injection?
Yes, and it is one of the most common paths on this surface. Quoted history carries external text forward into every reply. Unless extraction marks quoted segments and keeps their provenance, old external content sits inside what looks like an internal conversation and is read by the model as part of it.
Is drafting safer than sending?
Drafting has a smaller blast radius because nothing leaves the system, but it is not risk-free: drafts are derived artifacts, they can contain internal data, and they pre-stage a later send. The important property is that drafting and sending must not share a permission path, so the ability to compose never implies the ability to transmit.
Are attachments a separate prompt-injection surface?
Yes. Attachment-derived text reaches context through a different extraction path than the message body, with its own provenance and its own failure modes. It should be labelled with its source and extractor, and it should never inherit trust from the message that carried it or from the parser that extracted it.
Does human approval solve the problem?
Only if the approval binds the exact action. An approval that shows a summary and a confirm button authorizes nothing specific and trains people to click. An approval that binds principal, source, action type, full recipient set, attachments, parameters and data class - and that is invalidated when any of those change - is a real control.
If the assistant repeats instructions from an email, is the system compromised?
Not by itself. That is model influence, and it is a signal worth investigating. It becomes a security issue when a capability or data path exists and the application-side authorization is missing, overbroad or failing. Systems that treat model output as a proposal can show real influence and produce no impact at all.
References
- LLM01:2026 Prompt InjectionOWASP GenAI Security Project · GuidanceReviewed 2026-09-20
- Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations, NIST AI 100-2e2025NIST · Standard · 2025-03Reviewed 2026-09-20
- indirect prompt injectionNIST Glossary · Technical documentationReviewed 2026-09-20
- Defend against indirect prompt injection attacksMicrosoft Learn · GuidanceReviewed 2026-09-20
- Least privilege for AI agents with Microsoft Entra Agent IDMicrosoft Learn · GuidanceReviewed 2026-09-20
- Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt InjectionKai Greshake et al. · Research publication · 2023Reviewed 2026-09-20
- Defeating Prompt Injections by DesignEdoardo Debenedetti et al. · Research publication · 2025 preprint / SaTML 2026Reviewed 2026-09-20
- AttriGuard: Defeating Indirect Prompt Injection in LLM Agents via Causal Attribution of Tool InvocationsYu He et al. · Research publication · USENIX Security 2026Reviewed 2026-09-20
- RFC 7208: Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1IETF / RFC Editor · Standard · 2014-04Reviewed 2026-09-20
- RFC 6376: DomainKeys Identified Mail (DKIM) SignaturesIETF / RFC Editor · Standard · 2011-09Reviewed 2026-09-20
- RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance (DMARC)IETF / RFC Editor · Standard · 2026-05Reviewed 2026-09-20
- RFC 8601: Message Header Field for Indicating Message Authentication StatusIETF / RFC Editor · Standard · 2019-05Reviewed 2026-09-20