Skip to content

Security overview

This page answers the questions a security review asks about wisp. Everything here can be checked in the code (github.com/WispAgents/wisp, MIT); each part names where. To report a vulnerability, see SECURITY.md.

Where your code and data live

  • wisp runs where your code is. On a laptop, a server or a cloud computer, wisp is a local server (wisp serve) that starts your coding agents (Claude Code, Codex and the others) in your folders. Prompts, code, the agents’ output, file paths and repository names stay on that machine. They’re never sent to us.
  • The agents’ sign-ins are theirs. wisp starts each agent’s own CLI; its sign-in and plan stay in that CLI’s folder. A run’s secrets never go on a command line (ADR-0116).
  • .env values are masked on the server before anything leaves it: what a task shows, shares, sync, MCP and the CLI (ADR-0050, ADR-0055).
  • Usage stats are anonymous counts, off with one switch or WISP_TELEMETRY=0 / DO_NOT_TRACK=1, always off in CI. A Grid you run sends nothing unless its grid.json says "telemetry": true. See the privacy policy.

What an agent can do

wisp keeps an agent to its own task: it can’t raise its own mode, and a change to your setup it asks for (a connector, a crew member, a project) is a card you allow or deny (ADR-0112, ADR-0113). In Plan the agent can’t change files or run commands (ADR-0135). In Full auto it runs commands as you, on the machine it runs on: give it work you’d trust it with, and run what you don’t trust in a sandbox (/sandbox), a machine of its own (ADR-0047).

The Grid: wisp for many people on one server

A Grid is wisp Cloud, or one you run on your own server and domain.

Isolation. Each person’s wisp (and each sandbox and team hub) runs in its own container under gVisor (runsc, its own kernel boundary), with its own home folder only root on the host can read. Boxes can’t reach each other, the cloud’s metadata address or outgoing mail (apps/grid/deploy/firewall.sh). The Grid itself runs as an unprivileged user that can’t use Docker; only a small root helper (wisp-grid-boxd) starts boxes, over a local socket.

Who reaches what is one table (apps/grid/src/trust.rs, ADR-0014): every route names the credentials that reach it (a browser session, a device’s token, an API key, a team’s deploy key, a box’s own secret), and anything not named is refused. Browser cookies never span two people’s addresses.

Secrets at rest are encrypted with envelope encryption: each account has its own data key (AES-256-GCM, each value bound to its owner and purpose), stored wrapped by the Grid’s master key, so rotating the master key re-wraps small keys and deleting an account’s key makes its secrets unreadable (apps/grid/src/secrets.rs). Tokens (sessions, devices, API keys, invite links, deploy keys, SCIM tokens) are kept as their SHA-256 only, and shown once.

Encryption in transit: HTTPS for the Grid and every address under it (Caddy, certificates per name).

Sign-in

  • Providers: GitHub, Google, or any OpenID Connect issuer, as the Grid’s operator sets in grid.json. Every sign-in carries state and PKCE (S256); OIDC adds a nonce and checks the ID token’s signature (RS256 or ES256 from the issuer’s keys), issuer, audience and expiry (apps/grid/src/auth.rs). An identity never joins an account by email address.
  • Who may sign up: open or closed, and an allow list by verified email, domain, GitHub org, account or team.
  • Your company’s SSO for the whole Grid: one OIDC provider (Okta, Microsoft Entra ID, Google Workspace, Keycloak), and only it on the sign-in page.
  • A team’s own SSO and SCIM, on wisp Cloud or your own Grid: the team’s identity provider, roles by group, SSO required with a session length, and SCIM 2.0 adding and removing people at once (guide, ADR-0152). A team’s provider speaks for that team only.
  • Sessions last sessionDays (30 unless set). Devices (the desktop and phone apps, the CLI) sign in with the device flow and can be removed from the account page, or sign themselves out.

A team’s own sign-in may also be SAML 2.0 (ADR-0154), verified by a strict profile in pure Rust: no DTDs or entities, exclusive canonicalization, RSA-SHA256/512 only (no SHA-1), keys only from the identity provider’s metadata, values read only from the signed element (no signature wrapping), sign-in started by wisp and bound to the browser, each assertion used once.

Not there (yet): per-request IP allow lists (put the Grid behind your own proxy or VPN for that), encrypted SAML assertions and SAML single logout.

Roles

Teams have owners (everything, including the team’s SSO and SCIM), admins (people, invites, keys, secrets, the hub’s GitHub), members (start tasks and triggers on the team’s hub) and viewers (read). The Grid’s own admins are named in auth.admins. Owners are never changed by SSO or SCIM, so a broken identity provider can’t lock a team out.

Offboarding

Turning someone off ends every way in at once: browser sessions at every address, the desktop and phone apps’ sign-ins, API keys, their computers’ tunnels, and their box. From the server (wisp-grid user disable <handle>), from a Grid admin’s wisp (wisp cloud users disable <handle>), or from the team’s identity provider through SCIM. Narrowing the allow list signs out whoever it no longer lets in, at the next reload and every hour.

Audit log

The Grid records who did what: sign-ins and refused sign-ups, ways in connected, devices and API keys made and removed, teams made and deleted, members added, changed and removed, invite links made and used, deploy keys, a hub’s secrets set (names only), its GitHub connected, a team’s SSO set or removed, SCIM changes, people turned off and on. Each line has when, what, who (or the Grid, or the identity provider) and ids; never a secret’s value or a token.

  • A Grid admin reads all of it: wisp cloud audit [team.] --since 30d, wisp-grid audit on the server, or GET /api/admin/audit.
  • A team’s owners and admins read the team’s lines: wisp team audit <team>, GET /api/teams/<team>/audit.
  • To your SIEM: GET /api/admin/audit?format=jsonl&after=<id> returns the lines after a cursor, oldest first, as JSON Lines: poll it from Splunk, Datadog, Elastic or Vector and keep the last id. A change that rolled back is never reported.
  • Kept audit.keepDays days (365 unless set in grid.json).

Running your own Grid

  • Settings as code: grid.json’s sign-in settings are checked and applied with wisp-grid auth check|apply, and reloaded without a restart.
  • Backups: wisp-grid backup writes a consistent copy of the database while the Grid runs (mode 0600). Keep the master key (secrets/master.json) and grid.json too, apart from it: the master key decrypts every secret.
  • Monitoring: GET /_grid/health answers 200 {ok, version} while the Grid’s database answers, 503 when it doesn’t. No sign-in, nothing about anyone.
  • Updates: deploy the newest apps/grid; the database migrates forward on start.

What we don’t claim

wisp has no SOC 2 or ISO 27001 report today. wisp Cloud runs on one server (Hetzner, Germany): for your own uptime, data residency or compliance requirements, run your own Grid; it’s the same code.