Try to get in.
Pick an attack and see where it stops. To reach your machine, someone would have to get through all five gates.
- AccountPassword, passkey, two-steppassesBLOCKED
- DeviceTwo-step or approvedpassesBLOCKED
- EncryptionEnd to endpassesBLOCKED
- Your machineSigned, connects outwardpassesBLOCKED
- GuardYour rulespassesBLOCKED
BLOCKED · AccountAfter 10 failed attempts sign-in for that account pauses, and an email that doesn’t exist gets the same answer as a wrong password.
BLOCKED · DeviceThey get into the account, but without two-step or a passkey their browser waits for your approval. With your two-step on they can’t add their own; if you don’t have it, you get an email and “Forgot my password” undoes it.
BLOCKED · DeviceWithout your account they see nothing. Each device has its own pass, which expires and which you revoke with one click.
BLOCKED · EncryptionThey find accounts and plans, not your code: traffic is encrypted with keys it doesn’t have. So it can’t fake a two-step sign-in either, turn off entry without approval.
BLOCKED · Your machinedoki-hub releases are signed. The hub checks the signature and the version number before installing.
BLOCKED · GuardGuard applies your rules: allow, ask or block. What asks reaches your Inbox, and taking the brakes off can only be done on the Mac.
What each side sees
sees itcarries it encrypted, can’t read itdoesn’t have it
All the details
Where your data lives
doki reads your agents’ sessions on the machine where they run and types into them right there. None of that is uploaded to usedoki.com to make it work.
The server keeps the minimum for your account and your plan. The full list, with how long each item is kept, is in What we store.
- Stored: your email and name, your password only as a hash, the public part of your passkeys, your plan and billing status, and the name, OS and last connection of your machines.
- Stored encrypted: your two-step verification secret, and your machines’ SSH user and local network addresses. The key for that encryption isn’t in the database.
- Never stored: your code, your projects, your files, your conversations, what the console shows, your private SSH keys, your API keys or your card.
- The IPs of people who open your link are neither stored nor logged.
End-to-end encryption to each machine
When you use doki in the browser away from home, on a computer or a phone, usedoki.com acts as a relay. Every call goes inside an encrypted envelope that only your browser and the destination machine can open.
The server carries those bytes but can’t read them: it doesn’t see the chats, the code, the console or your device’s pass. It doesn’t log their content or headers either. Your machine rejects unencrypted calls that arrive through the public link.
Each machine has its own key. Your browser remembers it the first time and, if it ever changes, warns you before going on: “Your machine’s identity changed”.
- The relay for machines over SSH only works if you turn it on, and it carries traffic SSH has already encrypted end to end.
Signing in: passkeys and two-step verification
You sign in with your email and password. You can add passkeys and two-step verification with an authenticator app. For passkeys the server keeps only the public part; the private part stays on your device.
Changing those factors is a protected operation. Adding or removing a passkey or two-step verification asks you to have entered your password recently, and every change is emailed to you.
- If someone adds a factor to your account, you get an email. For 7 days, “Forgot my password” with the emailed code undoes it.
- Changing factors signs out the account’s other sessions.
- After 10 failed attempts, sign-in for that account is paused for a while.
- An email that doesn’t exist gets the same response as a wrong password, so it doesn’t reveal who has an account.
Who gets into your machines
Having the link isn’t enough. If you sign in with two-step verification or a passkey, a new browser or phone gets straight into your Mac and your servers, and you get a notice: “Someone signed in to doki with your account”. With just email and password, it waits until you approve it. Each device gets its own pass, which expires and which you can revoke whenever you want.
If you’d rather always approve, turn off “Let in without approval whoever signs in with your account and two-step verification or a passkey” on the Mac, in Remote → Access security, or run doki-hub trust-2fa off on a server. From then on every sign-in waits for approval, and not even someone who took over usedoki.com could skip it.
A server running doki-hub has no screen to approve on. The first browser gets in during the 30 minutes after installing, even without two-step. After that, whatever is waiting is approved with doki-hub approve on the server or from a device that already has access.
- The device list shows each one with its name and where it connected from, and you remove it with one click.
- A device can’t renew its own access or turn on remote access by itself.
- Signing out in the browser deletes the passes saved in that browser.
What your agents are allowed to do
Agents run commands on your machines. Guard decides what happens to each action based on your rules: allow, ask or block. Whatever is set to ask lands in your Inbox and you answer it from wherever you are.
From a browser you can approve an action or tighten a rule. Anything that lowers security can only be done on the Mac: allowing something for good, skipping permissions, turning on autopilot or opening remote access. That way a stolen browser can’t take the brakes off your agents.
- Images from the internet that an agent writes are shown as a link and don’t load by themselves.
- Links to local files in a chat are revealed in Finder; they aren’t opened.
- The agent’s browser doesn’t open files on your disk or doki’s internal port.
Servers and updates
doki-hub opens no ports on your server. It connects out to usedoki.com, the same way a Mac does, and the web reaches it through the end-to-end encrypted relay. It installs for your user, in ~/.doki/hub, and doesn’t touch SSH, the firewall or system packages.
doki-hub releases are signed. The hub checks the signature before installing an update, and the signature covers the version number, so an old version can’t be passed off as a new one. Automatic updates are turned off with DOKI_HUB_NO_UPDATE=1.
The Mac app is signed with Apple’s hardened runtime. Your license is signed too, and the app checks it offline.
- The code for adding a server works once and expires after 30 minutes.
- The server’s pass is handed over once; usedoki.com keeps only its hash.
- Removing a machine from your account cuts whatever was open through it.
What we don’t claim
No system is perfect, and we’d rather say where ours stops. We tested doki from the inside before release and fixed what we found, but this is what remains true today.
The best protection is on your side: whoever gets into your account is closer to your machines. Turn on a passkey or two-step verification at usedoki.com/account.
- The web page is delivered by usedoki.com. End-to-end encryption protects what travels, but you trust that server to deliver an honest page. On your local network the page is served by your own Mac.
- The first connection rests on trust. Your machine’s key arrives with that page the first time. From then on your browser remembers it and warns you if it changes.
- On the local network, without https, there is no TLS. A direct
httpconnection to your Mac isn’t encrypted by TLS. The app encrypts the calls end to end once it has the machine’s key; even so, use networks you trust. - Your account reaches all your machines. With two-step or a passkey you get in without approval, so someone who took over usedoki.com could, in theory, fake a sign-in like that. To close that door, turn off entry without approval and approve each device.
- doki-hub on shared servers. Don’t install it as root on a server other people use.
Frequently asked questions
Can doki’s team read my code or my conversations?
No. They aren’t stored on usedoki.com: they live on your machines. When they pass through the server to reach your browser, on a computer or a phone, they’re end-to-end encrypted with a key the server doesn’t have, and their content isn’t logged. The limit, stated plainly: the web page is delivered by usedoki.com, so you trust that server to deliver honest code.
What if someone steals my password?
They can sign in to your account, but with the password alone they don’t get straight into your machines: a new browser waits for approval on the Mac, or for doki-hub approve on a server. With two-step verification already on, the password alone isn’t enough to change your factors. If you don’t have it and they add their own factor, you get an email and “Forgot my password” undoes it. Change your password with “Forgot my password” as soon as you notice.
What do I do if I lose my phone or laptop?
Remove that device from your machine’s device list: its pass stops working right away. If what you lost is a Mac or a server, remove it from your machines in your account and whatever was open through it is cut. If you still have the device at hand, signing out deletes the passes saved in that browser.
Does doki store my card?
No. Stripe handles the payment and your card never touches usedoki.com. The server keeps your plan, whether it’s active and until when. See Pricing.
Where is my data hosted?
Your work (code, conversations, files) is on your machines, wherever you keep them. Account data is on the usedoki.com server and payment data is with Stripe. We don’t publish the server’s provider or country here, and we don’t advertise certifications. If you need that for an internal review, write to the contact on the privacy page.
Does doki’s server open ports on my Mac or my server?
No. Your machines connect out to usedoki.com and receive the encrypted calls over that connection. doki-hub doesn’t change your firewall or your SSH.
Can I delete my data?
Yes. Write to the contact on the privacy page and your account is deleted with everything tied to it. Stripe keeps the receipts the law requires. You can also remove machines that stopped connecting yourself, from your account.
How do I report a security problem?
Write to the contact email on the privacy page, with the steps to reproduce it. We answer by email.