Docs menu Security model
Docs

Security model

What your AI can and cannot do on your computer through DeskWink, what is on by default, how to limit it, and where the limits are.

DeskWink is built on one assumption: the AI on the other end can be wrong, and can be misled by text it reads, such as a hostile instruction hidden in a document. So DeskWink does not rely on the AI to behave. The important limits are enforced on your computer, by software the AI cannot change, and setting them is up to you.

What is on by default

Everything is on by default: the whole computer, commands, your browser and (on Windows) desktop control, with nothing waiting for approval. Limit any of it in your DeskWink settings. In detail, the first deskwink launch on a new computer asks no questions and turns on:

  • reading and changing files anywhere on the computer, outside the protected places listed below;
  • running commands, your browser through the DeskWink extension, and on Windows desktop control and reading the clipboard;
  • approval level 3, which lets everything through, with no end date;
  • website settings, so the DeskWink website can change this computer’s settings and approve requests for it;
  • starting DeskWink when you sign in, and the link the DeskWink browser extension uses, so the extension connects by itself once you install it.

These stay in place at every setting, including the defaults:

  • Protected places are refused: SSH keys, saved credentials and cloud keys, password stores, browser profiles, DeskWink’s own files and system folders.
  • Payment and transfer steps in the browser are refused.
  • The browser extension asks you, in the DeskWink side panel, before your AI uses a new site and before sensitive steps such as signing in, deleting or sending.
  • Desktop control pauses when you move the mouse, and never touches password managers or Windows security screens.
  • Every change is staged, backed up on your computer and shown in Activity; deskwink restore puts a file back.
  • Each change made from the website is emailed to you.
  • deskwink stop stops everything at once.

To limit it, open that computer’s settings on the Computers page of the DeskWink website, or run on the computer: deskwink access read folders (only folders you share), deskwink approvals level 0 (every change and command waits for you), deskwink capabilities disable shell (or browser, desktop), deskwink remote-settings off and deskwink autostart disable.

Trade-off

With the defaults, your AI runs commands and changes files without asking you first, and the DeskWink website, and so anyone who took over DeskWink’s servers or your DeskWink account, can change this computer’s settings and approve requests for it. We chose these defaults for ease of use. If you want more control, limit them as above; deskwink approvals level 0 and deskwink remote-settings off are the two that matter most.

A computer set up with an older DeskWink gets everything a new install has once, on the first deskwink launch of DeskWink 0.6.0 or later: the whole computer, every ability, approval level 3, website settings and starting at sign-in (it prints what it turned on). It does not do this inside a command DeskWink itself started, and what you set afterwards is never turned back on; narrow it any time with deskwink access read folders or deskwink approvals level 0.

Five layers, and any one can say no

A request from your AI is allowed only if every one of these layers allows it:

  1. Built-in limits. Blocked file types and locations, size limits and rate limits that no plan and no setting can lift.
  2. Your plan. How many computers and how many AI actions each month.
  3. What you granted the AI app. When you connect an AI app, you choose which of your computers it can reach and what it may do.
  4. Your computer’s own policy. How much of the computer your AI can reach, the folders you shared and the abilities that are on, kept and enforced on that computer.
  5. Your approval level. At the default level everything goes through. At a lower level you choose, changes to files, commands and desktop control wait for you.

Paying for a plan changes the numbers in layer 2. It never skips layers 4 and 5.

Who can give your AI more

Once you have limited a computer, giving your AI more again (sharing a folder, opening the whole computer, turning on an ability, raising the approval level) is done by you, in one of two places:

  • On the computer, with the deskwink command.
  • On the DeskWink website, only on a computer where website settings are on. They are on by default; deskwink remote-settings off turns them off at once, and DeskWink remembers that, so a later launch does not turn them back on (deskwink remote-settings on does). The website asks you to sign in again first, emails you about each change it makes and records it as a security event, and can then also approve commands and desktop control after showing exactly what will run.

Where website settings are off, the website can still take access away (remove a folder, switch an ability off, lower the approval level, revoke an AI app) and reject commands, but a change that gives your AI more waits until you confirm it on the computer. Some things never come from the website: lifting the block on sensitive files, sharing your whole home folder or a drive, and the website-settings switch itself.

Website settings

With website settings on, someone who took over DeskWink’s servers, or your DeskWink account including a fresh sign-in, could widen access and approve commands on that computer. If that is not acceptable for a computer, run deskwink remote-settings off on it; then nothing from DeskWink’s servers can give your AI more there.

Some deskwink commands refuse to run when they are started by another program rather than typed by a person in a terminal. This includes sharing a very broad folder, turning on commands, approving a command and turning website settings on. When deskwink launch runs inside a command that DeskWink itself started (a command your AI ran), it turns nothing on: no wider access, no website settings, no start at sign-in. DeskWink tells these apart by a marker it sets on the commands it starts: that stops a direct call from your AI, but at approval levels where commands are not reviewed it is not a boundary, because your AI already runs commands as you. A coding agent that installs DeskWink for you gets the same defaults as anyone else, is asked to tell you what is on and how to limit it, and leaves the choice to you.

