Governance queries are read-oriented and help teams inspect cost, security, and compliance posture. Policy execution is write-oriented and can change infrastructure behaviour. The two require different controls. Query access can be broader, but execution should be tightly restricted, approved where needed, and fully audited to prevent unintended operational changes.
Why This Matters for Security Teams
The difference between governance queries and policy execution is not just technical. It determines whether MCP is acting as an inspection layer or a control plane with the power to change cloud behaviour. Read-only queries can usually be exposed to broader analyst and engineering workflows, while execution paths must be treated as privileged operations with explicit approval, tight scoping, and full auditability. That distinction maps cleanly to the control emphasis in NIST Cybersecurity Framework 2.0.
Teams often blur these modes when they expose the same MCP endpoint to status checks, drift detection, remediation, and enforcement. That creates hidden privilege escalation risk, especially when a tool can move from “tell me the current posture” to “apply the fix” without a separate trust decision. NHIMG research on Top 10 NHI Issues repeatedly shows that weak identity boundaries, not just weak passwords, drive operational exposure. In practice, many security teams discover the blast radius only after an automated workflow has already changed production state rather than during design review.
How It Works in Practice
Governance queries should be designed as read-oriented interactions that retrieve state, compare it to policy, and return evidence. Typical examples include asking whether a storage bucket is public, whether a workload has encryption enabled, or whether a cloud account violates tagging standards. These requests can often be handled with broader access because they do not themselves alter infrastructure. Even so, they should still be authenticated, attributed to a workload identity, and logged with enough context to support review.
Policy execution is different. It is write-oriented and should be treated as a privileged workflow that can modify IAM bindings, security groups, secrets rotation, account settings, or infrastructure configuration. Current guidance suggests separating the MCP surface into distinct tools, scopes, or services so that a query permission cannot be reused for remediation. That separation should be paired with NIST SP 800-53 Rev 5 Security and Privacy Controls style authorization, step-up approval for high-risk actions, and immutable logging.
- Use read-only MCP tools for posture discovery, inventory, and evidence collection.
- Require separate authorization for execution tools that create, update, or delete resources.
- Bind execution to workload identity and short-lived credentials, not static operator tokens.
- Record the requested intent, the policy decision, the effective permissions, and the resulting change.
That model aligns with lifecycle discipline in NHIMG’s Ultimate Guide to NHIs — Lifecycle Processes for Managing NHIs, where access should be issued for a purpose and retired when that purpose ends. These controls tend to break down when the same agent can chain discovery and remediation inside one unconstrained session because intent and execution are no longer separable.
Common Variations and Edge Cases
Tighter execution controls often increase latency and operational overhead, requiring organisations to balance automation speed against the risk of unintended change. That tradeoff is real in multi-account cloud estates, where engineers want fast remediation and compliance teams want provable approval paths.
There is no universal standard for how much separation is enough, but best practice is evolving toward context-aware authorization for execution and broader inspection rights for queries. Some teams implement “dry run” or “plan” modes first, then require a second confirmation before applying changes. Others route execution through a policy engine or change-management service so MCP can request an action without directly holding the privilege to perform it.
Edge cases appear when governance data itself is sensitive. A query that exposes IAM trust relationships, secret locations, or incident-response posture may be read-only yet still high impact. Another common exception is delegated remediation in ephemeral environments, where automated rollback or cleanup may need very narrow execution rights. In those cases, the safer pattern is to keep the query and execution paths separate, but allow the execution path to be time-bound and explicitly scoped to one asset, one policy, or one ticket. For related cloud abuse patterns, NHIMG’s 230M AWS environment compromise shows how quickly broad control can become systemic exposure.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Separating tool access from execution limits agent misuse and privilege chaining. |
| CSA MAESTRO | G4 | Governance needs explicit controls over agent actions, not just visibility. |
| NIST AI RMF | Risk governance should classify query and execution risk differently at runtime. | |
| OWASP Non-Human Identity Top 10 | NHI-05 | Workload identity and secret handling are central to MCP execution safety. |
| NIST CSF 2.0 | PR.AC-4 | Least privilege and access enforcement map directly to read versus write separation. |
Apply least privilege so governance queries are readable broadly but execution requires narrowly scoped access.
Related resources from NHI Mgmt Group
- What is the difference between role-based access control and policy-based access control in access governance?
- What is the difference between attack surface management and NHI governance?
- What is the difference between role-based access and API key governance for NHI security?
- What is the difference between human IAM controls and NHI governance?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 27, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org