Security
Data flow
Exactly what travels where, for your security review.
Files and workspaces
Datasets are read in the browser from what your page provides: arrays, text, File objects or folders the user picks. Workspace JSON goes wherever you send it from engine.io exports and comes back through engine.io imports. The SDK makes no network requests with this data.
Live streams
| Party | Sees |
|---|---|
| Publisher | Plaintext samples and the password (it encrypts). |
| Kymoscope backend | Stream registry rows: name, owner, salt, key check. No samples, no key. |
| Kymoscope relay | Encrypted frames and a short-lived credential per connection. No key. |
| Viewer’s browser | The password (typed by the user), the derived key, decrypted samples. |
| Your backend | Your API key, and whatever authorisation you apply before minting tickets. |
Alert rules
In end-to-end encrypted projects, the rule definition (channels, thresholds, conditions) is encrypted in your browser with a project key. Kymoscope stores the rule's name, severity and which streams it applies to, so it can list it; it can't read the rest.
For the alert history, Kymoscope stores when each alert started and ended, which rule and stream it was, who acknowledged it and their note (stored readable). On a stream of an end-to-end encrypted project, an alert's details, such as its peak value, are encrypted with the project key, also for a personal alert rule; a browser without the key stores no details. On personal streams and in projects without end-to-end encryption, the details are stored readable. Notifications that leave Kymoscope (email, Slack, Teams, webhooks) say only the alert's name, its severity, the stream's name, the time and a link (emails also name the project), never values or channel names. Turn on Hide names in notifications to replace the alert's and the stream's names too (personal alert rules on the project's streams follow it as well). The timing of alerts is itself information; keep it in mind.
An alert set to run on the sending machine (the collector or a Python sender) reaches that machine as stored: in an end-to-end encrypted project still encrypted, and the machine opens it with the project key it already holds to publish. The machine reads these rules with its API key alone, without two-step verification, also in a project that requires it (an unattended machine can't give a second factor): in a project without end-to-end encryption, whoever holds the key can read the name, conditions and streams of the alerts that run on its streams. A rule that doesn't open, doesn't match its stored name and version, or is older than one it ran before doesn't run. The machine sends back which alert, which stream, when each alert started and ended, and the details above (encrypted with the project key in end-to-end encrypted projects), plus once a minute which alerts it runs and its version: never the stream's data or channel names. Messages with values go only to your own mail server or webhook, from the machine.
Third parties
- None. Every file the SDK loads, DuckDB-WASM included, is served from your origin.
- No analytics, telemetry or license call-home.
Related
See Watch tickets and Licensing.