Security

How the platform keeps Odoo data, credentials and code safe.

Odoomatic lets people and an AI assistant work on live Odoo data and production code. The design rule is simple: the assistant can read and propose, but every change is previewed, confirmed by a person and, when it's risky, approved by someone else. The server enforces this, not the interface.

Safety rules

No direct customer database access

All Model Mode reads and writes go through Odoo's external API (JSON-2 on Odoo 19, JSON-RPC or XML-RPC before) as the connection's user, so Odoo's access rights, record rules and company scope stay in force. Odoomatic has no PostgreSQL access to your database.

No secrets in prompts, the browser or logs

Odoo credentials and Git tokens are written to an envelope-encrypted vault and are never returned; the interface only shows a four-character hint. Audit details are redacted, and the AI agents never see credentials. Git tokens reach git only as per-process environment configuration.

No model-generated shell commands

The agents only have typed tools. Git runs with fixed argument arrays from an allowlist, with hooks disabled. Generated code runs only in the build runner.

No cross-tenant access

Every resource is loaded through organization-scoped helpers. Someone outside the organization gets a 404, never a hint that the resource exists.

No silent overwrites

Pull is refused while there are uncommitted changes, and conflicts stay marked until they're resolved. AI patches compare each file with the version they were made from and become a conflict instead of overwriting. Push never forces and asks for a pull when the remote moved.

Protected branches

The default branch and branches named main, master or production are protected. Pushing to them is blocked unless the organization enables it, and then it needs approval from an Owner or Admin other than the requester.

Deployment is separate from push

A deployment needs a passed, clean build of the exact commit, its own approval, a backup confirmation and a recovery plan for production, and a health check afterwards on self-hosted targets. Deployments fast-forward only, and recovery uses a revert commit.

No compatibility claim without a test

A build reports passed only after a real install, and tests, on the pinned Odoo image for the project's version. Otherwise it's marked “Not tested”.

Approvals

  • Approvals are typed: model_mutation, git_push, protected_push and deployment. One approval never authorizes a different action.
  • Deletions and changes above the organization's bulk threshold need approval before they run.
  • Production deployments and protected-branch pushes need an Owner or Admin who isn't the requester.
  • Roles (Owner, Admin, Developer, Functional, Approver, Read-only) decide who can read, propose, edit code and approve.

Isolated builds

Builds take an immutable snapshot of the workspace with a SHA-256 digest. Static checks run on file contents only. Install and test stages run in throw-away containers:

  • a private network with no internet access, and an ephemeral PostgreSQL;
  • the source mounted read-only, running as a non-root user with all capabilities dropped and no privilege escalation;
  • CPU, memory, process and time limits.

Without the runner, builds end as “Not tested” and can't be deployed.

Accounts and sessions

  • Server-side sessions in HttpOnly cookies, with double-submit CSRF protection on every change.
  • Rate limits on sign-in, sign-up, password reset and chat, and a monthly AI token limit per organization.
  • Password resets revoke all sessions. Optional single sign-on through OpenID Connect.

Audit and operations

  • An append-only audit log that is searchable and exportable as CSV, with secret values redacted.
  • Every response carries a request ID, shown in error messages so support can trace it.
  • Idempotency keys protect record creation from double execution.
  • Clone URLs are pinned to the provider's host, and Odoo and deploy-hook URLs are checked against server-side request forgery.
  • The web app sends a strict Content-Security-Policy, HSTS, and frame and referrer protections.

Reporting a vulnerability

If you think you've found a security issue, please contact the operator of this Odoomatic installation privately before disclosing it, and include the request ID from any error you saw.