Skip to main content

    Start here

    How it protects you

    For supported requests, Locke checks what you are about to send, replaces detected values enabled for masking with short one-way tokens, and sends the cleaned version. All three happen on your computer, in the moment, without you doing anything.

    Masking, not blocking

    The obvious way to stop private data reaching an AI would be to block the message. That's also useless — you sent the message because you wanted an answer. So Locke does something less obvious: it substitutes.

    Say you type Email John Smith (SSN 123-45-6789) at [email protected] about the Q3 invoice. Locke recognizes three sensitive things in there — a name, a Social Security number and an email address — and replaces each with a token that names its type: the email becomes something like EML_x9k2. The AI receives the same sentence with the three values swapped out. It can still tell that a person, an SSN and an email address are involved, and draft the email you asked for. The values Locke detects and masks are replaced before that request is sent. Detection and coverage have limits; do not assume every sensitive value will be caught.

    This is the Sandbox — a page in Locke where you can try this on any text you like, safely. The left box is what you typed; the masked output on the right is what the AI would receive.

    1. Input is your text, exactly as you typed it.
    2. Masked output is what would actually be sent: every sensitive value replaced by its token.
    3. The table lists each match: what Locke did with it, the type, the token that replaced it, and how sure Locke was.

    The technical name for this is deterministic tokenization. Each token is a three-letter type prefix — EML for an email, PHN for a phone number, SSN — and four characters derived from the value by a one-way hash, so the same value always produces the same token on that installation. Locke keeps a local seed so tokens remain consistent across restarts; they can differ on another computer. This is one-way substitution, with no feature to restore the original values from a token. The consistency matters more than it sounds — if you mention the same customer twice in a conversation, the AI sees the same token twice and can follow the thread.

    Masking is what Locke does whenever it can. A few things it blocks instead, because sending them unchecked would be worse than not sending them at all: a file it cannot read (a zip archive or an Apple iWork file, for example), a request too large to screen, a request from a tool that sends prompts in a binary format to a service Locke screens, and — by default — any request Locke can't check at the moment it is sent. When that happens the request does not leave your computer. The details are on Known limitations.

    What stays on your computer

    Detection runs in a small program installed alongside the app, on your own machine. It doesn't call a server to ask whether something is sensitive, because that would mean sending it the sensitive thing.

    What stays local and what, if anything, is sent
    ThingWhere it lives
    The text you send to an AI toolSupported requests are inspected locally. Masked requests go to the AI with detected values replaced. Values you allow and content on unsupported paths can be sent unchanged.
    The sensitive values Locke foundDetection runs locally. Values enabled for masking are replaced before a screened request is sent; values excluded from masking can reach the AI.
    The record of detectionsMetadata stored locally, without the matched plaintext. Current builds do not show deletion or retention controls in Settings. See the uninstall guide for data-removal choices.
    Your Controls choices and display and notification preferencesSaved on this device and synced to your Sonomos account, so they follow you to another computer. On a Teams plan, your admin's team policy applies on top of them.
    Reports you generateBuilt on your machine from your local history, saved wherever you choose to save them.

    What Locke watches

    Locke uses an intelligent router on your device to distinguish AI-service traffic from non-AI traffic, including eligible services beyond its built-in catalog. The browser extension holds requests with a body across websites and asks the desktop app to classify them. On the desktop proxy path, discovery can inspect initial requests to eligible unknown HTTPS destinations before deciding whether they are AI, including services later classified as non-AI. See the Locke Privacy Policy for details.

    Recognizing an AI service and screening its requests are separate steps. Screening depends on the supported capture route and your settings. Native desktop wrappers such as ChatGPT desktop and Claude desktop are recognized and screened by Locke. AI websites such as chatgpt.com and claude.ai are screened by the Locke browser extension, so each browser you use needs it. Unsupported request types and connections can still bypass screening. You manage AI-service controls on the Controls page.

    Within a protected surface, Locke screens the text you send. Attached files it can read are screened the same way: text, code, CSV, JSON, Markdown, logs and RTF. PDF, Word, Excel and PowerPoint files are not screenable in the current engine and are blocked, along with other unreadable formats. Files it can't read are blocked, as above. Images and voice are not screened in this release: they are sent as they are unless you (or your Teams admin) set them to Block, and NSFW filtering is not in this release. We plan to add this in a future release. Everything Locke doesn't cover yet is listed on Known limitations.

    Sensitive data isn't only what you typed

    This surprises most people. When you send a message to a modern AI tool, your typed words are a fraction of what actually goes out. The tool also attaches saved memory, project files, its own hidden instructions, and the output of any tools it ran. All of it can contain personal data, and all of it is going to the same place.

    Locke protects all of it identically. It also records where each item came from, which is why the Dashboard's Detailed status and diagnostics › Sensitive data origins can distinguish You typed from Injected context. By default your Dashboard tally only counts what you typed — the full number, including everything the app attached on your behalf, is usually much larger and reads as alarming when it's mostly plumbing. You can change what's counted in Settings › Protection › What counts as a detection, described in Settings.

    Confidence and strictness

    Every detection carries a confidence score. A 16-digit number that passes a card checksum is near-certain; a capitalized pair of words that might be a person's name is a judgment call. Rather than making you weigh that number yourself, Locke reduces it to a single question: how sure must it be that a word is a name, a place or an organization before it masks it?

    That question is called strictness. In this release Locke answers it at Standard by default, balanced between catching borderline names and places and leaving ordinary words alone; there's no picker to change it in the current app. A level already stored in a policy or older configuration can still apply. Card numbers, keys, IDs and other structured data don't depend on it. Files Locke can read are screened like text; images and audio are sent unscreened unless blocked. More in Controls.