For a security review: the ConfigHub hub (local and self-hosted)
This page is for a platform or security team reviewing the ConfigHub hub itself: either the local hub (confighub mini) on a developer's laptop or a self-hosted ConfigHub hub in your own Kubernetes cluster. For what the Claude Code plugin does on a developer's computer with no hub, see For a security review: what the Claude plugin does.
A hub is a ConfigHub server and PostgreSQL database that stores your apps' settings, the reason for each value, and an immutable record of who approved each change.
Network surface
- Local hub (
confighub mini): The ConfigHub server and its bundled PostgreSQL listen on loopback (127.0.0.1) only, on randomly chosen local ports. Nothing listens on external network interfaces, no Docker daemon is required, and no account or outbound cloud connection is needed once downloaded. Self-hosted hub in Kubernetes:
- Install: Packaged Helm chart (
charts/confighub-hub/) (install, upgrade, and backup guide). - Runtime: Non-root container behind your Ingress/TLS with a
PersistentVolumeClaimfor PostgreSQL. - Human sign-in: Corporate OIDC/SAML SSO via
cub auth login --server https://...(Dex, Okta, Entra ID; tested end to end withhelm install+helm upgradeinkind+ Dex). - CI auth: Scoped service account keys restricted to the target Space;
cub mini record-pr --from-githubpulls verifiedAPPROVEDreviewers directly from the GitHub API.
- Install: Packaged Helm chart (
What is stored in PostgreSQL
- Configuration copies and revisions: Non-secret settings (
base,staging,live), mutation ownership (which values belong to an app vs. a shared starter), and the reason recorded for each change. Immutable attestations: Server-timestamped records tied to the authenticated user or service account, including:
Approvalattestations recording who approved a change order and revision.PullRequestReviewattestations (cub mini record-pr) recording repository, PR number, base and head commits, author, GitHub approvers, changed file/value counts, redacted summary note, and the SHA-256 digest of the redacted review.AgentRecordandModelUseattestations (when turned on) recording signed agent session digests and token counts.
- Data location (local hub): All state for a local hub lives under
~/.confighub/servers/<name>/(PostgreSQL data directory, server logs, PID files, and runtime metadata). Your repository files are not rewritten.
Credential redaction and boundaries
- Credentials stay out of the hub by default. Values whose names or shapes look like credentials (passwords, tokens, API keys, URLs with embedded passwords, Kubernetes
Secretdata/stringData) are skipped when adopting from files or hosts (Vercel,Fly,Heroku,Unikraft), and are redacted beforecub mini record-prwrites claims or notes. - Scoped agent keys & local sandbox boundary: An agent's service account key can propose changes to
liveand updatestaging, and is refused by the server if it tries to approvelive, read owner-only secrets, or act outside its Spaces. On a laptop where the agent runs as the same Unix user, this isolation depends on the agent running inside Claude Code's sandbox (configured in.claude/settings.local.jsonwith deny rules for~/.confighub/keys, plusautoAllowBashIfSandboxed: trueby default: orautoAllowBashIfSandboxed: falsewhenCUB_MINI_MODE=teamorCUB_MINI_AUTO_ALLOW_BASH=0is set) or as a separate OS user, outside the sandbox, a same-user process could read~/.confighub/keys. Revoking a key stops future requests (existing short-lived sessions expire within 24 hours). - Shared-hub author rule: On a shared hub with a
ChangeWorkflow, production approval requires an eligible attester who did not write the change, so agents must run under their own service account rather than a human's personal sign-in. - Host delivery boundaries (person-only): When delivering approved changes to Vercel, Fly, Heroku, or Unikraft, both approval (
cub mini approve BASE/ORDER) and delivery (cub mini deliver) are person steps run in your own terminal; an agent session cannot approve, deliver, or redirect the target host (and rolling back production is also approval-gated).
Binaries, upgrades, and backups
- Verification: Each local hub release publishes
SHA256SUMSalongside the platform archives (current release).bin/confighub mini getverifies the downloaded archive against its checksum before unpacking. - macOS note: macOS binaries are currently not Apple-notarized (downloaded via
curl, they run without Gatekeeper prompts). - Upgrades (local hub): Installing a newer
confighub minipackage migrates an existing local hub's PostgreSQL schema in place on the firstcub minicommand, preserving all Spaces, Units, revisions, waiting orders, and attestations. - Backups and exit: Export any app back to plain files with
cub mini copy APP --variant live --to-dir DIR, or hand a GitOps app back to Git withcub mini back-to-git APP --variant live --repo DIRwithout restarting pods.
Stopping and removing a local hub
- Stop processes (keep data):
cub mini stop - Remove everything (processes, PostgreSQL data, and local hub state):
cub mini uninstall --delete-data
For removing the plugin and its local record as well, see going back.