Security
Security at CodeBrix
CodeBrix is an early-stage product run by one founder. This page says what Agent Directory does with your keys and records today, and what we don’t have yet.
Where it runs
- CodeBrix is built from bricks: each product is its own service with its own database schema and database role, and Agent Directory is the
agentsbrick with the Secrets (vault), Stop and Flight Recorder bricks beside it. The bricks are built to run on servers you operate; to self-host, write to us. - The hosted service stores and processes data in the United States. Primary systems run on servers we operate in the United States, and our network relay runs on Google Cloud in the central US (us-central1).
- Databases accept connections only from the server they run on. The link between the public relay and our servers is an encrypted WireGuard tunnel, and traffic to our sites uses HTTPS.
Your keys
- Sealed in the vault. System credentials live in CodeBrix Secrets, sealed with AES-256-GCM. Each space has its own data key, wrapped by a root key, and each value is bound to its space, secret and version.
- Agents never hold vendor keys. An agent holds one CodeBrix token, traded for short-lived badges, 15 minutes by default (or no secret at all, with a CI workload’s OIDC identity). In proxy mode CodeBrix reads the key from the vault at call time and adds it to the request; the key goes only to the vendor, never into a log line, an error, a stored row or a response. In broker mode the agent gets a short-lived credential minted for it (a GitHub App token, an AWS STS session, a Google Cloud service-account token), never the stored one.
- Rotation on connect. When you connect a system, CodeBrix can rotate its credential so the vault holds the only live copy (automatically for AWS and Slack; for GitHub and others a person pastes the new key from a one-time link), then check that the old one is refused.
- Revocation. Pausing or killing an agent, or offboarding its owner from your directory, refuses its badges on the next call.
When Stop can’t be reached
Stop’s state is cached where calls are checked and is never cleared by silence: if CodeBrix Stop can’t be reached, what was stopped stays stopped. After 30 seconds without Stop, each space follows its own rule:
- Hold risky calls (the default): calls to Stripe, AWS, Google Cloud and Postgres systems, and any DELETE, are refused with 503 until Stop answers; other calls continue.
- Hold everything, or continue, if you choose.
The record and how long it’s kept
- Each call is logged with the agent, system, method, path (without the query string), the rule that matched, the outcome and a SHA-256 hash of the request body; never the body or the key.
- Calls, lent credentials and approvals go into CodeBrix Flight Recorder: one hash chain per agent per day, with Merkle roots signed by the recorder’s Ed25519 key, and outside timestamps (RFC 3161) when one is configured. A session exports as a file that verifies offline.
- Entries are append-only. Retention is set per space by its owner: past it, an entry’s body is dropped and its hash stays, so the chain still verifies. A legal hold keeps a session whole.
Subprocessors
Google Cloud (network relay), Stripe (payments), Resend (email) and Anthropic (AI features that use a CodeBrix model key). The full list, with what each handles: Subprocessors. Systems and model keys you connect yourself are your vendors, not ours.
Your CodeBrix account
- Sign in with Google, GitHub or an emailed link; we don’t store passwords for CodeBrix accounts. Session cookies are HttpOnly and secure.
- Roles per space, and tokens and service accounts you can revoke.
- Stripe handles card details; we never store full card numbers.
Not yet
- No certifications. We don’t have SOC 2, ISO 27001 or HIPAA, and we don’t sign BAAs.
- No third-party penetration test yet.
- No uptime commitment. Part of the service runs on servers we operate ourselves, not in a commercial data center, and there’s no failover yet.
Reporting a vulnerability
Send security reports to security@codebrix.dev. If you test in good faith within your own space, we won’t take action against you.