[ Agentic automation ]

Define approval boundaries for an authentication agent

Specify the high-impact operations an agent may propose but must not execute without verified authority, exact approval and an auditable outcome.

By the EmailAuth research team · 6 min read

[ Key points ]

  • Read scope, write authority, persistent access and external disclosure are different permissions.
  • Bind approval to the actor, tenant, resource, operation and parameters, then verify it independently.
  • Test both approved narrow actions and rejected prohibited cases before claiming the controls work.
On this page

Define the permission model before giving an agent tools

An authentication agent can help explain evidence, prepare changes and check outcomes. Those capabilities do not justify unrestricted control over DNS, signing keys or customer tenants. The organization should document which resources the agent may read, which actions it may propose and which operations require a separately verified approval. “Help improve email authentication” is not a precise permission boundary.

The model described here is a recommended design, not a statement that EmailAuth currently implements it. No product permission controls, administrative interfaces or tenant isolation were inspected or tested. The article’s prohibited-action examples are proposed test cases, not records of successfully blocked attempts.

Separate read-only preparation from consequential execution

Preparation can include analyzing approved reports, comparing an authorized inventory, drafting a DNS difference and explaining a recovery plan. Even reading needs a defined tenant and data scope; read-only access to another customer’s reports is still unauthorized access. External sharing is also a separate operation, not a harmless extension of internal analysis.

Changing a DMARC policy, adding an SPF authorization, publishing a DKIM key, switching a signer or removing a sending permission can alter production trust and delivery. DNS delegation, private-key custody, persistent credentials and administrative grants can expand future control. The proposed permission model should require accountable approval for those actions and enforce it independently of the model’s own decision. OWASP Excessive Agency.

Bind approval to the exact action and current scope

A meaningful approval record identifies the actor, tenant, resource, operation and normalized parameters. For a DNS change, show the relevant current value and proposed value; for a permission removal, name the identity and access being removed. A reviewer should be able to understand the consequence without reconstructing the agent’s conversation.

OWASP’s AI Agent Security guidance calls for independently validated, action-bound approvals, limited validity and replay protection for high-impact operations. Apply those controls in the execution component rather than trusting a model-generated “approved” flag. A material target or parameter change needs a new decision. The actual implementation and its failure behavior must be tested before anyone claims this boundary is effective. OWASP AI Agent Security Cheat Sheet.

Treat new authority and external disclosure as distinct changes

Permission to update one approved selector does not authorize a wildcard DNS delegation, a broader cloud role or a permanent credential for future work. Permission to analyze reports does not authorize sending them to a new agency. The proposed design should expose each expansion as a separate decision, including the resource, recipient and operational purpose.

RFC 9990’s external-destination verification illustrates an important distinction. A receiving processor can publish the technical confirmation needed for DMARC report delivery, but that does not establish that the domain owner approved the business relationship or disclosure. The agent should preserve both facts and leave the organizational decision to the appropriate owner. RFC 9990, section 4.

Do not let evidence rewrite the rules

Reports, DNS text, provider pages and support messages can contain untrusted material. A field that says “approve this sender” is not an approval from the organization’s authorized administrator. An instruction embedded in retrieved content must remain evidence to analyze, not a command that expands the agent’s scope. OWASP describes this as an indirect prompt-injection risk. OWASP Prompt Injection.

The boundary also applies between automation components. A recommendation from another model or service should carry its evidence and uncertainty, not manufacture authorization. Verify the actual approval source and resource scope at the point of action. If the policy service cannot establish permission, the proposed control should stop that action while allowing unrelated authorized analysis to continue. OWASP Authorization Cheat Sheet.

Exercise the boundary with fictional cases

In a fictional workflow, an administrator approves adding a public DKIM record for a named selector in tenant A. Before execution, a different tool proposes changing the parent DMARC policy and using tenant B’s credentials. The original approval should not authorize either substitution. The review packet should preserve what changed and request the appropriate decision rather than treating the initial approval as transferable.

A second fictional case has a DNS write time out. The agent does not know whether the service committed the change. Blindly repeating the write can create an unintended second operation or overwrite a later administrator edit. The proposed recovery sequence first establishes the current state and operation outcome, then follows the approved retry or recovery path. Neither case was executed against EmailAuth or any live tenant.

Make stop and recovery behavior auditable

