Security at CockpitAI
Cockpit attaches to the agents on your own machines. Your code stays on your hosts, your AI subscriptions stay yours, and the backend holds only what it needs to sign you in, sync your settings and connect your browser to your hosts.
Where your data goes
- Model traffic: agent CLI → cockpit-proxy on your host → your AI provider. Our backend never calls an LLM and does not see your prompts on their way to the provider. The only prompt Cockpit sends on its own is a one-line check that a new Codex version routes through cockpit-proxy, run on your host with your account.
- Desktop: the app connects to your hosts directly over SSH, a local shell or WSL2.
- Phone and browser: Cockpit Web reaches your host through an outgoing relay that the host opens to cockpitai.dev – no open ports on your host. What you see in the browser passes through our relay and web server in memory only; we do not store it.
- Backend: your account, your devices, your synchronised settings, the encrypted vault, the credentials of your AI accounts, MCP sign-ins and optional Gmail authorisation, your subscription and wallet, and the AWS workers you order. Bug reports you send go to our support service desk.
All connections use TLS. The details – what we store, why and for how long – are in the Privacy Policy.
Your vault
Secrets you keep in Cockpit's vault are encrypted on your device with a key derived from your passphrase (Argon2id, AES-256-GCM). The server stores the encrypted blob but cannot read it – and cannot recover it if you lose the passphrase.
It also holds the SSH keys and MCP server secrets you choose to sync. When you switch to another Cockpit account on a computer and choose Start clean, the previous account's secrets are kept for 30 days in that computer's encrypted storage and come back only to that account.
AI account credentials
Our backend holds the credentials of your AI accounts encrypted at rest, with a key kept outside the database. It refreshes them for you, and your hosts receive only short-lived access tokens, end-to-end encrypted to each host – the synchronisation service and the web server never see them.
When you sign in to an MCP server, Cockpit keeps the sign-in in our backend, encrypted like your AI accounts. The refresh token never leaves our backend; the proxy on your host adds a short-lived access token to each request to the server.
Grok Build (xAI) is started with its xAI endpoints pointed at cockpit-proxy and with its telemetry and self-updates switched off; cockpit-proxy refuses the agent's attempts to reach xAI directly. We ask xAI to switch its coding-data sharing off for xAI subscription accounts signed in through Cockpit – please verify it in your xAI settings.
Cockpit Web
Every relay connection is authenticated per host, and only your own browser sessions – and
the members you invite into a shared project – can use it. Sign-in uses a session cookie
(HttpOnly, Secure) and no tracking. You can review and sign out
devices and browser sessions in the app at any time.
AWS workers
Each worker is a separate virtual machine with encrypted disks in a separate cloud account in the EU. It has no open inbound ports and is reachable only through the relay. You have full administrator rights inside it; our protections sit outside the machine (network rules, account guardrails, flow and DNS logs kept for 30 days). We do not read the content of a worker; an operator opens a session on it only in a security incident or at your request, and the session is recorded.
Signed releases
The desktop app installs an update only when it carries Cockpit's release signature, and the proxy installed on your hosts is verified the same way.
Our operations
The backend runs in the European Union. Access to the back office needs a passkey and is recorded in a tamper-evident audit log. Read-only support views of AI account metadata (never tokens) and emergency access to an AWS worker go through audited tools in our cloud account; support views appear in your account's access history, and sessions on workers are recorded. Services run in separate containers with least privilege; the AI account credentials have their own database.
Vulnerability management
Container images are scanned with Trivy before every release and our source code on every change; the deployed images, the software inventory (SBOM) of our server and the machine image of AWS workers are scanned every week. New critical findings alert us immediately and every high or critical finding is tracked until it is fixed or documented.
Backups, monitoring and outbound traffic
The database is backed up daily and the server disk is snapshotted daily; backups are encrypted, stay in the EU and are kept for up to 35 days, and recovery is scripted. Alarms on availability, disk space, errors and e-mail delivery notify the operator. Outbound DNS of our servers and of AWS workers goes through a DNS firewall with an allowlist; unknown destinations raise an alert.
Reporting a vulnerability
Please report security issues to security@cockpitai.dev with the steps to reproduce them. We read every report and respond, without a guaranteed time. Please give us a reasonable time to fix an issue before you disclose it, and do not access other users' data or disrupt the service while testing.