Repository navigation
v1.1.0
Coder's own agent runs under the same boundary now, and the Coder server reaches nothing outside the cluster.
What is new
- Coder Agents, driven by a model that has been talked into it (ADR 7).
manifests/model/is a scripted OpenAI-compatible endpoint in its own namespace, reached by the Coder server and nothing else;tests/e2e/agents.pyregisters it through Coder's API and starts a chat on the e2e workspace. The agent'sexecutetool runs in the workspace on gVisor's kernel, and each of eight attempts the model asks for dies at the boundary: the internet by name and by address, the metadata service, the Kubernetes API, an API token on disk, another namespace's service, DNS, and the model endpoint from inside the workspace. The model's key stays with the Coder server. - Template builds without the internet. Terraform's providers come from a filesystem mirror the installing machine fills from the templates' lock file (signatures checked as it downloads), on a volume the Coder server mounts read-only; in the cluster Terraform checks each package against the lock file again.
- No way out for the control plane. The Coder server's 443 rule moved to
manifests/optional/, applied only for GitHub sign-in or a model provider on the internet. The e2e requires that the server look up no outside name from its start to the end of the run, two template pushes, 24 builds and the Coder Agents chat included, and that none of its network policies name an outside address. - Eighteen planted violations for the static checks, three new: a model step that reads a credential without being marked secret, a dropped provider mirror, and the server's way to the internet back in the default policies.
What was found while building it
- With Coder Agents, the model provider receives whatever a tool reads. The scripted model asked the agent to print
CODER_AGENT_TOKEN, then to fetch the owner's Git SSH key with it, and both reached the model endpoint in the next request. That is how tool results are meant to travel, from the workspace to the Coder server over the workspace connection and from the server to the model; the workspace's network policy never sees that path. Measured on every run and listed in the threat model: keep the model endpoint where the operator controls it, and scope what the owner's git key and external-auth apps can do. - During the chat the server looked up no outside name: on a Community deployment nothing reports Agent Time to Coder, as the code says (the publisher is gated on a license).
- From a filesystem mirror Terraform reports each provider "(unauthenticated)": the signatures were checked when the mirror was built, and the lock file's hashes are what Terraform checks in the cluster.
How it was checked
- e2e on this commit: 42945327313, 98 of 98. Verify on this commit: 42945327561. Server egress: 42944155466.
- The release archive, its keyless cosign signature and its SLSA provenance are attached by
release-assets.ymland verified there the way a stranger would; the commands are at the top of that workflow.