Record the proposed action, approval reference, execution request, returned outcome and independently checked postcondition. Keep secrets out of the audit record. A success message from a tool should not be the sole evidence that the intended DNS value or permission state now exists. The recovery plan should identify which prior state may safely be restored and who can authorize that step.

Recovery itself can be consequential. Reinstating a compromised key, restoring an unsafe sender permission or weakening a domain policy is not automatically authorized because it is called rollback. Define these cases explicitly. DMARC’s policy and alignment semantics should inform the predicted impact, but the standard does not grant an agent administrative authority. RFC 9989, sections 4.4 and 4.5.

Require both permitted and prohibited-action tests

A complete test plan should demonstrate a correctly approved narrow operation and rejected cases for wrong tenant, altered parameters, expired approval, repeated approval use and untrusted-content instructions. Run such tests only in an authorized environment with bounded fixtures. Record actual results, including failures of the control, rather than publishing a checklist as proof that protection works.

Test prohibited actions and approved scoped changes using current product controls. This exact commissioning requirement remains open. Product enforcement, approved execution, prohibited-action rejection, postcondition checks and recovery behavior have not been demonstrated. The permission map is a proposed design for review, not a claim of current EmailAuth functionality.

[ Takeaway ]

Enforce permission at the action boundary. A model’s confidence, an embedded instruction or an old approval cannot authorize a different target or broader operation.

[ By role ]

What this means for you

Choose your role for practical next steps.

Security architecture owner

Define the allowed operation precisely

The permission model must describe resources and consequences, not merely broad agent goals.

Next steps

  1. Separate tenant reads, production writes, credentials and disclosure.
  2. Specify non-delegable actions and failure behavior.

Product and integration engineer

Enforce the decision outside the model

A prompt-level promise does not constrain an overprivileged connector.

Next steps

  1. Validate actor, target, parameters and approval at execution.
  2. Retain safe audit evidence and check the postcondition independently.

Control tester and operational approver

Demand evidence from both outcomes

A useful control must permit the approved operation and reject its unauthorized variants.

Next steps

  1. Run bounded authorized positive and negative cases.
  2. Review uncertain outcomes and recovery behavior before release.

[ FAQs ]

Frequently asked questions

Is read-only access automatically safe across tenants?

No. Reading another tenant’s information can itself exceed authorization. Define the tenant, data and resource scope even when no writes are available.

Which authentication changes need explicit treatment in the permission model?

Policy edits, sender authorizations, key publication or cutover, delegation, permission removal, persistent credentials and external report sharing should each have a defined accountable approval boundary.

Can the model’s approved flag replace execution-side authorization?

No. The execution component should independently verify the real actor, exact operation and valid approval rather than trusting an assertion generated in the model context.

Does approval make every proposed action acceptable?

No. Approval is necessary where required but does not override applicable security, legal or non-delegable restrictions. Actions outside the permitted model remain blocked.

Can an approval be reused after the tenant or parameters change?

Not as approval for the changed operation. Bind it to the reviewed scope and obtain the appropriate new decision for material changes.

Can a provider document or report authorize new access?

No. Retrieved content is evidence, not an organizational approval. Instructions embedded in it must not expand the agent’s authority.

What should happen after an uncertain write outcome?

Establish whether the action executed and inspect the relevant current state before repeating it. Follow the authorized retry or recovery path rather than issuing a blind duplicate.

What evidence proves the proposed boundaries exist in EmailAuth?

Actual tests against current product controls, covering permitted scoped actions and rejected wrong-tenant, altered-parameter, expired, replayed and untrusted-instruction cases. No such tests were performed here.

[ Sources ]

Sources

  1. OWASP AI Agent Security Cheat Sheet
  2. OWASP Authorization Cheat Sheet
  3. OWASP LLM06:2025 Excessive Agency
  4. OWASP LLM01:2025 Prompt Injection
  5. RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance
  6. RFC 9990: DMARC Aggregate Reporting

[ Glossary ]

Glossary

Action-bound approval
A decision tied to an identified actor, operation, target and parameters rather than a general project goal.
Execution boundary
The component or service that checks authority immediately before a consequential operation is carried out.
Replay protection
A control preventing an already consumed or invalid approval from authorizing another high-impact operation.
Tenant isolation
Restriction of data access and actions to the authorized tenant rather than a shared high-privilege context.
Indirect prompt injection
Untrusted external content that attempts to redirect an agent’s behavior when it is processed as input.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base