Your computer connects out

  • DeskWink opens a connection from your computer to DeskWink. It opens no port that the internet can reach.
  • DeskWink runs only while it is started: when you sign in to the computer (on by default; deskwink autostart disable turns it off, and DeskWink remembers that), or with deskwink launch. deskwink stop ends it immediately.
  • If your computer is off or DeskWink is stopped, requests fail at once. There is no queue, so an old request is never run later.

Three separate sets of credentials

Signing in to the website, the key your computer uses to prove itself, and the permission an AI app holds are three different things, and none can stand in for another.

  • Your computer’s key is created on the computer. DeskWink keeps the public half; the private half stays in the computer’s protected storage and is never sent anywhere.
  • The access an AI app holds is never forwarded to your computer. Your computer only talks to DeskWink with its own key.
  • DeskWink decides who is asking from the sign-in on the server. It never trusts a user or computer name sent by the caller.

Folders

Every path your AI sends is checked on your computer before anything happens:

  • It must be inside a folder you shared, or anywhere outside the blocked places below when the whole computer is open. Paths using .., symbolic links, Windows junctions, short 8.3 names, different letter case, alternate data streams or device names are resolved and re-checked, and refused if they lead outside.
  • To change a file, it must be in a folder shared with --write, or changes must be allowed anywhere on the computer, and the target must be a real file, not a link.
  • Your home folder can only be shared in an interactive terminal with an explicit flag, never from the website. Whole drives and system folders cannot be shared at all; the whole computer is opened with its own setting instead.

Files the file tools can’t open

These rules stop DeskWink’s file tools at every setting. Commands run as you and can reach whatever your account can; turn Commands off or ask for approval to limit that.

BlockedWhatCan you lift it?
Always DeskWink’s own folder and program files; system folders; places that start programs at login; shell start-up files; the inside of .git folders. No
By default .ssh, .gnupg, .aws, .azure, .kube, Docker and npm credentials, .netrc, .git-credentials, .env files (except .env.example), *.pem, *.key, *.p12, *.pfx, SSH key files, password databases, and browser profile data such as saved logins and cookies. Yes, but only on the computer

Changes to files

  1. Your AI asks to write or edit a file. DeskWink prepares the new version on your computer without touching the original.
  2. At the default level the change goes through at once and is shown in Activity. At a lower approval level you first see the exact difference in the console and approve or reject it.
  3. Before applying it, DeskWink checks the file has not changed in the meantime, checks all the rules above again, saves a backup of the original, and then replaces the file in one step.
  4. You can undo it with deskwink restore. Backups are kept on your computer for 7 days.

Commands

Running commands is included in every plan. It is on by default, and you can switch it off in your DeskWink settings or with deskwink capabilities disable shell.

  • To turn it back on, use your DeskWink settings on the website where website settings are on, or a terminal on the computer, where you type the computer’s name to confirm.
  • At approval level 3, the default, commands run without asking. At a lower level, each command your AI asks to run waits for your approval, after you see the full command and folder: in an interactive terminal on the computer, or on the DeskWink website on a computer where website settings are on (after a fresh sign-in).
  • Where website settings are off, the website can reject a command but never approve one, and no message from DeskWink’s servers can make that computer run a command you have not approved.
  • Control characters in a command are shown visibly, so a command cannot disguise itself in your terminal.
Limit

A command runs as you, with everything your user account can do. It is not sandboxed. At the default level nobody reads a command before it runs; if you want to read each one first, lower the approval level with deskwink approvals level 0 or in your DeskWink settings, and read what you approve.

What DeskWink stores

StoredNot stored
Your email and name, the sign-in provider’s ID, computer names, system and DeskWink version, shared folder names and paths, a short activity record (which tool, which path inside a folder, when and the result), usage counts, and security events. File contents, differences between versions, command text and command output, screenshots, and the access tokens your AI apps hold.

File contents and command output do pass through DeskWink’s servers in transit, because that is how they reach your AI. They are not written to the database, logs or backups. Retention periods are in the Privacy Policy.

Stopping everything

  • deskwink stop: on the computer, stops DeskWink at once.
  • Emergency disconnect in the console: disconnects all your computers. To come back, you resume them in the console and run deskwink launch on each.
  • Revoke an AI app in the console, or remove the connector in the app.
  • deskwink logout: removes this computer from your account and deletes its key.

What DeskWink cannot protect against

  • What the AI sees goes to the AI provider. When your AI reads a file, the contents become part of your conversation with Claude, ChatGPT or whichever app you use, under that provider’s terms and privacy policy. With the whole computer open, that is anything outside the protected places; limit it to folders you are comfortable giving to that AI.
  • Hostile text in files and pages. A document or web page can contain instructions aimed at the AI. DeskWink does not follow instructions in files, but at the default approval level a misled AI can change files or run commands before you see them. Backups and Activity let you find and undo changes afterwards; if you work with material you do not trust, lower the approval level so every change and command waits for you, and read what you approve.
  • Someone with your signed-in computer or account can do what you can do. Lock your computer and protect your sign-in.
  • Software bugs. DeskWink is in closed beta. We test the security rules before building the features they protect, but no software is free of bugs.

Found a weakness? Please tell us at [email protected]. The security page explains how.

Something unclear or out of date? Write to [email protected].