Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

Read-Only Run

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Architecture & Implementation

A read-only run is an execution mode where an agent can inspect data and produce outputs but cannot change state. It usually restricts write, delete, update, and approval actions, though the agent may still query systems or retrieve content, so access scope and data leakage controls still matter.

How Read-Only Run Works

A read-only run is still an execution mode, not a no-access mode. The agent can inspect systems, retrieve content, and generate outputs from what it sees, but it cannot write, delete, update, or approve state-changing actions. That distinction matters because read access can still expose sensitive data, inherited permissions, and unintended discovery paths.

Read-only does not automatically mean harmless. The same query paths that make observation useful can also reveal secrets, configuration details, business data, or operational metadata, so the scope of what the agent may inspect must be defined as carefully as the scope of what it may change.

Why Read-Only Run Matters

This mode is commonly used for analysis, reporting, validation, or pre-change inspection. It reduces the chance of accidental or unauthorized modification, but it does not remove the need for authorization, data handling discipline, or monitoring. A read-only agent can still surface information that should not leave its boundary, especially if it can traverse broad data sources or aggregate results from multiple systems.

The practical value of the mode is that it separates observation from action. That separation helps teams test workflows, inspect environments, and support decision-making without giving the agent the authority to alter records, trigger approvals, or commit configuration changes.

Access Scope and Data Exposure

The main security question is not only “can it write?” but “what can it see?” A read-only run should be constrained to the minimum data and systems needed for the task, because overly broad read permissions can still create confidentiality, privacy, and reconnaissance exposure.

That makes scoping and retrieval policy part of the control surface. If the agent can query sensitive datasets, enumerate objects, or pull detailed logs, then the run can become a source of leakage even when every mutation path is disabled.

Operational Boundaries and Control Design

Read-only mode works best when the boundary is enforced by the underlying system, not by the agent’s intent. Good design treats write prevention, approval prevention, and data-access restriction as separate controls, because disabling one does not automatically protect the others.

In practice, teams should treat read-only runs as a controlled observation channel with explicit limits on query depth, export behaviour, and downstream handling of retrieved material. If the mode is used for validation or debugging, the boundary should be clear enough that a failed control cannot silently become a modification path.

Risk and Threat Considerations

Even without write access, a read-only run can be used for reconnaissance, data harvesting, or sensitive-content exposure. The risk is highest when the agent can query broadly, correlate results across systems, or retrieve information that was never meant to be aggregated into one place.

Failure mechanism: Excessive read scope, weak query constraints, or inadequate output handling lets the agent expose credentials, confidential records, operational metadata, or other sensitive material even though mutation is blocked.

Impact: The organisation can still suffer leakage, privacy exposure, attack-path discovery, and follow-on compromise if exposed data helps an adversary or is retained outside the intended trust boundary.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-3 — Access EnforcementDefines limiting what a run may read, write, or approve based on policy.
AC-6 — Least PrivilegeLimits the agent to the minimum read scope needed for the task.
AU-6 — Audit Record Review, Analysis, and ReportingSupports review of what the agent inspected and whether sensitive data was accessed.
Recommendation — Enforce read-only permissions so the agent cannot perform state-changing actions. Restrict the run to the minimum data sources and permissions required. Review agent activity logs to detect unexpected data access or leakage.
NIST CSF 2.0PR.AA-01 — Identity and Access ManagementCovers governing access rights so observation-only workflows cannot exceed intended scope.
Recommendation — Define and enforce access scope for read-only execution paths.

Practitioner Guidance

What to watch for: A read-only run should be reviewed as a permissions and data-governance decision, not only as a safety setting. The key question is whether the agent’s inspection rights are narrow enough for the task and whether the outputs can be safely consumed, stored, or shared.

Practitioner note: If you cannot clearly explain what the agent may inspect and what it must never reveal, the run is too broad for a true read-only posture. The safest implementation is one where observation is tightly scoped and any sensitive retrieval is treated as a controlled event, not an incidental by-product.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org