Skip to content

Security: KaaS-team/factory

Security

SECURITY.md

Security

The factory is not a sandbox. It runs an agent that executes commands, and the only boundary is the dispatcher and runtime you choose.

What each dispatcher isolates

  • local runs the agent on this machine. With sandbox: true (the default) it jails the session with Landlock (Linux) or sandbox-exec (macOS) where the host supports one; elsewhere that setting does nothing. sandbox_runtime is local (the default) or remote, which runs the session on the sandbox service FACTORY_SANDBOX_URL names.
  • claude-cloud and fire run the session in a hosted cloud environment, which decides isolation.
  • k8s runs the session as a Kubernetes sandbox; see docs/k8s.md.

What it does not isolate

A local session inherits only an allow list of variables from your environment (PATH, HOME, locale, proxy and CA settings, SSH_AUTH_SOCK, CLAUDE_CONFIG_DIR and the CLAUDE_CODE_*, LC_* and XDG_* families). GITHUB_TOKEN and GH_TOKEN are left out, but through HOME and SSH_AUTH_SOCK the agent can use your git credentials and any login stored under your home directory. Use a spend-capped key and a jailed or remote runtime.

Reporting

Report a vulnerability privately to the maintainer in .github/CODEOWNERS, not in a public issue.

There aren't any published security advisories