spaceapp.devDocsGitHub ↗Get SpaceApp ↗

Security & privacy

Understand the owner trust model and where your data goes.

Persistent storage and secrets#

Public installations store non-secret launcher configuration in the platform installation root. Application state lives in persistent Docker volumes and data locations managed by the stack; registered host workspaces remain host directories.

Provider API keys use restrictive local secret files and allowed imports to CLI state. OAuth/device state lives in the provider volume. The application core does not mount the raw provider-key directory or provider-state volume; CLI operations cross a protected channel.

Do not confuse this separation with protection from a malicious host administrator. The owner controls the host and Docker. A registered writable workspace grants meaningful filesystem authority to provider tools.

Portable backup includes database, application data, owner memory and integrity metadata. It excludes API-key files, OAuth/device provider state, host workspace contents and browser profiles. Backups themselves can contain sensitive owner/application content.

Authentication and trust model#

The public deployment targets one trusted owner operating one self-hosted instance. It is not documented as tenant isolation for mutually untrusted customers or a managed SaaS control plane.

Default protections include loopback binding, a hashed expiring one-time setup claim, no production default password, explicit workspace registration, separate provider state and no automatic Docker-socket mount into application containers.

Browser clients authenticate to the app. Provider CLIs authenticate to their respective services. Workspace access, tool permissions and external account scopes are separate authorizations; one successful login does not grant all of them.

Host-root mode, where supported and explicitly chosen, exposes the host filesystem with powerful write authority. It is not a resource profile or a stronger sandbox. Containerization alone does not make untrusted commands harmless when host directories are writable.

Repository instructions, pages, screenshots, model output, tool responses and memory content are untrusted data relative to the owner's instructions and runtime policy. They cannot authorize secret disclosure or privileged operations.

Network exposure and privacy#

The default address is http://127.0.0.1:4911. A remote device needs an owner-configured reachable address through an appropriately secured connection. Owners exposing the app are responsible for TLS, firewall/access policy, trusted proxy configuration, updates, backups and retention.

Use only documented configuration mechanisms for the installed release. Never invent a bind flag or expose a service on every interface as a casual troubleshooting step.

Outbound traffic can include registry/package downloads, provider requests, connected integrations and optional/configurable installer telemetry. Self-hosted is not synonymous with air-gapped. Inspect model and tool destinations before processing sensitive input.

Telemetry and outbound traffic#

Telemetry is off unless you turn it on. The install wizard asks Enable anonymous usage telemetry? [y/N], and the default is No. Only when you answer Yes does a successful first install (not an upgrade or re-run) send one ping to the public SpaceApp site. The payload contains a random install ID, OS, architecture, launcher/runtime versions and installation date, not project files or credentials.

This is the behavior of launcher 1.1.1. Earlier launchers (1.1.0 and older) sent the ping unless SPACEAPP_TELEMETRY disabled it, whatever the wizard answer.

From 1.1.4, an installation with telemetry turned on also sends one event the first time an agent finishes an answer, so the project can see how many new installations reach a working agent. It contains the event name (first_answer), the SpaceApp version, the CPU architecture, the date and a new random ID that is not linked to the install ping or to anything in the installation. No prompt, answer, model, account, file or path is sent. It is sent once per installation (a marker in the data volume records it) and never when telemetry is off.

From 1.1.6, a first install with telemetry Yes gets a random install ID (installId in config.json, passed to SpaceApp as SPACE_INSTALL_ID), and every event carries it: install_started (OS and version, CPU architecture and count, RAM in GiB, profile, access mode, launcher and runtime versions), install_completed or install_failed (duration, and the failed step), then from SpaceApp setup_completed, first_cli (which CLI started first), first_answer and at most one active event a day when the owner opens SpaceApp (screen size, pixel ratio, browser family and major version, UI language, SpaceApp version). The site derives the country from the request and never stores the IP address. No files, prompts, answers, models, credentials, workspace paths or account details are sent. Installations created by earlier launchers have no install ID and keep sending only the ping and first_answer event described above.

The environment variable SPACEAPP_TELEMETRY overrides the answer: 0, false, no or off never send the ping; 1, true, yes or on send it, which is how unattended installs opt in. To be explicit about opting out in your shell:

bash
SPACEAPP_TELEMETRY=0 npx --yes run-spaceapp@latest install
bat
set SPACEAPP_TELEMETRY=0
npx --yes run-spaceapp@latest install
powershell
$env:SPACEAPP_TELEMETRY = "0"
npx.cmd --yes run-spaceapp@latest install

Use the example for your shell. This controls the installer ping, not registry downloads, configured provider requests or connected integrations. Do not claim that self-hosted means no data ever leaves the machine.

Reviewed October 27, 2026 · Commands checked against launcher 1.2.3. Read the source reference ↗