What Makes a Cloud Dev Workspace Secure for Coding Agents?
Updated November 12, 2026 · first published October 17, 2026 · by the AQ team
A secure cloud dev workspace for a coding agent is one where four boundaries hold at once: isolation (the agent's blast radius is one disposable machine, not your laptop or your network), credential custody (secrets the task does not need never reach the machine the agent works on), network egress (the workspace can only talk to destinations someone chose on purpose), and an audit trail (you can reconstruct afterwards what the agent read, ran, and sent). As of October 2026, the major hosted options (Claude Code cloud sessions, OpenAI's Codex cloud, GitHub Copilot's coding agent, Cursor's cloud agents) all implement some version of all four; they differ in the defaults, in what each boundary covers, and in who holds the keys, and those differences are what to evaluate.
The cloud account needs a separate review: distinct identities and least privilege, secure workspace defaults, managed secrets, inbound and outbound controls, protected logs, recovery, data location and retention, and recurring configuration checks. The NCSC's cloud platform guidance, checked November 12, 2026, separates platform configuration from the services running on it, so apply that split to the cloud account and the agent workspace rather than treating a dedicated VM as proof of either.
AQ runs real agent CLIs in isolated git worktrees on dedicated team-controlled or AQ-managed machines, with persistent sessions, shared live workspaces, bots and routines, and per-user connected accounts. The sections below explain which security boundaries that does, and does not, establish.
Why coding agents need their own security model
A coding agent is a program that runs shell commands chosen by a language model, and the model chooses based on text it reads: your code, your issue tracker, a README in a dependency, a web page. Prompt injection is when some of that text was written by an attacker to steer the model. The failure chain is read hostile instructions, run a command, send something valuable out. Approval prompts guard the middle step; the workspace guards the rest: isolation decides what a bad command can destroy, custody decides what it can steal, and egress decides where it can send anything.
The vendors treat this as a live threat. GitHub ships Copilot's coding agent behind a default-on firewall and still warns, as of October 2026, that sophisticated attacks may bypass it; Anthropic's cloud session docs note that even with network access disabled, Claude Code still talks to the Anthropic API, which may allow data to exit the VM. Caveats like these define the remaining trust boundary. A security page without stated limits leaves those questions unanswered.
Isolation: one disposable machine per task
Isolation means the agent executes inside a boundary the operating system or hypervisor enforces, so the worst a bad command can do is wreck an environment you can throw away. The unit matters. As of October 2026: each Claude Code cloud session runs in an isolated, Anthropic-managed VM; each Codex cloud task runs in an isolated, OpenAI-managed container; each Cursor cloud agent runs in its own VM boundary on Firecracker-based microVM infrastructure; and Copilot's coding agent runs inside an ephemeral GitHub Actions environment. A VM boundary is stronger than a shared-kernel container, and both are stronger than an agent loose on your laptop; coding agent sandboxes explained walks the full spectrum.
Ask what happens to the environment afterwards, because "disposable" is a retention policy, not a feeling. Cursor, for example, documents that workspace snapshots are deleted after 30 days of inactivity. If a vendor cannot tell you when the machine and its disk cease to exist, that is your answer.
Credential custody: what never reaches the workspace
Credential custody means secrets live outside the environment the agent can read, and reach a task only in the narrowest form the task needs. Assume anything on the machine can end up in a prompt or an outbound request, because reading files and running commands is the agent's whole job. The strong patterns, all shipping as of October 2026: Claude Code's Anthropic-hosted cloud sessions keep GitHub credentials encrypted on Anthropic's servers, where they never enter the session's VM; git operations go through a proxy that attaches scoped credentials server side. Codex cloud exposes secrets only to setup scripts and removes them before the agent phase starts, so the model never runs alongside them. Cursor injects secrets as environment variables and can mark a value as a runtime secret kept out of the transcript, tool output, and commits.
Whatever the platform, scope the tokens themselves: a fine-grained GitHub token limited to one repository beats an account-wide classic token, and per-person credentials beat a shared bot account because revocation and blame stay individual. Safe AI coding agents on your own repos covers least-privilege setup; keeping secrets out of coding agent prompts covers the half custody cannot fix.
Network egress: default-deny, or at least a chosen allowlist
Egress control means the workspace can only open connections to destinations on a list someone chose, so stolen data has nowhere to go and injected instructions cannot phone home. This is where the shipped defaults differ most, as of October 2026. Codex cloud turns agent internet access off by default after setup scripts install dependencies, with wider access an explicit opt-in. Copilot's coding agent is firewalled by default with a recommended allowlist for dependency downloads plus custom allowlists; a blocked request adds a warning to the pull request showing the blocked address and the command that made it. Claude Code cloud sessions limit network access by default, and an environment can turn it off or restrict it to chosen domains. Cursor cloud agents start with internet access on, restrictable to allowlisted domains, and admins can lock that policy org-wide.
Read the scope line as carefully as the default: GitHub documents that Copilot's firewall applies to processes the agent starts through its Bash tool, not to MCP server processes, and Claude Code's local sandbox similarly proxies shell commands while other tools run outside it. A boundary that covers one tool is still useful, but only if you know which tool it covers. NAT alone supplies a route and a source address, not a destination allowlist.
Audit trail: can you reconstruct what the agent did?
An audit trail means that after the session you can answer, from records rather than memory, what the agent read, ran, changed, and sent. The hosted products keep the transcript and the diff as a matter of course, and some surface security events in the flow of work: Copilot's blocked-request warnings land on the pull request itself, turning the firewall into a visible log, and Claude Code can export usage and tool-activity events to a customer-run OpenTelemetry collector. The trail is what makes the other boundaries checkable: an egress allowlist you cannot see violations of is a policy, not a control. A trail does not undo anything; limiting what a coding agent can destroy covers containment and recovery.
Platform hardening below the workspace
The four boundaries describe what a task can reach. Platform hardening decides who can change those boundaries, how people reach the machine, whether patches arrive, and whether network evidence names a person. Evaluate this layer separately. A dedicated VM or an own-cloud deployment does not provide it automatically.
The NCSC platform checklist, mapped to agent workspaces
The NCSC guidance, checked November 12, 2026, covers both initial configuration and maintaining security as the platform changes. Its word "workspace" means a cloud account, project, subscription or tenancy, not necessarily one coding task's worktree. The checklist below applies its goals to an agent platform. It is an evaluation framework, not an NCSC certification or a claim that AQ meets it.
| Check | Cloud account and platform owner | Agent workspace and task evidence |
|---|---|---|
| Execution | Choose the VM, container or service separation, and restrict who can change images, host services and that boundary. | Name the unit per task and what it shares. Test agent access to host and container control APIs. A worktree separates files and branches, not processes. |
| Identity and administration | Use SSO and MFA for people, distinct service identities for workloads, groups with least privilege, and just-in-time administration. Alarm on emergency access and remove unused permissions. | Use attributable per-person and per-task credentials with only the required repository and service rights. A shared bot account hides who acted and makes standing administrator rights a larger failure. |
| Workspace separation | Separate projects or accounts with secure defaults from creation. Annotate data sensitivity, external exposure and external sharing, and enforce those labels with guardrails. | Keep task checkouts, runtime state and sharing scopes separate. An annotation helps review and automation; it does not itself block a connection or a grant. |
| Credentials | Prefer managed identities and a managed secret store, rotate secrets, alert on unusual access, and invalidate exposed versions. | Keep values outside agent reach or inject the narrowest short-lived grant. A hidden value still has permissions, so scope the upstream credential as well as the proxy rule. |
| Network | Control inbound and outbound traffic to the internet and between internal services. Protect administration paths with modern identity-aware access. | Enumerate destinations and test the agent CLI, shell, package manager, setup scripts and MCP processes. NAT and a tailnet route do not make an internet destination allowlist. |
| Logs and recovery | Aggregate protected activity logs with identity attribution and retention based on incident needs; NCSC recommends at least six months for the most important logs. Maintain provider incident contacts, account recovery and backups, and test restoration. | Record commands, decisions and blocked requests where the agent cannot alter them. Test session revocation, task deletion and restoration separately; a local transcript is not independent evidence. |
| Retention and location | Set required storage, processing and management locations, and delete data when it is no longer needed. | List disks, snapshots, transcripts, agent memory, logs and artifacts, with their regions and deletion periods. Ending a session does not prove its backups or derived data were erased. |
| Recurring review | Automate configuration checks, review the architecture and threat model, and assess new guardrails against existing resources as the platform changes. | Repeat the same probes after agent, image, network or policy changes. Record what was not observable as inconclusive rather than converting it into a pass. |
Write down the threat each check answers and the assumption that would defeat it. Prompt injection and a malicious dependency test execution, credential and egress boundaries; a stolen administrator credential tests privilege and recovery; a configuration mistake tests secure defaults and review. "The agent cannot read the token" still permits use of that token, "there is no public IP" still permits outbound connections, "logs exist" may mean the agent can edit them, and "backups exist" says nothing until a restore succeeds.
Choose persistence by what must survive
A persistent machine fits work that needs warm dependencies, a running development server, local application state or a session to resume. A disposable task VM or container fits bounded work that should leave little behind beyond a branch, pull request and retained evidence. Decide what persists, who can read it, who can change the boundary, and how deletion and restoration work before choosing either shape.
| Decision | Persistent machine | Disposable task VM or container |
|---|---|---|
| What persists | Home directories, clones, dependencies, credentials, agent context, databases, ports and development services may all survive. Inventory each one rather than assuming only the checkout persists. | The execution disk should disappear, while branches, pull requests, logs and deliberate agent memory may remain elsewhere. Their retention still needs a policy. |
| Boundary ownership | Ask who can change the image, network, attached disks, OS users and running services, and whether a task can change its own isolation. | Ask who can change the task image, runtime role, secret grants and network policy, and whether setup code receives broader access than the agent phase. |
| Expected failure | Old credentials, state and permissions accumulate, and one task may reach another task's processes or data. | Cleanup may leave snapshots, logs, credentials or external side effects behind, and a fresh environment may hide a recurring configuration fault until the next run. |
Persistence and isolation are separate choices. A persistent machine can run separate task environments, but the machine remains a shared boundary unless the platform proves otherwise. A disposable task environment reduces retained state, but it does not constrain an allowed request or undo an external action.
Current examples that change what you verify
These primary sources were checked on November 12, 2026. They illustrate specific checks, not a feature-parity comparison or an AQ integration.
- AWS AgentCore separates task execution, credential scope and prompt screening. The AWS walkthrough and sample repository describe one microVM session per task and an IAM role per repository. Its GitHub App installation list sets the credential blast radius: a token issued for one task can reach every repository where that app is installed. The sample screens the submitted prompt, not repository files or command output encountered later. Its NAT permits outbound HTTPS and its DNS firewall is a denylist, so the documented production recommendation is a domain allowlist, not an assumption that NAT already supplies one. AWS explicitly says the sample does not make untrusted code safe.
- DepthFirst shows what a persistent per-developer machine keeps. Its architecture write-up uses one private devbox per developer, a worktree and Compose project per task, and EBS-backed home, Docker and identity state across stops and image upgrades. Tailscale identity and device policy controls who reaches the box and previews, while separate Compose state limits task interference. Neither a private address nor a tailnet route establishes an outbound destination allowlist or separation between processes on the same devbox.
- Devvm makes enforcement and clone state explicit. Its network documentation describes per-project VMs, an allowlist tier by default, proxy decision logs and an
unenforcedstate when confinement is not active. Its safety guidance says the host-side proxy inserts credentials into requests while the VM holds placeholders, and an allowed request still has that credential's permissions. Clone mode keeps the original working tree and.gitout of the VM, but worktrees inside one VM still share its network rules, secrets and resources and can read or change one another's files. - Tailscale distinguishes private reachability from broader governance. DepthFirst's current deployment is the concrete access example above. Tailscale's TailscaleUp post previews Aperture changes, approved time-bound access and DNS-level controls, with details left for the event. Treat those as announced direction, not evidence that a particular workspace already has destination filtering, just-in-time administration or complete audit records.
- Infisical's Agent Vault shows both the value and limit of a secret proxy. The Infisical walkthrough, which labels Agent Vault as preview, describes host, method and path rules, time-bound sessions, revocation and request logs. The proxy holds the upstream credential and attaches it to an allowed request. That request still exercises the credential's permissions, and the response can contain data the agent is allowed to leak through another permitted path. The proxy CA private key and proxy token must stay outside agent reach. This is credential custody and request policy, not DLP or proof that response content cannot leak.
Google Cloud Workstations is a current own-cloud example with these decisions documented in Google's security best practices, checked on November 8, 2026. Its default IAM configuration limits a workstation to one developer, with a distinct underlying VM per developer. Its editors and applications run in a privileged container with root access. Google notes that a container escape still lands inside that VM, so the VM boundary limits the escape rather than making the container harmless. IAM and network restrictions still decide what the process can reach next.
- Identity and gateway access. Google can disable direct SSH to the workstation VM so access goes through the Cloud Workstations gateway, where IAM applies. This closes an access path that could otherwise bypass the gateway's identity checks. It does not constrain what an authorized person or agent can do after login.
- Administration and key separation. Google recommends limiting non-admin modification of workstation configurations, container images, and the underlying Compute Engine resources. That reduces the chance that a developer or compromised session can rewrite its own isolation boundary. Google also recommends keeping Cloud KMS resources in a separate project and separating key administration from key use, so one person cannot complete a malicious action with both privileges. Neither control protects data or credentials already available inside the workspace.
- Base-image patching and custom-image maintenance. When Google updates a Cloud Workstations base image with security patches and fixes, a workstation picks up the updated image after shutdown and restart;
runningTimeouthelps ensure that shutdown happens. For custom images, Google recommends scanning added dependencies and scheduling regular rebuilds. These controls reduce exposure to known vulnerabilities, but a new image does not prove that a running workstation restarted, and scanning does not patch a package by itself. - Auditable egress and sensitive-resource boundaries. Secure Web Proxy can allow or deny traffic by source, identity, destination, and request type, and write transaction logs. Optional TLS inspection lets policy examine intercepted encrypted traffic, which has privacy and organizational-policy implications and needs an explicit decision. Only processes that actually use the proxy receive those controls. VPC Service Controls can limit access to sensitive resources inside a service perimeter; it is not a general internet allowlist.
- Network evidence. VPC Flow Logs on the workstation subnet add records of network flows. They help investigate connections but do not identify the command, process, prompt, or file behind a connection.
- Threat detection and attribution. Google Cloud's Virtual Machine Threat Detection can flag cryptocurrency mining, kernel-mode rootkits, and malware on the dedicated workstation VM. Detection is not prevention. For a proxy log entry, Google documents using the VM IP address and workstation platform logs to find the workstation; VM labels identify the current assignment, while platform logs help with historical assignments. Default one-developer IAM then connects the workstation to a person. That chain depends on retained logs, accurate timestamps, and individual rather than shared access.
Public app links are an authorization and discovery boundary
Claroc's Grok Build research, checked November 12, 2026, reports that in its own paid account the publish flow proposed Anyone with the link after the builder chose Publish. Claroc tried 43,551 Grok app addresses; it reports that 37,571 remained online and 35,578 of those (94.7%) opened without sign-in. It reports finding confidential internal and personal material, and says the vendor removed its own staff's exposed apps after the report. These are Claroc's findings; AQ did not reproduce the research or test the vendor's current configuration.
Claroc says app-identifying phrases appeared in subdomains, so ordinary DNS lookups could expose them through passive DNS rather than only to someone given the link. On its own team app, Claroc reports that Continue with Google allowed an unrelated Google account to read, edit and delete records because the generated code added the signed-in user to the team before checking membership. That is a tested app configuration, not evidence that every Grok Build app or account behaves the same way. Grok Build app publishing is also distinct from the Grok Bot sandboxes discussed below and from Cursor Cloud Agents.
The security lesson applies beyond one vendor. An unguessable URL is a locator, not authorization. A secret placed in a subdomain can leak through passive DNS, and app-identifying text can disclose the app's purpose. Login proves an identity; it does not prove that the identity may read or change a particular tenant, object or action. A public publish default can expose generated files, client bundles, source maps, API responses and connected data. Unpublishing stops future access to the origin; it does not erase copies, caches or datasets already collected.
Threat model, boundary and failure modes
- Threat model: an unintended visitor discovers or receives a link, signs in with an unrelated identity, changes object identifiers, calls an API directly, or keeps content collected before revocation. A former owner or member may retain access after a role change.
- Boundary: include the hostname and DNS resolver, hosting and identity configuration, generated client and server code, every object and API route, connected databases and third-party credentials, caches and copies, and the ownership lifecycle. A workspace or login page is only one part of it.
- Assumptions to test: link secrecy stands in for permission; a private-looking UI protects direct routes; one login establishes tenant membership; a generated secret stays server-side; unpublishing revokes every session and deletes collected copies. Treat each as unproven until denied tests and retained evidence say otherwise.
- Failure modes: link discovery through passive DNS, logs, analytics, referrers or link scanners; public sharing; missing tenant or object authorization; secrets in generated bundles or responses; cached or copied data surviving revocation; stale invitations, API keys and publish rights after owner or offboarding changes.
Check publishing and access on your own test app
These are reader procedures for your own disposable app and test identities, not tests AQ ran. Get the owner's authorization, use synthetic records only, never probe apps or data belonging to others, and record the build, configuration, time and evidence. For the broader decision between a review preview and a production internal app, use the preview-versus-published-app checklist.
- Inspect the default before the first build. Review the publish and sharing flow and record who can open the result at each step. If the flow needs a generated app, use a synthetic one and stop before the final publish action. Do not let an unnoticed public selection become the effective policy.
- Open the app signed out and with an unrelated test identity. Test the page, direct object URLs and API routes in both states. A sign-in screen or a 401 on the page alone does not establish that the data routes enforce the same boundary.
- Test read, edit and delete separately. Cover every object type and API route with permitted and denied identities, including changed tenant and object identifiers. Attempt each action directly rather than inferring denial from a hidden button or disabled form.
- Check hostname disclosure. Look for app-identifying strings in hostnames and search your organization's authorized passive-DNS data for the relevant builder domains. Keep secrets, customer names and internal project names out of hostnames. A hostname that reaches passive DNS is discoverable even when it is hard to guess.
- Inspect generated files and connected-data scope. Use synthetic records to review HTML, JavaScript, source maps, configuration and API responses for credentials or private values. List the databases and third-party services the app can reach, the permissions of each credential, and the data returned to the browser.
- Preserve evidence before changing exposure. Record the public URL, sharing settings, timestamp, source version, signed-out and cross-identity results, and connected-data scope. Keep any captured sensitive material restricted to the incident reviewers who need it.
- Revoke or unpublish, then retest. Repeat the signed-out and unrelated-identity checks after the documented revocation window, including old sessions and API keys. Continued origin access is a failure; inaccessible origin content says nothing about copies already collected.
- Rotate uncertain credentials and test ownership changes. Rotate any credential whose storage or exposure location is uncertain. Remove former owner and member access, transfer repository, hosting, data and publish ownership, then retest sharing, sessions, API keys and connected-data permissions.
Current case: Profero's Grok Bot sandbox findings
Profero's report, checked November 11, 2026, gives the four-boundary model a concrete set of tests. Profero reports research across two months and more than 240 sandbox builds. Its findings concern the Grok Bot sandbox design it tested; AQ did not independently reproduce them. The report's canonical HN discussion is context, not separate evidence.
- Execution isolation: Profero says one agent command could reach an unauthenticated Docker control API and cross from the sandbox to the account VM. A sandbox label or account-dedicated VM does not establish that agent-run code is isolated from host services.
- Isolation between agents on one account: Profero says agents shared one Linux user, filesystem and credential set. xAI's own Grok Bot docs, checked November 11, separately say the account's Bots share files, browser sessions and app logins, with no individual-Bot security boundary. One account failure can therefore have an account-wide blast radius.
- Service authentication: Profero says a static exec-service credential plus the per-account routing token enabled remote command execution. Check every execution and control service, not only the human login page.
- Credential custody: Profero says credentials on the VM and sandbox disk could be used by agent-reachable code and services. A runtime secret hidden from the transcript is not necessarily hidden from code running on the machine.
- Management-link encryption: Profero says management traffic crossed the proxy-to-sandbox link in plaintext, exposing live tokens to a process with sufficient VM access. TLS on the public hop alone does not prove encryption on every internal hop.
- Persistent-storage revocation: Profero says a long-lived on-disk credential continued to reach persistent storage after sandbox deletion and after rotation. Deleting a sandbox and revoking a session each need a separate access test.
- Browser-cookie handling: Profero says imported browser cookies were stored in plaintext and the browser's debugging interface lacked authentication. Never use personal or production sessions for the evaluation checks below.
- Independent telemetry: Profero says there was no independent audit daemon or login record for the paths it tested, and local evidence was writable. An agent-controlled log is not an independent record.
Profero says it reported the issues to xAI and Cursor on August 24 and received no substantive acknowledgment before publication, apart from an automated bug-bounty reply. That is Profero's account, not independent proof that no response exists. No CVE or vendor fix is established by the report. xAI's Grok Bot docs and Cursor's security and changelog pages checked November 11 did not establish the status of these specific findings; check current vendor notices before acting.
This case does not overwrite the separate Cursor Cloud Agents row below. Cursor's Cloud Agents documentation, checked November 11, describes isolated VMs and its own environment and network controls. Profero's Grok Bot sandbox findings are not proof that every Cursor Cloud Agent or every customer has the same design or exposure. Do not generalize them to all hosted agents, and do not infer that AQ is immune to the same classes of failure.
The shipped defaults at a glance (October 2026)
| Product | Isolation unit | Agent-phase network default | Credential handling |
|---|---|---|---|
| Claude Code cloud sessions | Isolated Anthropic-managed VM per session | Limited by default; can be disabled or set to chosen domains | Git credentials stay on Anthropic's servers; a proxy attaches scoped credentials outside the VM |
| Codex cloud | Isolated OpenAI-managed container per task | Off by default; limited or full access is opt-in | Secrets available to setup scripts only, removed before the agent phase |
| GitHub Copilot coding agent | Ephemeral GitHub Actions environment | Firewall on by default with a recommended allowlist | Repository secrets via Actions; firewall covers Bash-started processes only |
| Cursor cloud agents | Own VM boundary on Firecracker microVMs | On by default; restrictable to allowlisted domains, lockable org-wide | Encrypted secrets; runtime secrets hidden from transcript and commits |
Every row was verified on the vendor's own documentation in October 2026; defaults move, so re-check before relying on them.
The questions to ask any vendor (November 2026)
- Isolation: What is the unit, a VM or a container, and is anything shared between customers or tasks?
- Isolation: When does the environment and its disk get destroyed, and is that documented with a number?
- Custody: Which credentials ever exist inside the workspace, and which are attached outside it (proxy-side git auth, setup-only secrets)?
- Custody: Can I scope access per person and per repository, and revoke one person without rotating a shared key?
- Egress: Is agent-phase network access off or allowlisted by default, and can an admin lock the policy?
- Egress: Which processes does the network control cover, and which (MCP servers, setup scripts, the model API channel) bypass it?
- Audit: Where do I see what the agent ran and what was blocked, and can I export that trail to my own systems?
- Audit: Who on my team can see a session while it runs, and who decides that?
- Identity: Can direct SSH be disabled so access uses a gateway with IAM, and does the default assign one developer to each workstation?
- Administration: Who can modify workstation configurations, images, and underlying VMs? Can key administrators be separated from key users?
- Images: How do base-image patches reach a running workstation, and are custom packages scanned and rebuilt on a schedule?
- Network evidence: Are proxy transaction logs and VPC Flow Logs enabled, and can I correlate a blocked request to a workstation and a person?
- Detection: What detects malware or rootkits on the VM, and what evidence connects a finding to a current or historical workstation assignment?
- Residency: Whose cloud account does execution happen in, and can it be mine? (If that boundary is the requirement, self-hosted AI coding agents compares the routes.)
- Honesty: Does the security page state its own limits?
Reproducible evaluation checks
These are examples for your team to adapt, not tests we ran for this guide. Use a disposable Google Cloud test project, a test workstation configuration, two non-sensitive test endpoints, and no production credentials or data. Record the project, configuration, image, proxy policy, time, and observed result. Do not run the configuration update against production.
Exercise the platform checks on a disposable project
These are reader procedures, never tests AQ ran. Use a disposable cloud project and repository, two test people, separate test workload identities, a dummy API, and fake credentials with no privileges outside that project. The dummy API should record the credential label, method, path, response and timestamp without recording a real secret. Keep one independent log store that the agent cannot edit. Record the image, policy, actor, time and evidence for every check.
- Verify identity and permission boundaries. Give the two test people different roles and each test workload a distinct fake service identity. As each identity, attempt one documented allowed read and one denied administration or cross-workspace read through normal interfaces. Expected evidence: allowed reads work, denied actions fail, and protected logs name the actual person or service identity. Failure modes: a shared identity, standing administrator access or an allowed cross-boundary read fails the check. Inconclusive: missing identity fields or an interface you cannot inspect proves nothing about the underlying authorization.
- Test secret-proxy allowed requests and upstream permissions. Configure the proxy with a fake upstream credential that can read one dummy resource but cannot write it. Give the agent only a placeholder and a scoped proxy session. Request the allowed read, a disallowed host, a disallowed method, and a write the upstream credential cannot perform. Inspect the environment and ordinary diagnostic output for the fake value, and confirm that the proxy token and CA private key are not agent-readable. Expected evidence: the read succeeds without exposing the value, proxy rules refuse out-of-scope requests, and the upstream rejects the write; proxy and upstream logs agree. Failure modes: exposed values, a proxied out-of-scope request or excessive upstream permission fails. A readable sensitive response also demonstrates why the proxy is not DLP. Inconclusive: no proxy or upstream visibility means you cannot tell where a request was refused.
- Measure network process coverage. Run allowed and blocked requests through the real agent CLI, shell, package manager, git client, setup path and each MCP server. Repeat with proxy variables removed where the platform permits it. Expected evidence: every allowed request has a matching decision record and every blocked destination fails without a direct route. Failure modes: any uncovered process, direct route or missing log is a boundary gap; NAT or a tailnet connection does not change that result. Inconclusive: if you cannot identify which process made a connection, you have not established coverage.
- Test restoration, revocation and log integrity. Create marker data and a configuration backup, revoke the fake session, delete the task environment, then restore into a fresh environment from the documented recovery path. From a separate tester-owned client, retry the old credential and inspect the protected activity log. Review permissions rather than trying to delete evidence. Expected evidence: the restored marker and configuration are complete, old access stays refused after the documented revocation window, and the independent log retains actor, action and outcome. Failure modes: continued access, incomplete restoration or agent-editable security logs fails the relevant control. Inconclusive: an unfinished retention or deletion window is not a pass, and one restore does not prove every backup is complete.
- Check configuration drift and review. Export the approved identity, network, secret, retention and annotation settings before and after a platform or agent-image update. Compare them with the intended baseline and repeat one denied request and one restore. Expected evidence: a reviewer sees every changed setting and the same checks still produce their expected records. Failure modes: unreviewed drift, an existing workspace missing a new default or changed enforcement fails the review. Inconclusive: a settings export without actual request and restore evidence shows configuration, not behavior.
Disable and verify direct SSH
Apply Google's documented update to the test configuration only:
gcloud workstations configs update CONFIG \
--cluster=CLUSTER \
--region=REGION \
--project=TEST_PROJECT \
--disable-ssh-to-vm
Read back the setting with a describe command:
gcloud workstations configs describe CONFIG \
--cluster=CLUSTER \
--region=REGION \
--project=TEST_PROJECT \
--format="value(host.gceInstance.disableSsh)"
The expected value is True. Start a fresh test workstation from that configuration, confirm that the authorized developer can use the gateway, and verify that the former direct SSH path no longer works. Also test a user who should have no gateway access. A failed connection alone does not prove which control refused it, so keep the configuration output and error with the result.
Test approved and blocked destinations from inside the workspace
Configure the test workstation to use your test Secure Web Proxy, then set ALLOWED_TEST_URL and BLOCKED_TEST_URL to non-sensitive HTTPS endpoints you control. Run:
curl -I --max-time 15 "$ALLOWED_TEST_URL"
curl -I --max-time 15 "$BLOCKED_TEST_URL"
The approved request should reach your endpoint; the blocked request should receive the proxy's denial. Then check whether the same blocked destination can bypass the proxy variables:
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY \
-u http_proxy -u https_proxy -u all_proxy \
curl -I --max-time 15 "$BLOCKED_TEST_URL"
If that request succeeds, the test found a route around the intended control. NAT alone does not change that result into an allowlist. Repeat the pair with the actual package manager, git client, agent CLI, and any MCP server you plan to use. Inspect each process's proxy configuration and the proxy transaction logs to confirm which processes really use the proxy. Setting an environment variable for one shell proves nothing about another process.
Trace a blocked request to a workstation and a person
In the Secure Web Proxy transaction log, record the denied request's VM IP address and timestamp. Use workstation platform logs to correlate that address with the workstation at that time, then use the workstation's IAM assignment to identify its developer. VM labels can help with the current assignment; platform logs supply the historical mapping. Record destination, decision, source IP, timestamp, workstation, person, and process. If the process is missing, add endpoint or application evidence rather than pretending a VPC flow record contains it.
Verify patch and rebuild behavior
Record the base-image version and workstation state, allow runningTimeout to stop the test workstation, restart it, and confirm that the intended image update applied. For a custom image, inspect the vulnerability scan and the next scheduled rebuild, then verify which image the restarted workstation actually runs. VM Threat Detection findings should likewise name the VM and link to the workstation assignment rather than remaining an unattributed alert.
Check Grok Bot or a similar agent sandbox without exploiting it
These are evaluation procedures for your own disposable test account, not tests AQ ran. Use two test agents, unique fake credentials with no privileges outside the test account, a dummy website and test storage containing only marker data. Get the account owner's authorization, record the build or image, region, configuration and timestamps, and keep independent logs. Use normal read-only requests and vendor-supported administration only. Do not create privileged workloads, mount host disks, bypass authentication, attach to another session, intercept production traffic or retrieve real credentials. An invisible control is an inconclusive result, not a pass, and one passing build does not prove fleet-wide safety.
- Inventory services and authentication. From vendor documentation and ordinary account and session views, list execution, container-control, supervisor, storage, browser-debugging and management services. Verify that each requires a unique, scoped credential for the sandbox and that no credential is shared across accounts; never print or copy a value. Expected: every service authenticates and authorizes its caller. Failure modes: a shared or static credential fails the check; an incomplete service inventory makes it inconclusive. Does not prove: undocumented services are authenticated.
- Check host and container control APIs. From a normal agent session, make only a harmless read-only status or version request to each documented host or container control interface the agent can discover, without credentials or with its own fake credential. Do not issue a state-changing request. Expected: the interface is unreachable or rejects the caller, and an independent log records the attempt. Failure modes: an unauthenticated response is a boundary failure; a network refusal alone does not establish authentication. Does not prove: other interfaces or operations are safe.
- Confirm per-agent OS, file and credential boundaries. Give two agents different fake environment credentials and marker files. Through ordinary identity, environment and assigned-file views, check whether either agent can see the other's identity, files or values. Do not escalate privileges or read outside assigned directories. Expected: distinct OS identities and no cross-agent visibility. Failure modes: a shared home, credential set or Linux user is a failure; different display names are not evidence of separation. Does not prove: kernel, hypervisor or control-plane isolation.
- Test session revocation and sandbox deletion against storage. Create a marker object with a fake storage credential, then revoke the test session and delete the sandbox through supported controls. From a separate tester-owned client, verify that the old fake credential can no longer read or write the marker or obtain new access, and that a fresh sandbox does not contain deleted test data. Do not use real storage or plant persistence. Expected: old access fails and stays failed. Failure modes: asynchronous deletion requires recording and retesting after the documented window; continued access is a failure. Does not prove: backups are erased or other credentials are revoked.
- Inspect imported browser-session handling. Import cookies only for the dummy website. Through ordinary session and file inspection, check whether full cookie values appear in plaintext agent-readable files and whether browser debugging requires authentication and is restricted to its intended boundary. Expected: protected cookie storage and authenticated or absent remote debugging. Do not attach a debugger or replay a cookie. Failure modes: plaintext values or unauthenticated debugging fail; unavailable storage or browser details make the result inconclusive. Does not prove: protection from a malicious extension, the vendor or a compromised browser.
- Verify management-link encryption. Use vendor documentation and telemetry on infrastructure you own to trace the management path end to end, including the proxy-to-sandbox hop, and require TLS on every hop. Rotate a fake credential through the normal administration flow and confirm that plaintext values do not appear in logs or captures. Do not intercept production traffic. Expected: authenticated encryption throughout and no exposed fake credential. Failure modes: any plaintext hop fails; no internal visibility is inconclusive, not proof of encryption. Does not prove: correct peer authentication or endpoint authorization.
- Verify independent telemetry. Generate known benign actions and check that timestamped records reach a log store the agent cannot edit, with actor, build, source, action and outcome. Review the agent's assigned permissions rather than deleting or altering logs. Expected: the external copy remains complete when local session state changes. Failure modes: local-only records are an independence gap; delivery delays require waiting for the documented window. Does not prove: every action is captured, detected or answered.
Where AQ fits
AQ runs real agent CLIs in isolated git worktrees on dedicated team-controlled or AQ-managed machines, with persistent sessions, shared live workspaces, bots and routines, and per-user connected accounts.
Against the four properties, AQ's answers are structural. Isolation and residency: there is no shared multi-tenant execution tier; agents run on a VM dedicated to one team, either machines you connect from your own cloud or a dedicated always-on AQ-managed VM in its own isolated network, and every workspace gets its own isolated git worktree so parallel tasks cannot touch each other's checkouts. Custody: each engineer logs into the agent CLIs with their own Claude or OpenAI account, and commits and pull requests use per-user GitHub auth, so revoking one person means revoking one person's credentials. Audit: agents run as real CLIs in persistent sessions streamed live to the browser, teammates can open the same workspace and watch the same live session, and terminal control requires the owner's approval. Workspace visibility is owner-managed, team-visible or private and shared with specific people. Runner health shows in the product, the installer runs preflight checks, and an aq-runner doctor command diagnoses a broken host. See AQ security and isolation and the workspace lifecycle documentation.
The worktree boundary is narrower than the machine boundary. A git worktree isolates checkout files and the branch, not processes, credentials, or network access. Workspaces on the same VM still share that host's process and network environment, subject to the machine's operating-system and cloud controls.
Preview and guest access is a separate sharing surface. On AQ Pro, preview and guest links can make a development preview reachable to others, including viewers without an AQ account. Test each link signed out and with an unrelated test identity against your real access expectations, and use no sensitive data. A private workspace does not by itself prove that its preview is private. AQ previews are development servers, not production hosting or managed app publishing, and AQ does not provide a publish security gate, SSO, managed Postgres or admin publish approval for them. AQ also does not provide link scanning, passive-DNS monitoring or protection from public-link discovery. Apply the publish and object-level checks above to the app and every connected route.
AQ's egress answer follows from its execution model: a shell has whatever network position its machine has. Current public AQ docs do not establish a built-in per-workspace default-deny egress allowlist, DLP, TLS inspection, VPC Service Controls, image scanning, VM threat detection, a Google-style managed cloud gateway, NCSC compliance, per-routine service accounts, or the vendor integrations above. Customers who require those controls must configure and verify them at their VM, cloud, and network layer, including the process-coverage and attribution checks above. A dedicated VM and isolated network do not by themselves prove least privilege, destination allowlists, protected logs or recovery. Do not infer an egress allowlist from a dedicated VM, an isolated network, or a worktree.
Pricing is two plans. The Free plan runs agents on your own Mac with the AQ Mac app, private to you and free with no time limit, includes no AQ credits, and is the evaluation path for one person. The AQ Pro plan is $50 per user per month promotional (standard $200, billed monthly), covers VMs you connect from your own cloud or a dedicated AQ-managed always-on machine, includes $10 of AQ credits per seat every month, and locks your rate for your first 12 months.
If a hosted product's defaults in the table satisfy your policy, use it. AQ fits when the requirement is execution in your own cloud with sessions visible to the team. That choice leaves VM, image, gateway, and egress hardening in your cloud account to configure and verify.
Frequently asked questions
How do I choose a secure cloud AI dev workspace?
Choose by testing execution isolation, credential custody, destination network controls and protected audit evidence, not by the word workspace or a dedicated-VM claim. Require distinct user and service identities, least privilege, secure workspace defaults, managed secrets, recovery, retention and recurring configuration review. Decide whether you need a persistent machine for warm state or a disposable task environment for easier cleanup, and record exactly what persists and who can change each boundary. Use the fake-credential procedures above to verify allowed and denied behavior, process coverage, revocation, restoration and log integrity before trusting the platform with real work.
Is it safe to let a coding agent run autonomously in a cloud workspace?
Safer than on a laptop, if the four workspace boundaries hold and the platform beneath them is hardened. An agent on your laptop runs next to your SSH keys, your browser sessions, and your whole home directory. A disposable cloud workspace limits the blast radius to one machine built for the task, holds only the credentials that task needs, and restricts where data can go. The honest caveat: autonomy plus network access is the risky combination, so the more autonomous the run, the tighter the egress policy should be.
Do cloud coding agents send my code to the vendor?
For hosted products, execution happens on the vendor's infrastructure, so the repository clone is there while the task runs: as of October 2026 Codex cloud checks your repo out into an OpenAI-managed container, Claude Code cloud sessions clone it into an Anthropic-managed VM, and Cursor documents that workspace snapshots persist until deleted after 30 days of inactivity. Separately, prompts carrying code context go to the model provider under its data terms wherever the agent executes. If execution in your own account is the requirement, that is a different product shape: self-hosted or own-cloud harnesses.
What network access should a coding agent have?
As little as the task needs, chosen on purpose. A restrictive pattern used by current vendors is full access during environment setup for dependencies, then default-off or allowlist-only while the agent works. A practical allowlist is your package registries, your git host, and nothing else. Verify which processes use it: NAT alone is not a destination allowlist, and a proxy setting in one shell does not cover every agent tool. Insist on visibility too: GitHub's Copilot coding agent writes a warning on the pull request naming every blocked address and the command that tried it, which is the behavior you want from any egress control.
How do I keep my GitHub token safe when an agent works in the cloud?
Prefer platforms where the token never enters the agent's environment at all: Anthropic-hosted Claude Code cloud sessions keep git credentials on Anthropic's servers and attach them through a proxy outside the VM, with scoped permissions per operation. Where the token must exist in the workspace, make it fine-grained (one repository, minimal permissions), per person rather than shared, and short-lived where the platform supports it, so a leaked token bounds the damage to one repo and one revocation.
Can a prompt injection attack steal code from a cloud agent workspace?
It can try, and the workspace decides whether it succeeds. The attack needs the agent to read hostile instructions, act on them, and move data out. Isolation does not stop the reading, and approval prompts are imperfect against step two, which is why egress control matters: with the agent-phase network off or allowlisted, there is nowhere to send the data. Vendors are candid that this is not absolute: as of October 2026 GitHub warns sophisticated attacks may bypass Copilot's firewall, and Anthropic notes the model API channel remains open even with network access disabled. Layered boundaries reduce the opportunity, and an audit trail improves the evidence; neither makes exfiltration impossible.
Does AQ provide a per-workspace egress allowlist?
Current public AQ docs do not establish a built-in per-workspace default-deny egress allowlist. An AQ shell has whatever network position its machine has, and a git worktree isolates checkout files rather than processes, credentials, or network access. Teams that need destination allowlists, TLS inspection, DLP, or network detection must configure and verify those controls in their VM, cloud, and network layer.