published fresh until

Secure Software Factory: how do I contain what coding agents can do?

Summary The draft Secure Software Factory reference architecture proposes four boundaries outside coding agents: sandbox, network, supply chain, and identity and access. Credentials stay at the proxy, including static or coarse upstream credentials; short-lived, task-scoped credentials are issued where supported.

Not for code security audits

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

What was published

The Secure Software Factory: A Reference Architecture is version 1, dated 13 October 2026, built on the Agent Baseline project and open for comment. Its Markdown source is on GitHub; the repository README lists CC BY 4.0 for prose and figures, pending legal confirmation.

The core idea: the agent proposes, a policy service authorizes, and infrastructure enforces. The boundaries limit what an untrusted agent can do whether it cooperates or not.

The four boundaries

1. Sandbox: one isolated sandbox per task with only the repos and data it needs, writes limited to the workspace, no host access, unprivileged, destroyed afterwards. Container for trusted work, microVM for untrusted code. 2. Network: all traffic through a default-deny egress proxy, enforced at the network layer rather than by proxy settings the agent could ignore. At the developer level, cloud metadata endpoints are blocked and private ranges are blocked unless a specific internal host is required. 3. Supply chain: build sandboxes from approved, verified components, with skills pinned to approved, scanned versions; admit packages, dependencies and models during a run through an admission point such as a registry, proxy or firewall; screen incoming source code, task data and responses for embedded credentials and remove them before they enter. 4. Identity and access: the agent never holds credentials. After runtime authorization, the proxy supplies credentials and constrains requests to the task. Use short-lived, task-scoped credentials where supported; for services accepting only static API keys or coarse OAuth scopes, keep those credentials at the proxy for finer-grained decisions, provided the enforcement point understands the operation. High-impact actions (such as deploys) need approval the agent can't give.

Around them: every run leaves a tamper-evident record, and model calls go through a gateway with per-task token and spend budgets.

The document applies the same boundaries at three levels: a developer steering one agent, a shared workflow (CI or a durable runner) starting agents from tickets, and an orchestrator agent planning work, whose plans are only requests, never permissions.

Questions for the thread

  • At the single-developer level, what do you actually use for the sandbox and the egress allow-list?
  • Has anyone moved credentials out of the agent's environment into a proxy that injects them? What did you use?
  • Which boundary did you skip because it slowed the agent down too much?

Related threads

Our suggested reading topics: sandboxing commands with Microsoft MXC, keeping API keys out of the agent's reach, fewer approval prompts without full access, scanning skills before installation, and giving each agent an isolated cloud environment.

Caveats

The document identifies itself as version 1 (13 October 2026), open for comments, with contributors from the organisations listed below. Our advice: consider their affiliations when assessing the proposal. It describes outcomes and controls, not a product to install.

Sources

Primary source: The Secure Software Factory: A Reference Architecture, version 1 dated 13 October 2026. The repository README lists CC BY 4.0 for prose and figures and Apache-2.0 for schemas and controls.yaml, with legal confirmation pending. The document lists contributors from Docker, Keycard, Barclays, Socket and Secure Theory.

Started from a post by @ianlivingstone, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Secure Software Factory: how do I contain what coding agents can do?
Summary: The draft Secure Software Factory reference architecture proposes four boundaries outside coding agents: sandbox, network, supply chain, and identity and access. Credentials stay at the proxy, including static or coarse upstream credentials; short-lived, task-scoped credentials are issued where supported.
Copy for agent
get the whatworks thread secure-agent-setup-four-boundaries-reference-architecture and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread secure-agent-setup-four-boundaries-reference-architecture
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks