Files
VoelinClient/SECURITY.md
T
Claude 25bf4e09d1 voelin-ui: account portal on Windows, demo mode, notices and one-time codes
- The account website actions said "Could not open your browser" on every
  click on Windows (explorer exits with 1 on success) and waited for the
  browser to close with a foreground xdg-open: success is that the opener
  started, as for files (open_target).
- VOELIN_DEMO_UI's account screens signed in and out for real and could
  delete or replace the developer's saved session: demo mode uses an
  in-memory secret store and its sign-in and sign-out do nothing.
- A notice from the start (an imported identity) ran out behind the account
  prompt: the toast's time starts when the prompt closes.
- After an account asked for a one-time code, signing in was blocked until
  one was typed, also for another account: the code field shows but no
  longer blocks; a 2FA account without it is asked again.
- SECURITY.md lists the myTeamSpeak secrets in the keyring, the account
  service the app talks to, and that servers get the account's id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 18:48:11 +00:00

72 lines
4.6 KiB
Markdown

# Security
## Reporting a vulnerability
Please report security problems privately through GitHub: **Security >
Report a vulnerability** on
https://github.com/Faumaray/Voelin (private vulnerability
reporting). Do not open a public issue for them. If private reporting is not
available, open an issue asking for a contact, without details.
Include what is affected (desktop app, Android app, `tsgw` gateway, `voelinctl`),
the version or commit, and how to reproduce. You should get an answer within
a week. Fixes are released as soon as they are ready and credited in the
changelog unless you prefer otherwise.
Supported versions: until 1.0, only the latest release gets fixes.
In scope: this repository's code and its packages. Problems in TeamSpeak
servers or the official clients belong to TeamSpeak Systems GmbH; problems in
dependencies to their projects (tell us too if this client is affected).
## What the client stores
There is no telemetry and no account with us. The only outside account is
the optional myTeamSpeak sign-in (desktop), which talks to TeamSpeak's
service at `clientapi.myteamspeak.com`: at sign-in, when a saved session is
checked at start, and at sign-out.
| What | Where | Protection |
|---|---|---|
| Identities (TeamSpeak private keys) | SQLite database `client.db` in the data directory (`~/.local/share/voelin`, Flatpak `~/.var/app/<app id>/data/voelin`, `%APPDATA%\voelin`, Android app storage) | File permissions of the user account only; not encrypted. An identity is the account on every server that knows it: back it up, do not share the file |
| Server and ServerQuery passwords | OS keyring (Secret Service, Windows Credential Manager, Android Keystore), service `voelin` | Keyring; kept in memory for the session only when there is no keyring |
| myTeamSpeak account (optional sign-in, desktop): session, renewal and one-time-code renewal tokens, device id, email, username, account id and the account's private signing key | OS keyring, service `voelin`, item `myts/session` | Keyring only: without one the sign-in is not kept, not even in memory. Passwords and one-time codes are never stored. Signing out deletes the item and ends the session at TeamSpeak |
| Bookmarks, settings, chat history | `client.db` | File permissions; history stays until deleted |
| Crash reports (opt-in) | `crash-reports` in the state directory (`~/.local/state/voelin`, `%LOCALAPPDATA%\voelin`) | Local only, never uploaded. They contain the panic message and a backtrace, which may include server addresses or names; review before attaching one to an issue |
| OpenH264 (opt-in) | Downloaded from Cisco into the app's directories | Loaded only if its SHA-256 matches a known Cisco build |
## What others can see
- **Voice connections** use the TeamSpeak protocol's encryption. The server
and its admins see what any client sees: your nickname, identity, IP
address, channel and messages.
- **Signed in to myTeamSpeak**, every voice server you join also gets your
account's myTeamSpeak id with a proof signed by the account, which links
your visits to different servers to one account. Signing out clears it on
the servers you are on.
- **Streams (TeamSpeak 6)** are peer-to-peer WebRTC (DTLS-SRTP). Viewers and
streamers exchange ICE candidates, so **they learn each other's IP
addresses**, including local network addresses. Only watch and share
streams with people you are fine sharing your address with.
- **Relayed channel chat** (gateway or own ServerQuery login) is posted by a
query client as `[Nick] text`; people in that channel see it came through
a relay.
## What the gateway (`tsgw`) stores
The gateway is run by a server admin (see
[docs/gateway-admin.md](docs/gateway-admin.md)). In its SQLite database
(`history.path`, default `tsgw.db`):
| Table | Contents | Retention |
|---|---|---|
| `tokens` | SHA-256 hashes of login tokens (never the tokens), the user's unique id and database id, expiry | Removed after expiry (`auth.token_ttl_hours`, default 30 days) |
| `messages` | Relayed server and channel chat: target, time, author unique id and name, text | `history.retention_days` (default 30); disable with `history.enabled = false` |
| `audit` | Time, unique id and action of every login and post | Not pruned automatically; the admin should rotate it |
It holds no voice and no passwords of users: users log in by signing a
challenge with their identity key. The gateway's own ServerQuery credentials
(usually with admin rights) are in its config file, a password file or
`TSGW_QUERY_PASSWORD`: keep them readable only by the gateway's user. Serve
the gateway over TLS (`wss://`) only; tokens travel in its messages.