coloa

Security

Coloa’s job is to keep an app safe even when the code was written quickly, or by an AI agent that made a mistake or was tricked. The protections are enforced by the platform, around the code, so they hold whatever the code does.

What Coloa guarantees

  1. Secrets never reach code. Functions, services and agents see only a placeholder. Coloa’s gateway inserts the real value only into requests to the hosts that secret is for, and blocks any request that tries to send it elsewhere.
  2. The database decides who sees what. Access rules in schema.coloa become Postgres row-level security, so a bug in app code can’t widen access. Nothing is readable unless a rule allows it.
  3. Agents can’t change production or their own permissions. Promoting, approving, rolling back, allowing hosts, setting secrets and changing budgets are for people only. Agents run in a sandbox whose only way out is the gateway.
  4. Every action is recorded in a tamper-evident audit log: each entry is chained to the previous one by a hash, and the chain is anchored outside the app, so editing or cutting the log is detected.
  5. Spending stops at the cap. Every request, query, external call and LLM token is metered, and the monthly cap is enforced.

Layers

Layer What it does
WebAssembly sandbox Every function request runs in a fresh, isolated instance with CPU, memory and time limits. No file system, no direct network.
Gateway All outbound traffic. Blocked unless a person allowed the host; private and cloud-metadata addresses refused; secrets inserted and leaks blocked; responses scanned so a secret can’t be echoed back.
Database One database login per app, connecting only to that app’s databases. Row-level security for end users. Sensitive fields never sent to the browser and masked in logs.
Changes Previews have their own databases. Production changes only through promotion, after a database snapshot, with approvals if required. One command rolls code and data back.
Agent sandbox Docker, with no network except the gateway. The agent’s identity comes from a session token it can’t change.
Audit log Every decision, agent action and human approval, written before the traffic flows.

Signing in

App users sign in with email and password or with passkeys (Face ID, Touch ID, Windows Hello, security keys). Passkeys can’t be phished or reused from another site’s breach; an app can turn passwords off. Repeated failed sign-ins are limited per account and per address.

People who manage a Coloa server use a personal token plus, when required, a code from an authenticator app, or single sign-on (Microsoft Entra, Okta, Keycloak) with its own second factor. Roles limit each person to their apps. The console and management API can be kept off the internet entirely.

Against intruders and data theft

Data

What Coloa doesn’t protect against

Reporting a vulnerability

Email son@olli-ai.com. Please don’t test against installations you don’t run.