# The security model

Mindfront checks which device is connecting, which records a person can read and which actions the system may take.

**Example email approval**

**Pending.** The draft waits for an authorised reviewer. No email has been sent.

**Approved.** Mindfront checks the connected account again before sending.

**Declined.** The proposed email stays unsent.

Pause animation

## Access to your instance

### The Mindfront app

People reach Mindfront through the Mindfront app. It carries its own private, encrypted VPN to your instance, with a separate key for each device. A new instance has no public web address.

### Paired devices only

Each device is paired once, with a single-use code from an administrator. A device that has not been paired cannot connect at all. On premises, people also sign in with a passkey by default.

### Record access

Private records are visible to their creator and to the people and teams they are shared with.

## How work runs

### Sandbox isolation

Analysis and shell commands run unprivileged, with capped resources and no network access.

### Boundary checks

Before a new workspace is used, Mindfront tests its file, process and network boundaries. A failure stops the job.

### Action policy

Your policy decides whether each action runs, waits for a person or is refused.

## How the software is checked

### Release scans

Before a server release is built, its source is scanned for exposed secrets and insecure connections, and its dependencies for known vulnerabilities.

### Running self-checks

Every five minutes, your server checks that it refuses other websites and people without the right sign-in. A failed check stops the server.

### Signed releases

A release is installed only after its signature and the hash of every file verify.

## Records and recovery

### Encrypted records

Stored records are encrypted and checked for tampering when they are read.

### Audit trail

Device changes go into an append-only log. Every action keeps a record of its review and its result.

### Disk snapshots

Mindfront Cloud keeps a snapshot of your instance every day and every week.

## For your security review

The detail behind each check.

**Pairing a device**

An administrator issues a single-use pairing code for one person. The person enters it in the Mindfront app. The device creates its own VPN key and sends only the public half. The code’s secret never leaves the device or your instance: access.mindfront.systems only tells the app where to find your instance. An instance with no internet route can issue an offline code to paste or scan instead.

**What the tunnel carries**

The tunnel runs inside the app. It carries the app’s own traffic to your instance, encrypted by the private VPN (WireGuard, an open and independently audited protocol) and again by TLS. The app adds no system VPN and changes no routes or DNS settings, so the rest of the device uses its usual connection and the app can run beside a corporate VPN. There is no option to send other internet traffic through your instance.

**Device revocation**

Each device has its own key and its own address on the private network. Removing one device closes its route to your instance. The person’s other devices keep working. People can remove their own devices, and administrators can remove anyone’s. Firewall rules block direct traffic between devices on the private network.

**Sign-in and sharing**

People connect from devices they have paired. On premises, they also sign in with a passkey by default, or with a single-use code sent by email, valid for 15 minutes. History follows access to the work that references it. Administrator status alone does not open everyone’s private conversations.

**Workspaces and connected services**

Workspaces get a writable work area, a read-only runtime, and CPU time and memory limits. Mindfront probes filesystem, process and network boundaries before using a new or unverified workspace. A failure or timeout stops the job. When code in a workspace reads your data through Mindfront, Mindfront checks the person’s access first.

**Action risk and review**

Every action carries a risk level. Your policy sets four thresholds: run automatically, review by a model, wait for a person, and refuse. At the default thresholds, sending email or a message from a connected account waits for a person. Model review can approve the action, block it, or pass it to a person with a one-sentence reason on the approval card. If no review model is configured, the action goes to a person. Adjustments for a connected account raise or lower its risk. A loop can pre-approve an action or require human approval, but cannot lift the refusal threshold.

**Approvals at execution time**

A connected account limits what Mindfront can do upstream. Mindfront checks the proposed action and its arguments. Before running an approved action, it looks up the connection again with the current permissions. Approval cannot move the action to another account. Mindfront’s own background decisions cannot leave an action waiting for a person: one that needs approval is refused.

**Release verification**

Every server release is built and signed by Mindfront’s release server. Before a release is uploaded to an instance, the deployment tool checks its signature, its commit, the instance’s processor architecture and every file’s hash against the signed release information. Failed verification stops the deployment.

**Encryption and copies on a device**

The server encrypts stored records with AES-256-GCM and checks their integrity when read. Connected-account credentials live in an encrypted vault. A signed-in device keeps local copies. Their protection depends on the operating system’s disk encryption and user profile. Signing out clears synced records. An offline device clears them when it next learns its session has ended, or on the first launch at least 14 days after its last confirmed sign-in.

**Audit records and restoration**

The device log records each device added, changed or removed, with the administrator who asked and, for a change, the device before and after. It also records each start, stop and restart of the private network. Action records keep the proposed action, the review decision and the result. Model reviews keep their reasoning. Mindfront Cloud keeps daily disk snapshots for seven days and weekly snapshots for 90 days, in your instance’s hosting region. Restoring protected records requires the vault key.

**Webhooks**

Some connected services announce changes by webhook. Each instance has its own relay to receive them. Your instance collects them over an outbound connection, so it needs no public address. The relay keeps each message in memory only, for at most five minutes, and holds no credentials for the connected service.

## Questions from people using Mindfront

For the people who use Mindfront and the administrators who support them.

**Do I need a VPN?**

No. The Mindfront app connects to your instance on its own. Open the app and sign in.

**Does Mindfront see my other internet traffic?**

No. Only the app’s traffic goes to your instance. Your browser, mail and other apps use your usual connection.

**Is it safe to use Mindfront on public Wi-Fi?**

Yes. The app’s traffic to your instance is encrypted, so others on the same network see only encrypted packets. Your other apps are protected only by their own encryption.

**Which devices are supported?**

The Mindfront app has releases for macOS and Windows, and test releases for iOS and Android. One person can use several devices at once. Each is paired with its own code.

**Does the app connect automatically?**

Yes. While the app is open, it connects to your instance and reconnects when the device wakes.

**Can other people reach my device through Mindfront?**

No. Firewall rules block traffic from one device on the private network to another.

**What if I lose a device?**

Remove it from your devices, or ask your administrator to. It can no longer reach your instance. Your other devices stay connected. Pair a replacement with a new code.

**The app will not connect. What next?**

Some networks block the VPN’s traffic. Try another network, such as mobile data. If that does not help, contact your administrator.
