Join our Newsletter — 33% off our NHI Course

What should teams do when an AI agent operates from an untrusted device?

Treat the device as part of the authorization decision, not a separate hygiene check. If the endpoint is unmanaged, unhealthy, or unexpected, the agent’s valid identity should not be enough to permit sensitive action or cloud access. Device trust should narrow where the agent can operate, not replace action-level authorization.

Use device trust to narrow the agent’s blast radius

An untrusted device should change what the agent is allowed to do, even when the agent itself authenticates correctly. The practical rule is that device posture becomes part of the decision context, so a valid agent identity is not enough to unlock sensitive actions, privileged sessions, or broad cloud access.

That means teams should separate “who is acting” from “from where the action is being attempted.” If the endpoint is unmanaged, unhealthy, or unexpected, treat it as a reason to reduce privilege, shorten session scope, or require a stronger path before allowing the agent to continue.

For the authorization layer, this is the difference between trusting the actor and trusting the environment. A well-formed request from a poor endpoint can still be too risky for production changes, data access, secrets retrieval, or administrative operations.

What changes when the endpoint is not trusted

Untrusted-device handling should be explicit in the agent’s policy model, not left to ad hoc human judgement. The control objective is to make access conditional on both identity and device state, so the agent’s permissions can vary by workstation health, management status, location, or other trust signals that matter to the workload.

This is especially important for agent workflows that use cloud consoles, API credentials, browser sessions, or delegated tokens. If the device cannot be trusted, the safest outcome is usually not a full denial of service, but a smaller operating envelope with fewer tools, fewer write actions, and narrower data reach.

Teams should also expect edge cases. A device that is known to the user may still be unknown to the security plane, and a managed device may still be inappropriate for high-impact action if its posture is stale, compromised, or outside the normal operating pattern.

Design the response around step-up, containment, and recovery

The correct response is often progressive rather than binary. When device trust drops, the agent may be pushed into read-only mode, require step-up verification, or be redirected to a safer admin path instead of being fully blocked from all activity.

That containment approach works best when the policy is action-specific. The same agent might be allowed to read ticket metadata from an untrusted device, but not to rotate secrets, approve payments, deploy code, or alter cloud policy from that endpoint.

If the untrusted device is already in use, assume the session and any derived tokens may deserve closer scrutiny. The question is not only whether the device was unsafe, but whether the agent may have already been exposed to session theft, prompt leakage, copied secrets, or unintended operator influence while using it.

Risk and Threat Considerations

An untrusted device can turn a legitimate agent into a high-value access path. If teams let device posture sit outside the authorization decision, they create a gap where valid identity, cached sessions, or delegated tokens can still be used from an endpoint that should not be making sensitive requests.

Failure mechanism: The policy trusts the agent’s identity but not the trustworthiness of the endpoint, so the request is evaluated as if it came from a safer environment than it really did. That weakens containment and can let compromised, unmanaged, or unexpected devices reach actions they should not be able to perform.

Impact: Sensitive cloud access, administrative changes, secret exposure, and destructive actions become easier to reach through a compromised or poorly controlled device. In the worst case, the device becomes a path for unauthorized action even though the agent’s identity remains technically valid.

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 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 ASI03 — Identity & Privilege Abuse Device trust affects whether an agent should be allowed privileged actions.
Recommendation — Bind high-impact agent actions to verified context and restrict privilege when endpoint trust is weak.
NIST SP 800-53 Rev 5 IA-9 — Service Identification and Authentication Agent access depends on authenticating the service or workload and constraining its use context.
Recommendation — Authenticate agent workloads and require contextual checks before granting sensitive service access.
NIST Zero Trust (SP 800-207) Zero Trust Architecture Zero trust evaluates request and context continuously rather than trusting device or identity alone.
Recommendation — Continuously evaluate device and request context before allowing agent access to protected resources.
OWASP Non-Human Identity Top 10 NHI-04 — Insecure Authentication Untrusted devices can undermine how an agent authenticates and reuses sessions or tokens.
NHI-05 — Overprivileged NHI A valid agent identity should not keep broad privilege when the endpoint is untrusted.
Recommendation — Make device trust part of the authentication and authorization decision for agent sessions. Reduce agent privilege and action scope when the endpoint falls outside trust policy.

Practitioner Guidance

What to verify: Check that device trust is enforced at the action layer, not just during login. If the policy engine cannot distinguish a managed endpoint from an untrusted one at the moment of authorization, the control is too coarse for agent use.

Decision rule: If the device is unmanaged, unhealthy, or unexpected, reduce the agent’s operating scope before you decide whether to allow the action. Do not let “known identity” override a clearly weak endpoint for high-impact operations.

What good looks like: The agent can still function, but only inside a bounded set of low-risk actions, short-lived access paths, and verified contexts. The endpoint changes the level of trust, not the existence of any access at all.

Practitioner takeaway: For AI agents, device trust is not a hygiene check in the background, it is a live authorization input that should materially shrink what the agent can do when the endpoint itself is not trustworthy.