Security architecture

Most of your site has nothing to attack.

Your pages are static files. The only live code on the public side is what your plugins need, such as a form or a comment box, and Caelo keeps that part small and walled off. The place where your site is built sits behind a separate login on a private network. Caelo is designed so that even if the public side were broken into, your content, your admin and your history stay out of reach.

The map

Visitors and editors never use the same door.

Visitors reach static files and, for plugins, a narrow gateway. Editors and the AI reach Caelo only through Google's login. Nothing crosses from the public side to the CMS database except through Caelo, and Caelo checks everything that does.

PUBLIC SIDE faces the internet CAELO CMS behind Google login PRIVATE NETWORK no public address Visitor Editor, AI, your agent Static site Live database API gateway Generator Validate and review Editor, AI and API CMS database and media on a CDN, no code runs visitor input for plugins only for active plugins builds the static site fields checked, then decided named, validated actions pages, modules, users, settings, history · row-level security on every table reads pages sends a form visitor input, untrusted only what the public side needs Google login reads content and media writes after a decision each write logged no login to the CMS database
  • Visitor input. Untrusted until Caelo has checked it.
  • Written into the CMS database after a decision.
  • What Caelo hands the public side: settings, active plugins, approved comments.
  • The route that does not exist. The gateway has no login to the CMS database.

A comment's way through the system

  1. A visitor sends a comment. The gateway accepts it only for an active plugin, behind captcha and rate limits.
  2. The comment waits in the live database. Nobody sees it yet.
  3. Caelo reads it, checks it against the fields the comments plugin declared and shows it as plain text. A person or the AI approves it, rejects it or marks it as spam.
  4. Caelo writes the decision into the CMS database through a named action and deletes the comment from the live database. An approved comment goes back to the public side as a copy, so it can show on the page right away.
  5. At the next build, the generator writes the comment into the page's HTML.

The two databases are never connected directly. Everything that crosses goes through Caelo.

Assume the worst

If the public side were broken into.

The gateway and the live database are protected, but they face the internet, so Caelo plans for losing them. That is why they hold as little as possible.

Exposed

What they could reach

Visitor dataForm entries, newsletter sign-ups and comments waiting for review in the live database.
Live plugin outputWhat plugin parts show live on your pages, such as rating counts. That data could be changed or faked.
Gateway settingsThe settings Caelo published to the gateway.

Out of reach

What stays safe

The CMS databasePages, modules, theme, users and history.
The adminIt still asks for Google's login first.
The audit logVisitor actions are logged separately and cannot write into it.
The static pagesThey change only through a build in Caelo.
What Caelo doesFaked visitor data can at most suggest something, such as a comment to review or a page to rebuild. It cannot make Caelo act.

Without plugins that take visitor input, the gateway has nothing to answer for visitors. Your site is then static files only.

Layers

Each layer is built to hold on its own.

No layer relies on the one in front of it. If one fails, the next one still stands.

Edge

Files, and one narrow path

Your domain serves files from a CDN. The only dynamic path is /api/, used by plugins that take visitor input. On the Google load-balancer setup it passes Cloud Armor first. No admin path exists on your domain.

    Identity

    Google's login before Caelo's

    The admin and its MCP endpoint sit behind Identity-Aware Proxy. A request without a Google account you have allowed is refused before Caelo sees it. AI clients you connect from outside pass the same proxy with your own Google sign-in. Caelo's own login is the second lock.

      Network and database

      Two databases, no public address

      CMS data and visitor data live in two databases with two roles that share no rights, on a private network address only. Row-level security applies to every table, owners included. Every change goes through a named, validated action and is logged. There is no raw SQL.

        Plugins

        One set of rules for every plugin

        The plugins Caelo ships and the ones the AI writes follow the same rules. A plugin offers visitors only the actions it declares, and its code runs in a sandbox without files, network or environment. The Owner grants each extra right for one exact version, and nothing runs before activation.

          People

          A person puts it live

          The AI can prepare and stage work. Putting it live is a person's click. Actions that are hard to undo wait in the chat for someone with the right permission. The approval is part of the tool itself, so the AI has no way around it.

            Updates

            Signed, backed up, reversible

            Releases are signed. Every update checks the signature, backs up the database first and rolls back if the new version fails its health check. The update job runs under its own narrow identity; the admin may only start it.

              Tested, not promised

              The separation is checked on every change.

              A sentence on a website can drift from the code. These checks cannot. Each one fails loudly, and none can be switched off to make a change pass.

              CheckRunsStops the change when
              Gateway boot checkEvery start of the gatewayIts environment, its secret files or its database login could reach the CMS database.
              Role auditAfter every migration, also during updatesThe public role holds any right on the CMS database.
              Import boundaryEvery pull requestGateway or plugin code imports admin-only code.
              Migration lintEvery pull requestA migration grants the public side anything on the CMS database, or links the two databases.
              Hosting checkEvery pull requestOn any hosting setup, the gateway receives a CMS database credential or may read a secret that unlocks one.
              Code and dependency scansEvery pull requestStatic analysis finds a flaw, a dependency has a known serious vulnerability or a licence we do not allow, or a secret is about to be pushed.

              Where you run it

              What sits in front depends on where you host.

              The separation of the two sides is the same on every setup. What sits in front of it is not.

              PartGoogle Cloud, load balancerGoogle Cloud, Firebase HostingYour own server
              Static siteCloud Storage and Cloud CDNFirebase HostingCaddy, from disk
              Login before the adminIdentity-Aware ProxyIdentity-Aware ProxyCaelo's login only
              Firewall before the gatewayCloud ArmorNone. Captcha, honeypot and rate limits in the gatewayNone. Captcha, honeypot and rate limits in the gateway
              DatabasesCloud SQL, private IPCloud SQL, private IPPostgres on the internal network
              SecretsSecret ManagerSecret ManagerFiles on your server

              AWS and Azure follow the same shape and are planned.

              Limits

              Where this stops today.

              Security claims are only useful if they say where they stop. These are the boundaries today.

              Pre-1.0Interfaces still change between releases. Read the changelog before you update.
              Your own serverNo identity proxy in front of the admin; Caelo's login is the only one. You run the server, the firewall and the system updates.
              Small by defaultDatabase high availability starts switched off to keep costs down. Turn it on before you rely on the site.
              Your accountsCaelo runs in your cloud account. Anyone who can sign in to that account can reach everything in it.

              Found something?

              Report it privately and hear back within 72 hours.

              Tell us through GitHub's private vulnerability reporting or by email. Nothing is made public before a fix is out.