At a glance
| App | End-to-end encrypted | Your server can read |
|---|---|---|
| KyIdentity | Not applicable | Accounts, groups and the audit log. Passwords and recovery codes are stored hashed. |
| KyPost | PGP mail, with keys held on your devices | All ordinary mail, plus metadata of PGP mail, and its subject unless the sender hid it |
| KyRecovery | Yes, sealed by each app | Backup labels and sizes, not contents |
| KyNotes | Yes | Who shares what, sizes and times, not note contents |
| KyDNS | No | DNS records, leases, and query history if you turn it on |
| KyCalendar | No | Every event |
| KyDrive | No. Files are encrypted at rest with a server-held key | Every file |
| KyMessages | Yes, for messages in encrypted rooms in Element | Room names, members, times and devices; message text only in unencrypted rooms |
| KyYard, KyPulse | No | Container settings, logs and health data |
KyIdentity and KyAuth
Protects. Passwords are hashed with Argon2id, and ten failed attempts lock an account for 15 minutes. Second factors are passkeys, authenticator codes, recovery codes and push approval where you type the two-digit number from the sign-in screen into KyAuth, limited to five pushes per user per hour. Sessions are server-side, and only a hash of each session token is stored. TOTP secrets, connector credentials and mail settings are encrypted at rest with AES-256-GCM. Calls to connected apps and to phones' push services go through one guarded client: HTTPS only, no redirects, private addresses refused by default. The push relay and Google's attestation list are fixed HTTPS addresses.
KyAuth, the phone app, keeps authenticator secrets in an encrypted vault unlocked by biometrics or screen lock, and signs approvals with a key held in secure hardware (the Android Keystore or the iPhone Secure Enclave). On Linux phones the vault is encrypted with your passcode, and there is no hardware keystore. Secrets never leave the phone, and the app has no backup or sync, so a lost phone means re-enrolling.
Your server can see usernames, email addresses, groups, app assignments and the audit log with client IP addresses, all unencrypted. Anyone with the data volume has the encryption key too.
Talks to. Unless your operator turns them off, sign-in requests to Android (Firebase) and iPhone go through our KyAuth push relays to Google or Apple. They are encrypted to keys on the phone for pairings made with a current KyAuth: iPhones paired before October 13, 2026 should pair again, and Android phones paired before KyAuth 0.5.0 should tap Reconnect. UnifiedPush and Ubuntu Touch pushes are encrypted and skip our relay entirely. By default the server also fetches Google's Android attestation status list.
Doesn't protect against a compromised host, or a misconfigured trusted-proxy setting, which lets callers fake their IP address and slip past rate limits. Apps that don't support back-channel logout keep their own sessions after you sign out of KyIdentity.
Pairing and app sign-on. Current QR pairing proves a secret derived from the scanned token and authenticates the request and response; it does not transmit that token. This requires compatible KyAuth and KyIdentity versions. Short-PIN pairing retains trust-on-first-use limits. Current KyAuth/KyIdentity and supported KyPost clients bind app sign-on to a per-attempt proof key, so a copied ID token alone cannot complete it. KyAuth deliberately uses platform HTTPS trust without a certificate pin; signed approvals do not make every exchange opaque to a trusted interceptor.
Still unproven. Device attestation and encrypted iPhone pushes have not yet been confirmed on real hardware. Before a recent fix, push approval could be bypassed; that is now covered by regression tests.
KyPost
Protects. Your PGP private key is created or imported and wrapped in your browser, and the server receives only the wrapped copy. The browser splits your password so the server never sees the half that unlocks your key. A device paired by QR code or link gets no mail until you approve it on the page that showed the code, after matching a six-digit code on both screens. Each device you set up for encrypted mail gets its own sealed copy of the key: in the Android Keystore, or the Secure Enclave on iPhone and Mac. KyPost for Linux imports the key into your GnuPG keyring. IMAP passwords and TOTP secrets are encrypted at rest. Sign-in supports authenticator codes, push approval, OpenID Connect and a local proof-of-work CAPTCHA.
Your server can see all ordinary mail, since it reads it to label it, plus the routing details and labels of PGP mail. Contacts, rules and history are not encrypted. Anyone with the private key folder can decrypt the stored IMAP passwords and TOTP secrets.
Talks to your mail provider, which can see a PGP message's subject unless the sender hid it, as KyPost does. The AI labelling model runs inside the container, and a test proves PGP mail is never sent to it. If you point it at another host, that host sees your ordinary mail. Android and iPhone notifications pass through our relay and Google or Apple, unencrypted. By default they carry no sender or subject, and PGP mail never shows a preview. UnifiedPush, App Pull and KyPost for Linux skip our relay.
Doesn't protect against a compromised server serving malicious browser code, or prompt injection steering the labels. Labels are a convenience, not a security boundary.
Device connections. Updated Android clients pin TLS and accept a renewed leaf only with the relay’s signed statement. Operators must configure the matching public certificate chain with KYPOST_TLS_CERT_FILE for rollover. An explicitly enabled TLS probe is weaker; absent a usable signed statement, clients keep their existing pin. App sign-on also requires the per-attempt proof described above.
Still unproven. Receiving mail directly into KyPost is opt-in and still being qualified. The iPhone and Mac apps have no published release.
KyRecovery
Protects. Each app seals its own backup with hybrid post-quantum encryption (X-Wing: ML-KEM-768 with X25519, then AES-256-GCM) before upload. The recovery key is generated in the operator's browser and split into k-of-n custodian cards, and only the public key reaches the server. A test in CI, TestNothingInTheServerDecrypts, fails if any server code imports what it would need to decrypt.
Your server can see each backup's size, hash and unencrypted label (app, version, key ID), plus custodian names and the audit log. App tokens and session IDs are stored only as hashes. It cannot see backup contents.
Talks to the off-site targets you configure: S3 or R2 over HTTPS, SFTP with a pinned host key, SMB, or a local mount. Each receives only the sealed files.
Doesn't protect against an SMB server that grants an unsigned guest session. An impostor share could accept uploads that never land, so prefer S3 or SFTP. Restoring an old but valid backup is possible; check its date against the deposit record.
Key rotation. You can rotate the recovery key with a new ceremony and new cards. Old backups still open only with the old cards, because the server cannot re-seal what it cannot read. Each app picks up the new key only when you re-pair it and confirm the key ID printed on the new cards; until the Ky apps ship that support, re-pairing to a new key is refused.
Still unproven. The server records deposits but never claims a restore was verified, so test a restore yourself.
KyNotes
Protects. Notes are encrypted in the browser with a key per notebook (AES-256-GCM). Notebook keys are shared with teammates by wrapping them to each person's X25519 key. The server receives only a verifier derived from your password, never the password itself, and keeps a recovery copy sealed under a 128-bit recovery code it never sees. Tests check that a known plaintext marker never appears in logs, HTTP responses, database columns, blob storage or backups.
Your server can see who shares which notebook, object sizes, versions and times, and reminder times if reminder push is on. It cannot see note contents or keys.
Doesn't protect against a compromised server serving malicious browser code. An admin who resets a local account's password can also act as that user until the user changes it. Removed members keep whatever they already downloaded. Identical attachments are visibly identical.
KyDNS
Protects. The admin login uses Argon2id and hardened cookies. The admin UI answers only to allowed hostnames, which blocks DNS rebinding, and refuses cross-site writes. Only networks you allow can query it; allowing a public range has to be retyped and leaves a permanent warning. The container runs as a non-root user with every capability dropped. Replication between nodes uses TLS 1.3 with pinned certificates.
Your server can see your records and DHCP leases. Query logging is off by default, and logging client addresses is a separate opt-in.
Talks to upstream resolvers over DNS-over-TLS, by default Cloudflare (1.1.1.1) and Quad9. They see the names you look up, not which device asked. Blocklists are fetched over HTTPS only. An AI agent you connect over MCP is read-only by default, can never change upstreams or listeners, reads the query log only if you allow it, and loses its token after 90 days unused; block-list names it reads are untrusted text that could try to steer it.
Doesn't protect against forged answers from upstream: local DNSSEC validation is off. New installs enable validation; upgrades preserve the prior setting. With validation enabled, bogus signed answers fail, but unsigned zones and configured private zones are not authenticated. Root trust anchors change through software updates; signature-date checks are temporarily skipped while the clock is unsynchronised, with a dashboard warning. Blocking is domain filtering, not malware protection. Write access to its database file equals admin access.
KyCalendar
Protects. Sign-in is local accounts or one OpenID Connect provider such as KyIdentity; MFA is handled by the identity provider. Sessions and app passwords are stored only as hashes. Feed links and connector secrets are encrypted at rest. In production it refuses to start without an https address unless you explicitly allow plain HTTP.
Your server can see every event and task. Calendar and task data are stored as plaintext. Inside the app, administrators get no access to anyone's calendars.
AI agents connect over MCP with tokens you create and can revoke at any time. Each token has one scope: read, edit only events it created, or edit any. Tokens reach personal calendars only, can't delete anything, can't add or change who is invited, never work over CalDAV, and are revoked after 90 days unused. The agent and its model provider see the events it reads, and event text can carry prompt injection the server cannot stop.
Still unproven. Invitations through KyPost are on when KyPost is linked, but have not yet been tested end to end on real devices, and answering an outside invitation from KyPost does not yet add it to KyCalendar. With PostgreSQL, KyCalendar makes no sealed backups; your own database dump holds every event in plain text.
KyDrive
Protects. Sign-in is through KyIdentity. Every file version is encrypted at rest with AES-256-GCM under its own derived key, and file names, thumbnails and extracted text are encrypted too. App passwords, agent tokens and share links are stored as hashes. Content search keeps keyed word hashes and a sealed vocabulary for prefix matching, with no plaintext words, and shows only matches and snippets from files you, or an AI agent you connect, can read at that moment; guest links have no search. Updated desktop and Android apps sign device requests with an enrolled key; the current server refuses a credential without its signature, so older links may require re-linking. Desktop keys and tokens share an OS-keyring item; Android uses Keystore. Both pin the server’s TLS leaf and accept rollover only with its long-term identity-key signature. Configure KYDRIVE_TLS_CERT_FILE from the edge’s public certificate chain and preserve the server identity key in backups. The optional TLS-probe mode is weaker; without a usable rollover statement, syncing stops rather than accepting an arbitrary certificate.
Your server can see every file. This is not end-to-end encryption: whoever holds the deployment key can read everything, and that key sits beside the data unless you move it into a secret. Someone with the disk but not the key can still tell from the search index which files share words and how often words occur.
Talks to the self-hosted document editor, which processes files in plaintext; your Restic backup target, which receives encrypted data only; and any AI agent you connect, with a token that never exceeds your role, can't delete permanently, and expires after 90 days unused.
Still unproven. Indexing has not been measured on a small NAS, and PDF text extraction through Euro-Office has dropped some characters and table columns in testing. The desktop app's Windows and macOS releases are not code-signed, so Windows and macOS warn before the first launch.
KyMessages
Protects. KyMessages runs unmodified Synapse, Matrix Authentication Service, Element and LiveKit, pinned by image digest. Members sign in through KyIdentity only, with no password login or open registration; meeting guests need the separate administrator opt-in described below. New rooms are encrypted end to end in Element, and a CI test checks that message text never reaches the database.
Your server can see room names and topics, membership, display names, times, devices and IP addresses. Synapse does not enforce encryption, so a client that doesn't encrypt can post readable messages into an encrypted room.
Talks to nobody by default: federation is closed. Servers you allow keep copies you can't recall, and a room on a public server reaches every server in it, allowed or not. Element's integrations and telemetry are switched off. Stock widget support is enabled for calls; adding arbitrary meeting-room widgets remains restricted.
Meeting guests and status. Guest meeting access is a separate administrator opt-in, off by default, and bounded to the meeting’s windows. Paired KyCalendar sends busy intervals and KyPost sends out-of-office dates to KyMessages for colleague-status lookups. Those messages exclude event titles and reply text. Members can turn sharing off; ordinary Matrix presence and last-active reporting stay disabled.
Meeting notes are off by default. Once a room admin invites the bot, it joins the next call, announces that it is recording, transcribes on your server and posts the notes, encrypted, to the room. It sees the meeting in plaintext, and with !notes screens on it also captures stills of shared screens. Audio is dropped after transcription, and nothing leaves your server.
Still unproven. Encryption for calls, and encryption across federated servers, have not been verified.
KyYard
Protects. Sign-in uses Argon2id, authenticator codes and optional KyIdentity. Registry credentials are encrypted and write-only through the API. Remote agents join with a single-use token, then need a person to approve their fingerprint.
Your server can do a lot. Mounting the Docker socket gives KyYard root on that host, and it is not a sandbox. On Kubernetes it reads workload specs, events and logs cluster-wide, but no Secrets, and makes changes only in the namespaces you list. In those namespaces it can read any Secret by name, run pods that mount them, and open a shell in any pod, so list only namespaces that enforce Pod Security baseline or stricter (KyYard refuses to deploy into any other). Organisation admins can read containers' environment variables. AI agents over MCP are read-only by default. An admin can let one restart containers and apply update plans, but no agent can stop, delete, run commands or read secrets, and container logs can steer an agent.
Still unproven. The threat model is still a draft for review.
KyPulse
Protects. Sign-in uses Argon2id, authenticator codes and optional OpenID Connect. Webhooks, tokens and TOTP secrets are encrypted at rest, and the audit log is a keyed hash chain you can verify. Outbound checks refuse cloud metadata addresses. Loopback and link-local targets are refused by default; a TLS-only target can explicitly allow them, and that opt-in is audited. The container is read-only, non-root and published on loopback only by default.
Your server can see the health data and, for admins only, the logs it collects. It is read-only towards the apps it watches. The optional log shipper reads the Docker socket, which is root-equivalent, so put a read-only socket proxy in front of it.
Talks to your alert channels (ntfy, Gotify, Discord or a webhook), and optionally a paired KyPost mailbox. Its owner must enable email and approve recipients; external recipients confirm by link. Certificate monitoring stores certificate details and expiry. Alert payloads describe the app and problem rather than collected log lines. Keep a separate off-host channel in case KyPost fails too.
KyQuickStart and KyQuickStart AI
KyQuickStart pins SSH host keys and generates each app's secrets on the target (owner-only files on Docker hosts, a locked-down pod on Kubernetes), and they never appear in command lines or its saved state. Its SSH user needs Docker access, which is effectively root on that host. It is pre-release, and its macOS build is unsigned.
KyQuickStart AI gives your AI agent a dedicated kyops login on each server: key-only, no password, no sudo, but in the Docker group, which is root-equivalent. On a Kubernetes cluster the agent gets only its own bounded ServiceAccount, never your admin kubeconfig. Host keys are pinned, and revoke removes access afterwards. On your own computer the agent runs as you, and the limits in its prompt are instructions, not a barrier. Everything the agent reads or prints goes to your AI vendor. Secrets are meant to stay on the servers, but a misbehaving agent could read them. The login sheet is written owner-only to your computer, and you should shred it once your passwords are stored. Use it on servers you can rebuild.
Reporting a vulnerability
Report privately with Report a vulnerability on the affected repository's Security tab on GitHub, or email hello@busnes.app with "Security" in the subject. Please don't open a public issue.
You'll get an acknowledgement within 2 business days. The target is public disclosure within 30 days for critical issues, 60 for high and 90 for moderate. A fix ships before the advisory, and reporters are credited unless they'd rather not be. Ky is maintained by one person, so a clear reproduction helps most.
Each repository's own SECURITY.md, where it has one, holds the full threat model and takes precedence over this summary.