Docs / Security / Security and protocol
Security and protocol
What Isolink protects, how, and where its limits are. The full protocol, byte for byte, and the threat model are in Markdown for anyone who wants to check them.
Encryption
- Messages use PQXDH key agreement (X25519 and ML-KEM-768) and the Double Ratchet, between each pair of devices. Every message has its own key, and keys move on with every reply.
- Links between devices, over Wi-Fi, Bluetooth, Nearby or a community server, are encrypted from the first byte after a key exchange. Each side proves its device key, and a hidden device says nothing about itself until it accepts the other.
- Files get a fresh key each. Big files are sealed in pieces that can't be reordered or cut short.
- Messages carried for you by other phones or a community are sealed again to the device they're for, and filed under a tag that changes every 6 hours.
- On your device, everything is encrypted with a key in the system keychain. Backups are locked with a passphrase or passkey.
- Updates are signed. The app installs one only if the signature covers that version, file and size.
The primitives are X25519, ML-KEM-768, Ed25519, HKDF-SHA256, HMAC-SHA256 and AES-256-GCM.
What it protects
- What you send, from the network, from phones that carry it, and from community servers.
- Past messages, if a device is broken into later.
- Future messages, once a conversation moves on after a break-in.
- Who you are, while hidden: strangers nearby see only tags they can't link to you.
What it doesn't
- Community servers see some of who talks to whom. A server knows each signed-in device and which devices a live call or link joins. Messages it holds for you are posted without saying who sent them or who they're for, except with older apps, and except that a phone woken by a notification can be matched to its messages. It sees addresses, timing and rough sizes.
- Phones that carry mail see a tag, a size, who handed it over and when. Strangers' phones can carry your sealed mail, and yours theirs, unless you turn that off in Settings.
- A first chat with no community in common, and chats with older apps, start with weaker forward secrecy for their first messages.
- Every device of your account can add devices. A lost phone should be removed from another device as soon as you can.
- Codes shared as links are trusted on first use. Compare safety numbers, or scan in person.
- The web app keeps its keys in the browser, unencrypted, and loads its code from isolink.app each time.
- Post-quantum only at the start. Conversations start with a post-quantum key, but later steps are not post-quantum yet.
Each of these is explained, with what would change it, in the threat model.
Compared with Signal
Isolink uses Signal's key agreement, with its post-quantum part and one-time prekeys, and its ratchet. Messages held by a community are sealed so it can't tell who sent them. Around them, its multi-device, groups, transports and carrying are its own design. Isolink has had no outside security review yet. The full comparison.
Bots on your computer
Bots can be allowed to run commands, open a terminal, see the screen and use the mouse and keyboard on a Mac or Windows PC. Each is off until you turn it on, on that computer only. What a bot reads goes to its community and to the AI model it uses.
- A terminal command a bot runs can do anything your account can.
- Text a bot reads, like a web page, can try to talk it into something else.
- Your other devices can approve a bot's commands on your computer.
Turn on Terminal and Control only on a computer that holds nothing you couldn't lose, and only for bots you trust. The bot threat model.
Checking the code
DevelopersA second implementation of the protocol, in Python, writes known-answer vectors, and Isolink's own tests check its code against them: sessions both ways, links, tags, sealing, files, padding and safety numbers.
python3 tool/security/protocol_reference.py --check
cd packages/isolink_core && dart test test/protocol_vectors_test.dart
A brief for an outside reviewer, with the files in scope and the questions we most want answered, is in docs/security-review.md in the repository.
Reporting a problem
Please report a vulnerability privately with GitHub's private reporting, not in a public issue. You'll hear back within a week.