Shared machines collapse trust boundaries. A standard user on the same host may be able to interfere with agent communications, read or spoof command results, and turn a local session into credential theft. The risk rises when the agent assumes its sandbox is isolated, but the surrounding Windows host still allows cross-user access to predictable local channels.
Why This Matters for Security Teams
Shared developer machines are risky because AI agents do not behave like ordinary human users. They launch tools, cache credentials, and exchange results across local processes, which means a second user on the same host can interfere with the agent’s workflow even without obvious privilege escalation. That turns a convenience setup into a trust-boundary problem for secrets, sessions, and command integrity.
This is not a theoretical concern. NHIMG’s The State of Secrets in AppSec found that only 44% of developers follow security best practices for secrets management, which matters when agent sessions rely on short-lived tokens, cached outputs, and local developer tooling. The broader agent risk is now reflected in AI Agents: The New Attack Surface, where rogue or out-of-scope agent behaviour is already showing up in live deployments.
Security teams often assume the agent sandbox is the control point, but the host operating system still governs local IPC, user profiles, file access, and clipboard-style data flows. In practice, many security teams encounter agent compromise only after a shared workstation has already exposed a token, poisoned an action, or altered a result, rather than through intentional review of the host model.
How It Works in Practice
The risk comes from how agent workflows are stitched together on a local machine. An agent may authenticate to a model endpoint, read files, call internal APIs, write logs, and invoke developer tools in one continuous session. If that session lives on a shared host, another user may be able to inspect predictable local paths, read residual process data, or tamper with files and sockets that the agent trusts. For agentic systems, that is enough to shift from workflow automation into credential theft or command spoofing.
Current guidance suggests treating the host as part of the security boundary, not just the agent runtime. That means isolating users, using separate OS accounts, avoiding shared profiles, and preferring ephemeral sessions over persistent local state. For autonomous workloads, identity should be bound to the workload, not the person at the keyboard. Standards work such as the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10 both point toward runtime governance, but implementation still depends on practical host hardening.
- Use separate developer workstations or virtual desktops for agent-enabled tasks.
- Issue short-lived credentials per task and revoke them when the job ends.
- Store secrets in managed vaults, not in local shells, dotfiles, or shared caches.
- Bind agent actions to workload identity and explicit policy checks before each tool call.
- Assume local logs, temp files, and command history can be read by a co-resident user unless proven otherwise.
NHIMG’s OWASP Agentic Applications Top 10 and Analysis of Claude Code Security both reinforce the same operational point: agent control failures often start with local trust assumptions, not with the model itself. These controls tend to break down when multiple users share one Windows host with permissive local file, socket, or clipboard access because the agent cannot distinguish a benign coworker from an attacker.
Common Variations and Edge Cases
Tighter workstation isolation often increases friction for developers, requiring organisations to balance usability against containment. That tradeoff becomes sharper when teams want fast iteration, local debugging, and persistent tooling on the same machine.
There is no universal standard for this yet, but best practice is evolving toward least-trust developer environments for any AI agent that can execute code or access secrets. A hardened laptop is usually not enough if the agent shares a host with other users, remote support tools, browser profiles, or collaboration software that can observe session state. Shared jump boxes are especially problematic because they combine concentration of privilege with weak user separation.
Edge cases also matter. Remote IDEs, dev containers, and ephemeral VMs reduce exposure, but only if the underlying host, storage, and identity layers are also separated. If the agent relies on local caching, token reuse, or an always-on sidecar, then the shared machine reintroduces the same risk under a different name. The practical lesson is consistent with NIST Cybersecurity Framework 2.0: protect the asset path, not just the application surface. Shared machines are least defensible when the agent can reach production systems, because a single local compromise can cascade into real-world actions.
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 Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A1 | Shared hosts expand agent attack surface and local trust failures. |
| CSA MAESTRO | T1 | MAESTRO addresses agent threat modeling across execution environments. |
| NIST AI RMF | AI RMF covers governance for unpredictable autonomous behaviour and misuse. | |
| OWASP Non-Human Identity Top 10 | NHI-01 | Shared machines expose secrets and workload identities to local compromise. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Zero trust limits lateral movement from a shared developer host. |
Assign ownership for agent risk and monitor for host-level conditions that change system behaviour.
Related resources from NHI Mgmt Group
- Why do multi-hop AI agent workflows create more risk than single-agent automation?
- Why do broad API scopes create more risk for human and AI agent workflows?
- Why do AI-generated package choices create more supply chain risk than normal developer workflows?
- Why do AI agent accounts and connected identities create outsized privacy risk in social automation workflows?