Security
This page states what Rollout does to protect a workspace and where each protection stops. Several answers depend on how Rollout is run, so that comes first.
What depends on how Rollout is run
A self-hosted installation is one trust domain. While an installation allows Native, every workspace member can create a workflow in their Private area and run code there with the Rollout server's access, secrets included (see Code execution). A new Compose install turns Native off with ROLLOUT_ALLOW_NATIVE_RUNTIME=false. An installation that leaves the variable unset allows it, and that covers Compose installs set up before the variable existed. Registration on a new Compose install closes when the first person confirms their address, and it stays closed unless an operator opens it. While it's open, anyone who registers can create a workspace and run workflows in it. An install from before this behavior keeps registration as it was: see Close registration. Hosted Rollout runs steps in containers and doesn't offer Native.
| Area | Hosted Rollout | Self-hosted |
|---|---|---|
| Master encryption key | Kept in a key management service | By default ROLLOUT_SECRETS_KEY, which the operator generates and backs up. Configuration covers the key management service option |
| Default workflow runtime | Kubernetes. Native and Docker aren't offered | With Native off, the ROLLOUT_RUNTIME backend. With Native allowed, Native, with no isolation. Either way an admin can set the default for new workflows, and existing workflows keep their runtime |
| Run JavaScript | Deno in a container created for the step | With Native off, Deno in a container created for the step. With Native allowed, Deno as a subprocess of the Rollout server |
| Direct network access from Run JavaScript and App backends | Refused. Use the HTTP request node | Run JavaScript: allowed to the hosts the author declares. App backends, which need Kubernetes: an IP address is pinned to that address, and a hostname opens only its port, so the backend can reach other public hosts on that port. An App that declares nothing reaches only DNS |
| Egress allowlist | Can't be turned on. Steps reach port 443 anywhere except the cloud metadata address and 10.0.0.0/8, plus port 53 | Needs Kubernetes on GKE with the FQDN network policy API. Unavailable on Docker |
| Database connection | Verified TLS is required | Compose keeps the database on a private network with DATABASE_SSL=false. For a remote database, set DATABASE_SSL_CA_CERT. Without it, TLS is on and the server certificate isn't checked |
| HTTPS | Part of the service | Rollout forces HTTPS in production. Your proxy or ingress terminates TLS |
Sign-in
Rollout supports a password, an emailed magic link and Google sign-in. Google sign-in appears when the installation has Google credentials and public registration turned on, and it's refused for an address Google hasn't verified. Rollout has no two-factor authentication, passkeys, SAML or SCIM.
- Passwords are hashed with Bcrypt.
- A magic link expires after 15 minutes.
- A session lasts 60 days. Remember-me uses a signed cookie with the same lifetime.
- Forms carry CSRF tokens, and the session is renewed at sign-in.
- Changing a password signs out that account's other sessions and Device credentials. AI client authorizations stay active. Revoke them under Access.
- Failed password attempts are limited to 10 per 15 minutes, counted per IP address and per email. Successful sign-ins don't count. Once an address or email reaches the limit, password sign-in stops for it until the window resets, even with the right password. A magic link still works. The counters are held in memory, so a restart clears them.
- Registration and magic-link requests are rate limited, and a throttled request gets the same generic response as an accepted one.
- Changing an email or password, revoking an AI client and deleting a workspace need a sign-in from the last 20 minutes. Otherwise Rollout asks for a fresh sign-in.
Devices and AI clients
Rollout Desktop signs in through the browser. A person confirms the Device there, and the app exchanges a short-lived code (with PKCE) for a credential bound to one workspace and one Device.
- The server stores only a SHA-256 digest of that credential.
- The credential lasts 1 year.
- Review Devices, remove one from a workspace and choose what it may do under Devices.
A Device runs commands with the access of the computer account running Rollout Desktop. An AI agent step on a Device uses that computer's CLI. Rollout's read-only mode and tool lists constrain a cooperating CLI. They don't sandbox the machine's credentials or shell.
Review the AI clients signed in as you under Access. Revoking one covers your authorization in the named workspace, including its refresh tokens and unused authorization codes.
Workspace isolation
All workspaces on an installation share one PostgreSQL database. Isolation is application-level: Rollout's queries filter on the workspace id.
The database adds a second layer to part of the schema. Many foreign keys between workspace rows include the workspace id, and triggers on core tables refuse a change of workspace. Those layers don't cover every table. Rollout doesn't use PostgreSQL row-level security, so the database wouldn't stop a query that left out the workspace filter.
Inside a workspace, access follows Teams and Private areas. List queries filter by access in the database, so rows a person can't reach aren't returned. The Team list is the exception (see Team visibility). Single-item reads and writes check access before they return or change anything. Writes rebuild access from current memberships, so a removed member can't write through a stale session. See Sharing and permissions.
Whoever operates an installation can reach its data. Database access shows every workspace's rows apart from encrypted values, and database access plus the master key decrypts those too.
Secrets and variables
Manage both under Settings › Secrets & variables.
Secrets
- Write-only. A value can't be viewed after it's saved. The list shows names and metadata only.
- Replaceable. Replace value overwrites a value. It takes an admin of the Team or Private area the secret lives in.
- Fail-closed reads. A value that can't be authenticated and decrypted returns an error, never partial data.
- External values. A secret can reference a 1Password item (
op://vault/item/field) through a 1Password Connection. Rollout stores the reference and reads the value at each use. - Sharing. A secret lives in a Team or a Private area like any other automation. Workspace admins don't bypass a Private secret, with one exception: adopting a removed member's Private area moves their secrets into a Team, which can then use them.
- Audit. Reads, access checks and attaches are recorded whether allowed or refused, including lookups of names that don't exist. Creates, value and details changes and deletes are recorded when they succeed, and a refused attempt at one of those leaves no row. Duplicate as… records a create on the copy and no read of the source. Values never appear there.
- Run data. Rollout scrubs the values it injected into a step, and their standard Base64 form, from run data and live output by exact match. Stored run data also scrubs a number equal to one of those values, as a whole number. Values shorter than 8 bytes aren't scrubbed. Neither are other encodings, such as hex or URL escaping, or values a script splits. While a run holds a value longer than 24 KiB, its live output shows a notice instead of the content; its stored output is still scrubbed.
How secrets are encrypted
Each workspace has one data key. Every secret value in that workspace is encrypted under it with AES-256-GCM. The data key is wrapped by the installation's master key and stored wrapped on the workspace record.
There's no separate key per secret. Each ciphertext is bound to its secret's id, a purpose tag and the key generation through additional authenticated data, so a ciphertext copied onto another secret fails to decrypt. That binding stops swaps. It doesn't separate secrets from anyone holding the workspace's data key.
By default, a self-hosted installation's master key is the 32-byte value in ROLLOUT_SECRETS_KEY, used with AES Key Wrap (RFC 3394). Losing it makes every stored secret and Connection credential unrecoverable, so a database backup alone isn't a full backup. See Upgrade and back up. Settings has no control for rotating either key.
Variables
Variables are plain configuration. They're stored unencrypted, stay readable by everyone who may use them, and appear in run data without redaction. Keep credentials out of them.
What else is encrypted
Connection credentials use the same algorithms with a different key layout: each write gets a fresh data key, wrapped by the master key. These are encrypted per record the same way:
- Tool call request and result data
- an Ask's private context, such as the context behind a Tool review Ask
- the unredacted step output values kept while a run is parked
- the state of an OAuth sign-in in progress for an MCP Connection
Other data is stored as ordinary rows and objects. Tasks, Documents, Records, workflow definitions, stored step data, variables and attachments get no application-level encryption. Disk and backup encryption are up to whoever runs the installation.
Connections
- Google Connections use OAuth 2.0, so no Google password is stored. Scopes are granted per Connection: pick only the access a workflow needs, such as Gmail (read), Gmail (send), Sheets or Drive (files).
- OAuth access tokens refresh automatically.
- Other providers, such as GitHub, Atlassian, Telegram and SSH hosts, authenticate with API tokens or keys.
- A Connection lives in the Team or Private area chosen when it's created, and exposure extends who can use it.
- Delete a Connection from Settings › Connections. That removes the stored credential from Rollout and is permanent. It doesn't revoke the grant at the provider, so revoke it there too. Rollout refuses the delete while the Connection is in use.
Webhooks
A webhook needs no signature by default, so the random token in its URL is its only credential until a Signing secret is set.
- Token rotation. Rotate in the workflow's Settings › Triggers issues a new URL, and the old one stops working at once.
- Signature check. Signing secret, Signature header and Algorithm (sha1, sha256 or sha512) validate senders such as GitHub that send a hex HMAC of the raw body, with or without an algorithm prefix like
sha256=. Other formats, such as Stripe'st=...,v1=...header, are refused. The signing secret must reference a workspace secret. A plain value is refused. - Replay check. Timestamp header and Tolerance (seconds) reject old requests. The header must carry an ISO 8601 time, and the signature must cover the timestamp, a
.and the raw body. A Unix timestamp is refused.
Signature verification covers the setup.
Code execution
Run JavaScript
Run JavaScript runs a script with Deno and no Deno permissions, so fetch, file APIs and Deno.env are refused. It receives its wired inputs and the read-only env object of plain settings. Workspace secrets are never copied into env. A wired input can still carry a secret that an upstream step returned. On a self-hosted installation Allow Network Access (self-host) opens named public hosts, and an enabled egress allowlist cuts that list down further. Scripts are capped at 50,000 characters, and a script fails its step at 10 seconds.
Deno's module loader works outside those permissions, so Rollout runs Deno with --cached-only. A remote import(), new Worker() or npm: specifier fails without touching the network, even with Allow Network Access (self-host) on. An import() with a literal path can still load local JavaScript or JSON files the process can read.
That's a language sandbox. Deno enforces those limits and the operating system doesn't. When Deno runs as a subprocess of the Rollout server, it shares the server's OS user, network namespace and temporary directory. Memory Limit (MB) and CPU Quota aren't kernel limits on that path. Rollout doesn't kill the Deno process there either, so a busy script can keep using a server core after its step has ended. A flaw in Deno or V8 that escapes the sandbox means code execution on the host.
Run JavaScript moves into a container created for the step whenever the installation denies Native. Hosted Rollout always does: the script gets its own user, network and temporary directory, and container limits bound its CPU and memory. Docker sets no CPU or memory limit.
ROLLOUT_ALLOW_NATIVE_RUNTIME decides this on a self-hosted installation, and Turn off Native covers an installation that still allows it. Default runtime alone doesn't move Run JavaScript into a container. While Native is allowed Team roles don't contain it, because every member has a Private area, so invite only people you'd trust on the server.
Run shell script and the workflow runtime
| Where the step runs | What separates it from the server |
|---|---|
| Native | Nothing. The step is a process of the Rollout server with its OS user, files, network and environment variables, which include the database URL and ROLLOUT_SECRETS_KEY. An installation that denies Native fails the step with capability_denied |
| Docker | An ephemeral container for each step, sharing a volume with the run. Rollout sets no CPU, memory or network limit on it |
| Kubernetes | An ephemeral pod. Hosted Rollout confirms the workspace's own namespace and its network policies before it admits a step. On a self-hosted installation the pod uses the workspace's namespace once it's provisioned. Until then steps run in the shared ROLLOUT_K8S_NAMESPACE namespace with no per-workspace network policy, and Rollout doesn't check first. ROLLOUT_K8S_RUNTIME_CLASS selects a sandbox RuntimeClass, and an empty value removes kernel-level isolation |
| Remote (SSH) | Runs on the host you connected, with that account's access |
Default runtime under Execution & network sets the runtime a new workflow starts with. Existing workflows keep theirs, and where Native is permitted any workflow can still choose it.
Sensitive values
An Act in browser script's result can be marked Sensitive: the value is held out of run history (the step stores only a marker), and only a Run shell script step on a remote host over SSH reads it, on its stdin, input or files. It works only in a published workflow's runs. What it promises, and what it doesn't:
- Rollout stores the value nowhere in run history. A copy a step makes of it is redacted wherever it is stored or shown, when it's the whole value and 8 bytes or longer; a shorter one, or one the receiving script transforms, is not.
- The receiving host gets the value, and whatever its script prints or writes is its own.
- The link to the browser is plain HTTP on the installation's internal network. Anyone who can watch that network sees the value, as they already see the browser's token, saved-session state, script secrets, files and display, and anyone who can send on it can drive the browser. Encrypting it is planned.
- Hosted step pods. While the step runs, the value is in the step's own Kubernetes Secret, and in the pod's log if the script prints it, until the pod is deleted. The log collector skips these pods.
- The browser's own disk. A script can save a screenshot, trace, recording or storage file of its own; Rollout refuses what would reach the run (saved files, returned bytes, downloads) and doesn't police the script. Review browser scripts as code.
- Memory and backups. The browser, its worker and the server hold the value in memory while they use it. The held copy, encrypted in the database, is deleted when its run ends, or after 72 hours. Database dumps leave held values out. A physical backup or point-in-time recovery taken while one was held keeps that encrypted copy for as long as the backup itself is kept.
File parsing
Image, PDF and docx parsing, OCR and custom models run in a separate compute process that holds no database, storage or application secrets. The self-hosted Compose setup runs it as its own service with a read-only filesystem and no Linux capabilities. With ROLLOUT_COMPUTE_PLACEMENT unset, parsing runs inside the Rollout server process instead.
Network and image limits
Execution & network holds 2 admin-managed locks, on its Network and Registries tabs.
Restrict egress to allowlist applies to:
- step containers in the workspace's Kubernetes namespace, which can then reach only the listed domains on port 443, plus DNS. Port 53 stays open to every address, so the allowlist doesn't stop DNS-based exfiltration
- hosts a Run JavaScript node declares for direct access, which are cut down to the list
- hosts an App backend declares for direct access, which are checked against the list when the backend starts. A hostname that passes isn't pinned at the network layer, so the backend can still reach other public hosts on port 443
It doesn't apply to HTTP request nodes, Integration nodes or model calls, which the Rollout server makes itself, or to Native steps and steps in the shared Kubernetes namespace.
Enforcement needs Kubernetes on GKE with the FQDN network policy API, the only FQDN policy Rollout writes. ROLLOUT_FQDN_NETWORK_POLICY_AVAILABLE defaults to false, so Rollout doesn't save a policy it can't enforce. Set it to true once you've confirmed the cluster serves that API. Until then, and on Docker and on hosted Rollout, the setting can't be turned on and says FQDN enforcement is unavailable.
With the allowlist on, github.com, registry.npmjs.org and pypi.org are always reachable. Custom domains depend on the plan, up to 50 exact names with no wildcards, on port 443. With it off, step containers in a workspace namespace can reach port 443 anywhere except the cloud metadata address and 10.0.0.0/8, and port 53 anywhere.
Restrict images to allowed registries limits where workflow images come from. The default list is docker.io and ghcr.io, and custom entries replace it.
Rollout checks image references when a workflow is saved and at Publish. Draft autosaves and Test runs skip that check, and it skips references built with {{ }} templates. Docker and Kubernetes runs check the workflow image and service images again at start, default images included. They also check a node's own image once its templates render, so a template can't reach another registry, and an image that still holds {{ }} is refused. So is an image ID such as sha256:…, which starts whatever the Docker host already holds and names no registry. A name made only of hex characters reads as an ID, so give it a tag or a namespace. Images Rollout runs for itself, such as the Run JavaScript and SSH step images and connectivity sidecars, aren't checked.
The HTTP request node reaches public HTTPS destinations only, unless a connectivity service is bound to it, and it returns redirects without following them. Allowed origin fixes where a dynamic URL may go.
Tool calls and human review
A Tool whose settings don't say otherwise asks a person before every call. By default the Ask waits in the Inbox for 24 hours, then expires. Running a Tool without that Ask takes an explicit Run without approval setting (never over MCP).
Only a verified person can answer a Tool Ask, in the Rollout web app or Rollout Desktop. MCP can't answer, even with a credential that belongs to the same person. An Agent's credential never counts as a human answer.
- Changes made over MCP. Policies holds Allow human-reviewed unattended activation under Unattended action review. It's on by default: a Tool set to
neverover MCP waits for one person's review of the exact configuration and target. Off, MCP can prepare a draft and can't activate it. - While a review is pending. The pending version doesn't run. Other Tools on the same App, Agent or workflow stay callable.
- Answering. Rollout rechecks the requester, the source credential, the workspace policy, the exact Tool and target access before it applies an answer. A denied, expired, superseded or revoked Ask authorizes nothing.
- One-off
invokecalls. A raw native, remote or App-source call waits for one exact human decision, read-only calls included, and leaves no reusable access behind. - Selecting an accepted Tool through
invoke. It keeps itsneveroralwayssetting. The caller needs their own access to the configuration and the target, and doesn't borrow the App's, Agent's or workflow's grants or credentials. - Revocation. Revoking a grant closes calls that haven't started and pending reviews. Running calls, completed calls and calls with an unknown outcome keep their evidence. Rollout doesn't resend an unknown outcome on its own.
Public links
A published Page or an App link serves anyone without an account. Allow public links in Policies is the workspace-wide stop: off, nobody can create a link, and every existing link stops resolving, along with public form submissions and images on published Pages. A cached copy of a Page can last a few more minutes. It revokes nothing, so the links work again when it's back on. Publish to the web and Share an App cover the rest.
Audit log
Workspace admins read the log at Settings › Audit log. It shows when, area, action, outcome, subject and actor. Filter by area, action, actor and date. Times are in UTC.
| Area | What it records |
|---|---|
| Access | Sharing changed, Public sharing changed, Owner transferred, Moved, Runs as changed. Workspace members invited, joined, role changed, suspended, reactivated and removed, and invites revoked. Team members added, invited, joined, role or status changed and removed, and Team visibility changed |
| Secrets | Secret created, read, access checked, attached, value updated, details updated and deleted, Encryption key rotated, Secret store shredded |
| Fields | Field binding added, changed and removed, Field overrides changed |
A membership row names the person who acted, and keeps the person affected and their role and status before and after in the row's stored details, which the page doesn't show. A Member's subject is their user id. A Team's subject is its id, so an admin outside a secret Team sees that id and never the Team's name. A Fields row keeps what changed the same way, and a sensitive field's default value never reaches it. If Rollout can't write a membership or Fields row, the change doesn't happen.
Sign-ins aren't in this log. Neither are changes to a field or field group itself, field bindings and overrides that go with a permanently deleted Project, seats Rollout creates itself, such as the first owner's and an Agent's, or memberships removed by deleting a Team, a user or a workspace. Resending an invite, or repeating one at the same role, adds no row. Tool call evidence is on the Tool calls page. A signed-in member's read through an App that runs as whoever uses it changes nothing and leaves no call there.
A database trigger blocks row updates and deletes. The database role that owns the table can disable it. On a standard self-hosted install that's the role Rollout connects with, so anyone who can reach the database URL can rewrite the log, and a Native step has that URL. In Compose that role is a superuser. The trigger doesn't cover TRUNCATE. Deleting a user clears the person on their rows, which then show System as the actor. By default the log has no copy outside that database, so those edits leave no independent record.
Web security
- Browser pages send a Content-Security-Policy with a per-request script nonce, so inline scripts without the nonce are blocked. The policy keeps
'unsafe-eval'for scripts and'unsafe-inline'for styles. OAuth pages send a smaller policy with onlybase-uriandframe-ancestors. - CSP
frame-ancestors 'self'controls framing. Rollout doesn't sendX-Frame-Options. An embed link replaces that value with the origins set on it, or'none'when it has none. - Production responses carry Strict-Transport-Security. Plain HTTP is redirected, apart from the health and internal media paths.
- Other headers are
X-Content-Type-Options: nosniff,Referrer-Policy: strict-origin-when-cross-originandX-Permitted-Cross-Domain-Policies: none.
Data retention
Scheduled jobs apply these rules. No setting or environment variable changes these windows.
| Data | Rule |
|---|---|
| Finished production run | Archived 30 days after it was created, then permanently deleted 90 days after archiving |
| Finished Test run | Permanently deleted 7 days after it was created, with no archive step. Its child runs go with it |
| A run another run came from | Kept until the later run is gone, as with a retry or a Run from here |
| Archived item | Stays in its list's Archived view until restored |
| Deleted workflow, Project, Task, Document or Objective | Stays in Trash for 30 days, then permanently deleted. A workflow goes with its runs and Releases. A Project's Tasks are kept, unlinked, and its context Pages move to the workspace. A Task with Cycle history, or a Project that Team, Cycle or Agent history references, isn't removed. It's hidden everywhere except reports, and its row stays in the database with its content |
| Deleted file | Stays in Deleted files with its stored object until a workspace admin deletes it permanently. No daily job removes it |
| File attached to a Document, Task or Project | Stays, with its stored object, after that item is permanently deleted. An image pasted into one is removed 30 days later only where an operator turned on the inline_attachment_sweeper flag |
| Deleted secret | Archived and can't be restored. Its ciphertext stays in the database |
| Deleted Volume | No Trash, and you can't restore it from Rollout. With the Retain reclaim policy, which is the default, its data stays on the Docker volume, Kubernetes PersistentVolumeClaim or bucket prefix and keeps using disk until an operator removes it. With Delete, the next hourly cleanup removes the data |
| Deleted workspace | Members lose access at once, and its runtime resources are cleaned up after 30 days. Its rows, audit history and encrypted values stay in the database, and its files stay in object storage |
| Task, Document, Record, chat message or audit log row nobody deleted | Kept. No scheduled job removes it |
Recommendations
Grant minimal scopes. Pick only the scopes a Connection needs, and create separate Connections for separate scope sets.
Keep credentials in secrets. Store API keys and tokens as secrets, not in variables or workflow configuration.
Sign webhooks. Set a Signing secret on every webhook whose sender supports one.
Rotate after a suspected leak. Rotate the webhook URL, use Replace value on the secret, or use Sign in again on the OAuth Connection and revoke the old grant at the provider. For a compromised account, revoke its AI clients under Access too, because a password change leaves them active.
Separate test and production. Use different workspaces so a test can't touch production data.
Review access. Check Connections, Devices and Access, and remove what's no longer used.
Lock down run egress. On a self-hosted GKE cluster with the FQDN network policy API, turn on the egress allowlist if workflows should reach only known domains. Remember that it doesn't cover the HTTP request node.
Turn off Native on a self-hosted installation. A new Compose install already has. On any other, follow Turn off Native. While it's on, any workflow can choose it and Team roles don't contain that, so invite only people you'd trust on the server.
Troubleshooting
Session expired unexpectedly
- Sessions end after 60 days, and a password change ends them sooner, on Rollout Desktop too. Sign in again.
- Clear browser cookies if the problem persists.
Too many login attempts
- Failed password attempts are limited per IP address and per email.
- Wait about 15 minutes for the window to reset, or sign in with a magic link.
OAuth Connection failing
- Use Sign in again on the Connection.
- Check that all requested permissions were granted.
Webhook not validating
- Check that the signing secret matches on both ends.
- Check the Signature header name.
- If you set a Timestamp header, check Tolerance (seconds), that the header holds an ISO 8601 time, and that the sender signs the timestamp, a
.and the raw body.
The egress allowlist can't be turned on
- It needs Kubernetes on GKE with the FQDN network policy API. Hosted Rollout and Docker installations can't turn it on.