# Security overview

> How Ventgris isolates each workspace, where the trust boundaries are, what stays on your machine, and what Ventgris staff can and cannot reach.

Source: https://docs.ventgris.com/security/overview

Every Ventgris workspace is its own virtual machine at `NAME.ventgris.com`. This page explains what that machine protects, which boundaries hold between you and other customers, between people inside one workspace, and between the agent and your keys. Read it before you decide what to put in a workspace and who to invite.

## What is isolated from what

Ventgris draws a small number of boundaries. Each one has a mechanism and a limit.

| Boundary | Separates | Mechanism |
|---|---|---|
| Customer from customer | two workspaces | one virtual machine per workspace, no shared network between machines, one tunnel per workspace, published artifacts served from a separate domain |
| Workspace from the account app | your machine and `app.ventgris.com` | the machine talks to the account app over one outbound link that carries typed messages only. The account app never runs a command on your machine and has no route into it |
| The agent from your keys and rules | AI sessions, terminals and the Ventgris daemon | separate Linux users, no `sudo`, keys kept in the vault, a local API that checks which process is calling |
| Untrusted code from the workspace | sandboxes and the rest of the machine | code runs in a [sandbox](https://docs.ventgris.com/workspace/sandboxes.md) with filtered network access |
| Person from person, inside a workspace | two members of the same workspace | roles limit what each person can do in the interface. They do not hide files from each other: see [The workspace is the boundary](#the-workspace-is-the-boundary) |

## One machine per workspace

When you create a workspace, Ventgris creates a dedicated virtual machine and a data volume for it, in a data center in the EU. Nothing of that machine is shared with another customer except the hypervisor of the hosting provider.

- Two workspace machines cannot reach each other: they are not on a shared private network.
- Your files, databases, vault and session history live on the data volume of your machine.
- Resizing the plan changes the size of this machine. Deleting the workspace deletes the machine and its volume (see [Data and backups](https://docs.ventgris.com/security/data-and-backups.md#delete-a-workspace)).

## No inbound ports

A workspace machine has no listening port open to the Internet, over IPv4 or IPv6. It reaches the outside world only through outbound connections:

- a tunnel, opened by the machine, that carries the traffic of `NAME.ventgris.com` to the Ventgris daemon on the machine;
- the link to the account app, also opened by the machine.

A stranger who opens `https://NAME.ventgris.com` without a session gets the sign-in redirect, the static files of the interface (the same for every customer, with no data in them) and the signed webhook endpoints. Every other path, the API and the WebSocket included, answers `401`.

Requests that change something must come from the workspace's own origin: a `POST` or a WebSocket from another workspace's page, or from any other site, is refused. No response sets a cookie that another subdomain could read.

## Who runs what on the machine

Several Linux users share the machine. The kernel tells them apart, so a process cannot claim to be another one.

| Linux user | Runs | Can it read the vault and the rule set |
|---|---|---|
| `vg-ai` | AI sessions (Claude Code, Codex), the tasks and command jobs they start, and the terminals of the interface | no |
| `agent` | system jobs of the scheduler and the process that starts commands for the daemon | no |
| `vg` | the Ventgris daemon (`vgd`): the interface, the vault, the broker, the scheduler, backups | yes |
| `root` | system administration only | yes |

Neither `vg-ai` nor `agent` has `sudo`. The rule set (agent policies, autonomy gates, budgets) is owned by `root`, and the vault database belongs to `vg`: an agent that searches the disk for keys finds encrypted bytes it cannot open.

When a session calls the `vg` command, the daemon checks the caller's Linux user and process through the local socket, and a session must present its own token from inside its own process group. A session cannot borrow another session's identity. Details for agents: [Agent overview](https://docs.ventgris.com/agents/overview.md).

## The workspace is the boundary

Roles decide what a person can do through the interface and the API. They are not a confidentiality boundary inside one workspace.

- Anyone who can open a terminal (an `editor` or an `admin`) runs commands as the same Linux user as the AI sessions. They can read every file of the workspace, the home folder of that user, and the environment of the processes they start.
- An AI session of an unrestricted agent profile can do the same on behalf of whoever started it.
- `viewer` and `member` cannot open a terminal, but they can read files through the Files screen.

What no role below `admin` reaches: secret values in the vault, the rule set, and the member list.

> [!WARNING]
> Put in one workspace only what every person with the `editor` role there may read. Anything else goes in another workspace. Roles are described in [Roles](https://docs.ventgris.com/account/roles.md).

## Keys stay on the machine

Secrets you add in [Secrets](https://docs.ventgris.com/workspace/secrets.md) are stored in the vault of your workspace machine, encrypted with a master key that is sealed on that machine. The value is decrypted only in the memory of the Ventgris daemon.

| Mode of a grant | Who gets the value |
|---|---|
| `env` | the process the grant names (an agent, a job), in its environment. Use it for keys that only read |
| `broker` | nobody. The daemon uses the key itself to run a [brokered action](https://docs.ventgris.com/agents/brokered-actions.md) behind its guardrails |

Keys that send, publish or spend money are meant for `broker` mode: the agent asks for the effect, and the daemon decides whether it happens. A secret value is never written to a file, a log, a transcript or an artifact, and outputs that leave the machine are scanned for known secret values.

Changes to secrets (create, import, replace, change grants, delete) need a recent [step-up](https://docs.ventgris.com/security/sign-in-and-second-factor.md#step-up-for-sensitive-actions) and an `admin` role. There is no route that shows a secret value back in the interface.

## What the agent cannot do

The agent works inside limits it cannot lift by itself:

- It holds no key with an external effect in `broker` mode. To send an email or a post, it submits a brokered action, which runs only if its agent profile lists that action and the autonomy rules allow it (budgets, allowlists, undo windows, circuit breakers).
- Content it reads (a web page, an email, a channel message) is treated as data. A turn that read untrusted content is marked tainted: its outgoing actions wait longer before they leave, its writes to durable memory rules are quarantined, and some approvals then need a human step-up.
- It cannot change the rule set, the vault or the member list.
- Any member who sees it drift can freeze it: `editor` can call the freeze even though autonomy is otherwise admin-only. See [Autonomy](https://docs.ventgris.com/workspace/autonomy.md).

## Network limits on the machine

Outbound traffic is filtered per Linux user by the host firewall.

| User | Outbound access |
|---|---|
| `vg-ai` (sessions, terminals) | the Internet. Not the private address ranges, not the internal ports of the daemon on loopback, not the cloud metadata address |
| sandboxes | only the filtering proxy, which reaches the Internet and refuses private addresses |
| cloud metadata address | `root` only |

A session that reads a hostile page cannot reach the daemon's internal listeners by TCP. What it may ask of the daemon goes through the local socket and its policy.

## Audit

Each workspace keeps an append-only audit journal in its own database. Each row records who acted (a person, a session, a job, the system), the action, its target, and for people the IP address and browser. Each row carries the hash of the row before it, so a row changed afterwards breaks the chain. The journal never contains a secret value.

You read it in [Activity](https://docs.ventgris.com/workspace/activity.md), on the **Audit journal** tab. Typical entries: sign-ins, step-ups and failed step-ups, secret changes and grants, brokered actions run, blocked or cancelled, budget and gate changes, jobs created or disabled, artifacts published, sessions started, freezes.

The account app keeps its own audit of account events: account creation, sign-ins, step-ups, second-factor changes, workspace deletion requests.

## What Ventgris staff can and cannot access

Ventgris processes your workspace data on your behalf. You are the controller of that data under the GDPR, and Ventgris is the processor.

| Ventgris staff | Detail |
|---|---|
| Can see in the account app | your account email and name, your memberships in organizations and workspaces, billing identifiers, workspace states and usage counters (counters carry no content) |
| Cannot do from the account app | run a command on your machine, open a terminal there, read your files, or read your vault. The account app has no route into the machine |
| Machine access | platform operators can reach a workspace machine as `root`, only to handle an incident or at your request. Someone with `root` on the machine can read what is on it |

The account app signs the identity tokens that open a workspace. A token opens a workspace only for an account that is already one of its members, and it counts as a step-up only when it carries proof of a second factor.

### Subprocessors

| Subprocessor | Role |
|---|---|
| Hetzner | virtual machines and data volumes, in the EU |
| Cloudflare | network: tunnels, DNS, the web layer in front of `*.ventgris.com` |
| Stripe | payment |
| The transactional email provider | sign-in codes, invitations, notices |
| The model providers you choose (for example Anthropic for Claude Code, OpenAI for Codex) | the prompts and context your AI sessions send them |

## Related

- [Sign-in and second factor](https://docs.ventgris.com/security/sign-in-and-second-factor.md)
- [Data and backups](https://docs.ventgris.com/security/data-and-backups.md)
- [Roles](https://docs.ventgris.com/account/roles.md)
- [Secrets](https://docs.ventgris.com/workspace/secrets.md)
- [Agent overview](https://docs.ventgris.com/agents/overview.md)
