Security model
- graal Agentic Platform
- Version 0.27 (archived)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.27.17
Tranibor assumes an agent may attempt anything, by mistake or by injection, and that a member of one organisation will try to read another’s. This page is the digest; the full model, with what is not guarded, is the security reference.
Organisations are isolated in the database
Section titled “Organisations are isolated in the database”Every request declares the organisations it may see, and PostgreSQL’s row-level security refuses the
rest; a request that declares nothing sees nothing. That is why the API must connect as a role that
is not a superuser (a superuser ignores row-level security): in staging and prod it refuses to
start otherwise.
Agents run in a sandbox
Section titled “Agents run in a sandbox”- One pod per run: non-root, no capabilities, a seccomp profile, no service-account token, required
by the Kyverno policies in
infra/policies. Setglobal.runner.runtimeClassto run every agent pod under gVisor or Kata; a project’s policy can demand gVisor. - A run holds only its own short-lived token. It never holds a provider key (the model gateway gets the run’s own capped key), nor a connector’s credential (the API calls tools for it).
- Writes outside the work item’s allowed paths, and to the denied paths of the project’s policy, are refused; the result is checked by the workflow’s gates, not trusted.
Network: three layers
Section titled “Network: three layers”- The organisation’s network list, which an administrator manages (Admin › Network), under a
ceiling the operator sets (
global.egress.ceiling). - A per-run egress proxy (
global.egress.enabled: true), the wall for host, port and connection rate. - Your cluster’s network policies.
The proxy cannot see inside TLS: methods, paths and headers are invisible to it. Allow hosts, not URLs.
Tokens and their scopes
Section titled “Tokens and their scopes”| Scope | Opens | Never opens |
|---|---|---|
* |
the REST API and the CLI | the MCP and A2A doors |
mcp:read, mcp:write |
the MCP door, optionally one project | the REST API |
a2a |
the A2A door, optionally one project | the REST API |
| an application’s token | the A2A door, on its project, 365 days at most | everything else |
Tokens are stored as digests and shown once. A decision (approving a specification, a merge, a release) is taken by a person signed in to the console, never by a token, an MCP client or an A2A caller, and the sensitive ones ask that person to sign in again.
Secrets
Section titled “Secrets”Connector secrets typed in the console are sealed with AES-256-GCM under a key the deployment holds
(secrets-keks): a database dump reveals nothing, and losing the key loses the values
(Secrets).
Every sign-in, token, door call, decision and change of rights is in the audit log (Admin › Audit), under the same organisation isolation as the rest.
On PostgreSQL the log is evidence, not just a table: each organisation’s entries form a hash chain the
database links at every insert, the API’s own role can neither update nor truncate it, and an entry goes
only with its organisation’s deletion. choregos-admin audit verify, run in the API’s pod, walks every
chain and names the first entry that was altered, deleted or rewritten. choregos-admin audit checkpoint
signs each chain’s end with an Ed25519 key you keep outside the database and the pods; keep the lines it
prints outside too, since they are what shows a rewrite of a whole chain. Entries written before the
upgrade are chained from the upgrade on, not before. How to run both, and what the chain does not stop:
the audit log as evidence.
Supply chain
Section titled “Supply chain”The images are signed with cosign (keyless), with an SBOM and SLSA provenance attached; the Kyverno
policies can require digest references. Hosted agents’ images can be required to carry a trusted
signature (global.images.hostedCosign: enforce).
Reporting a vulnerability
Section titled “Reporting a vulnerability”Follow SECURITY.md; do not open a public issue.