Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

self-hosted-sandboxes-security changedmanaged-agents/self-hosted-sandboxes-security

Nearest release: v2.1.332, published 6 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+10added
Lines−1removed
From line 49 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits20to this page, all time

## Worker credentials on cloud platforms

The whole hunk

from line 49, old and new numbered
/
lines
from line 49
4949 
5050* **Service key storage and rotation.** The environment service key (`ANTHROPIC_ENVIRONMENT_KEY`) authorizes polling your environment’s work queue and submitting results back to sessions. Store it in a secrets manager, not in environment files or sandbox images. Rotate it immediately if you suspect exposure.
5151 
52* **Untrusted workload isolation.** The environment service key is scoped to one environment’s work queue. If you run untrusted code inside your sandbox, consider provisioning a separate workspace and environment for each trust boundary. This way, each key reaches only one trust boundary’s sessions, such as one user’s, rather than every session in a shared environment.
52* **Untrusted workload isolation.** The environment service key is scoped to one environment’s work queue. If you run untrusted code inside your sandbox, consider provisioning a separate workspace and environment for each trust boundary. This way, each key reaches only one trust boundary’s sessions, such as one user’s, rather than every session in a shared environment. On a cloud platform, see [Worker credentials on cloud platforms](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-security#worker-credentials-on-cloud-platforms).
5353 
5454* **Per-session credentials.** Each work item your worker claims can carry a per-session `secret` (csharp, go: `Secret`), which the worker uses in place of the environment service key. Access to [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) requires the `secret` (csharp, go: `Secret`): the memory store endpoints reject the environment service key (see [Forward the work item’s secret](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-per-session#forward-the-work-items-secret)). Pass the `secret` (csharp, go: `Secret`) only into the sandbox that serves that session, keep it out of images and shared volumes, and never log it.
5555 
from line 72
7272* **Verify your worker build.** Anthropic does not inspect your sandbox image or runtime. A supply-chain compromise in your image is not detectable from Anthropic’s side.
7373* **Isolate tools inside your sandbox.** Anthropic’s security boundary stops at the sandbox. How you isolate individual tool executions from each other inside that boundary is entirely your responsibility.
7474* **Enforce data retention in your environment.** Once session content reaches your worker, it is outside Anthropic’s data lifecycle controls.
75 
76## Worker credentials on cloud platforms
77 
78If you use Managed Agents through a cloud platform, your worker authenticates with that platform’s credentials instead of the environment service key. See [Worker authentication on cloud platforms](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes#worker-authentication-on-cloud-platforms).
79 
80On Claude Models on Google Cloud (Anthropic managed), take these precautions:
81 
82* **Keep untrusted workloads apart:** The worker’s IAM role applies to every workspace in the Google Cloud project. Separate workspaces in that project don’t limit what the worker can reach. Use a separate project for each untrusted workload. See [Access on cloud platforms](https://platform.claude.com/docs/en/manage-claude/workspaces#access-on-cloud-platforms).
83* **Protect the worker’s credentials:** Run tool calls where they can’t reach the worker’s Google Cloud credentials or the cloud metadata server.
7584 
Feedback