A Hosted Agent is an AI agent that runs on infrastructure operated by a platform or service provider rather than inside the customer's own environment. Security depends on the identity and credentials it runs under, the tools and data it can reach, and how the provider separates it from other tenants. Defenders scope its permissions and log its actions.
What Hosted Agents Are and Why Their Operating Model Matters
A hosted agent is not just “an AI tool in the cloud”. It is an execution environment owned by a provider, which means the trust boundary shifts from the customer’s infrastructure to the provider’s tenancy model, runtime controls, and operational visibility. That matters because the agent’s authority is defined by where it runs, what it can reach, and how tightly its permissions are constrained.
This model is attractive because it reduces deployment burden and centralises updates, but it also concentrates control in a shared platform. A hosted agent can only be trusted to the extent that its provider can isolate tenants, prevent cross-environment access, and preserve clear separation between the agent’s actions and other workloads on the platform.
Identity, Permissions, and Tool Reach
The primary security question is not what the agent can say, but what it can do. The agent runs under an identity, often with credentials or delegated access that allow it to call tools, reach data sources, or trigger actions on behalf of a user or organisation. The security boundary therefore includes authentication, authorisation, and the lifecycle of whatever secret material the host uses to represent the agent.
That is why hosted-agent design must start with scoped permissions. The agent should only see the tools, APIs, documents, and systems required for its intended task. If those permissions are broader than the use case, compromise or misbehaviour can quickly become a data exposure or action-execution problem rather than a simple application bug.
Provider Isolation, Tenant Separation, and Shared Infrastructure
Because the provider operates the environment, tenant separation becomes a first-order control. A hosted agent should be isolated not only from other customers, but also from unrelated internal platform components and transient execution contexts that may share the same underlying infrastructure. This is especially important where agents execute code, retain context, or handle sensitive inputs.
Practically, that means the provider’s sandboxing, network boundaries, and logging model are part of the security story. Customers should treat platform claims about isolation as a control they need to understand and validate, not as a background assumption.
Operational Visibility and Accountability
Hosted agents create an accountability problem if their actions are not observable. Logging, audit trails, and action attribution are essential because the agent may make network calls, query records, modify tickets, or invoke other systems without a human directly present at each step. Without clear telemetry, it becomes difficult to reconstruct what the agent accessed or why a downstream action occurred.
Good observability also helps separate legitimate autonomy from unsafe behaviour. If an agent starts using unfamiliar tools, accessing unusual data, or repeating failed actions, those signals should be visible quickly enough for operators to intervene before the issue spreads.
Risk and Threat Considerations
Hosted agents concentrate trust, which makes permission mistakes, isolation failures, and secret exposure more consequential than they are in a local workflow. The main risk is that a provider-managed runtime can turn a single mis-scoped agent into a broad access path to data, tools, or downstream systems.
Failure mechanism: Overbroad credentials, weak tenant isolation, or poor logging can let an attacker or malfunctioning agent use the hosted environment as a durable pivot into connected services, while obscuring what happened.
Impact: The result can include unauthorised actions, data leakage, token abuse, lateral movement into integrated systems, and loss of confidence in the provider’s shared runtime.
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 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Hosted agents rely on delegated authority and scoped access. |
| Recommendation — Limit agent authority to task-scoped permissions and review every privileged action path. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Service Identification and Authentication | Hosted agents authenticate as services or workloads in provider-run environments. |
| AU-2 — Event Logging | Hosted agents need auditable action trails to support accountability and review. | |
| AC-6 — Least Privilege | Least privilege directly limits the damage a hosted agent can cause if misused or compromised. | |
| Recommendation — Use service authentication controls to bind the hosted agent to a controlled identity. Log agent actions, tool calls, and security-relevant events for investigation and traceability. Constrain hosted-agent permissions to the smallest set of actions and resources needed. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | A hosted agent often runs with non-human credentials that can be over-scoped. |
| Recommendation — Reduce hosted-agent privilege to the minimum required for each task. | ||
Practitioner Guidance
Why practitioners should care: A hosted agent should be treated like an outsourced execution surface, not a harmless interface layer. The practical decision is whether the provider’s control model, telemetry, and tenant boundaries are strong enough for the data and actions the agent will handle.
Common misunderstanding: Teams often assume that because the agent is “managed”, its permissions and data access are automatically safe. In reality, management shifts responsibility, it does not remove the need to review what authority the agent receives and how its actions are recorded.
Practitioner takeaway: Define the agent’s identity, scope its access narrowly, and require enough auditability that you can explain every material action after the fact.
Related resources from NHI Mgmt Group
- Guide: Azure OpenAI and Azure AI Foundry Security Guide
- AI Agent Authentication
- Who is accountable when a vendor-hosted CX agent leaks data or exposes accounts?
- When should teams choose a managed agent runtime over self-hosted orchestration?
- What is the difference between managed and self-hosted AI agent governance?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org