Skip to main content

    Use AI without handing it your sensitive data.

    Locke is a free desktop app. It spots names, account numbers, patient details and API keys in what you send to ChatGPT, Claude, Gemini and more, and masks them on your device before they leave.

    WindowsLinuxmacOS coming soon

    Free for one person. No card, no time limit.

    chatgpt.com
    Locke extension
    Draft a follow-up to my client PER_e7rt. Her email is EML_qvfq, SSN SSN_ow4z, cell PHN_iczw.

    Here's a draft for PER_e7rt: “Thanks for your time today. I'll send the forms to EML_qvfq and call you at PHN_iczw once they're filed.”

    4 values masked on this computer

    Why Locke

    • Stays on your device

      Detection and masking run locally. Your prompts, files and detections are never sent to us.

    • Works past the browser

      AI websites, plus Claude Code, GitHub Copilot, curl and the official SDKs in your terminal.

    • Fails closed

      If Locke can't check a request, it blocks it by default instead of sending it unscreened.

    How it works

    Three steps, and the last one happens on its own.

    1. 1

      Download and sign in

      Install Locke on Windows or Linux and sign in with a free Sonomos account. For AI websites, add the Locke Extension: a separate, free install from your browser's store.

    2. 2

      Use AI the way you already do

      ChatGPT, Claude, Gemini, your terminal agents. No new window to work in and no extra step before you send.

    3. 3

      Locke masks it before it leaves

      Sensitive values become placeholders such as EML_x9k2, so the AI gets the meaning without the data. Greenlight glows green at the edge of your screen so you know it happened.

    Click around the app

    A click-through replica of Locke with invented sample data. Nothing you click leaves this page.

    View as
    Sample data

    Dashboard

    Locke's status on this device, and what it found. · Monday, October 19

    Welcome to Locke

    A few quick steps to get set up.
    2 of 5 done
    Check the detection engineThe detection engine answered a health check. That doesn't confirm your traffic is routed through it.Answering
    2Review configurationSee which AI apps and sites Locke covers.
    3Review local diagnosticsSee the diagnostics available on this device.
    4Try it in the SandboxPaste sample text and see what Locke would mask.
    See it protect something realDone — Locke masked or blocked something real for the first time.
    Dismissing hides this in this browser.

    Protection status

    Running
    Desktop ProtectionUp
    Browser ProtectionConnected
    Detection engineReady

    Configured to monitor 14 AI products.

    This health check does not confirm that your traffic is being screened.

    Recent activity

    View reports
    Email Address → ChatGPTmasked
    Person Name → Claudemasked
    Phone Number → ChatGPTmasked
    Credit Card → Claudemasked
    Address / Location → Geminimasked

    Risk & compliance posture This device

    Evidenced in the available data3 of 7
    Needs your review0 of 7
    Your organization's action4 of 7
    Not assessable from this device0 of 7

    Measured over this session's 19 outbound detections. This device only: Locke has no organization-wide compliance posture.

    With Teams

    The full compliance report behind this checklist, mapped to CCPA/CPRA, HIPAA, UK GDPR or EU GDPR, for any period up to a year, plus technical reports, exports and policies your admin pushes to every member.

    23
    Items masked before sending This device
    In your own messages, since this app opened.
    How this is counted
    PII Locke replaced in what you sent since this app opened — across every AI app you used, not one chat. Like the recorded tally, it counts each request's new turn only: the AI tool's own system prompt, the context it injects (saved notes, project files), the tool output it feeds back and re-sent conversation history are masked but not counted. It counts per request rather than per recorded value, so the two figures can differ.
    41
    Sensitive detections recorded (last 7 days, You typed only) This device
    41 of 118 recorded detections are counted here.
    How this is counted
    41 of 118 recorded, per your tally settings — the rest sit in origins you are not counting, or are replayed conversation history.
    312 all-time, same tally.
    Recorded detection occurrences in the selected tally — masking outcomes not included.
    Not a masking count: Locke masks more than it records, and a data type switched off in Controls is recorded but sent unmasked.
    14
    AI products enabled This device
    Switched on in Controls — not proof of screening.
    Not counted: Web search (6 hostnames), which Locke lists but does not screen — see Controls.
    How this is counted
    Distinct AI products Locke screens, with at least one hostname enabled in its local surface catalog (28 hostnames in all). Every catalog entry ships enabled, so this is Locke's default list until you change it in Controls — runtime interception is reported separately when available.
    7 verified · 0 degraded · 20 unverified this session, from captured traffic only.
    4
    Terminal AI tools covered This device
    Claude Code, OpenAI Codex CLI, Gemini CLI and GitHub Copilot CLI — their AI services are on in Controls.
    How this is counted
    4 of the 4 terminal tools Locke knows about send prompts to an API host Locke's proxy is still told to screen (Claude Code, OpenAI Codex CLI, Gemini CLI, GitHub Copilot CLI). Locke's surface catalog groups hostnames, not command-line tools, so this mapping is Locke's own — it counts endpoint coverage, not tools installed or running on this machine, and runtime interception is reported separately when available.
    About these numbers

    These four figures are not slices of one another. The first counts what Locke masked in your own messages since this app opened. The second is the last 7 days of stored detection history, narrowed by your counting settings — the only stored figure. The third is your AI service list in Controls, and the fourth is how many known terminal tools that list covers.

    All four are individual figures — this device, under your account. Locke does not show organization-wide totals anywhere yet.

    Detailed status and diagnostics
    Detection engine is answering
    This health check does not confirm that your traffic is being screened.
    What this check confirms
    Locke's detection engine answered a health check. This check reaches the detection engine directly. It does not pass through the screening path your traffic takes — the system redirect, the proxy, or Locke's guard — so it cannot tell you that any of those are working. If requests are failing or arriving unredacted while this reads green, that gap is where to look. To report this, open Support › Diagnostics and press Copy diagnostics, then send us what it copies.

    Monitoring status This device

    Metrics connected
    Counts are up to date across 46 recorded sessions.
    Counting You typed · occurrences — change what counts
    What the recorded count leaves out
    Locke masks more than it records. Four kinds of masked value are deliberately left out of the total above:
    • Replayed conversation history. A chat client re-sends the whole transcript every turn. A value is recorded once, on the turn it arrives — every later replay is masked again and not counted again.
    • Text the machine wrote. Values written by the AI itself are never recorded. Names, places, organisations and keyword-dictionary hits found in tool output are masked but not recorded.
    • Repeats of a value already counted. The same value in the same position counts once per session. After a large number of distinct occurrences that memory is cleared, so a value seen earlier can be counted once more.
    • Types the metrics store has no column for. A detected type outside its vocabulary is masked but not recorded.
    None of this changes what Locke masks — only what it counts. Your own tally settings then filter that recorded subset further.

    Live monitoring feed This device

    20 validated detections in the current app-session buffer.
    14:32:08Email Address → ChatGPTmasked
    14:29:51Person Name → Claudemasked
    14:28:34Phone Number → ChatGPTmasked
    14:26:58Credit Card → Claudemasked
    last event just now · live tail · processed locally, never leaves your device

    Sensitive data origins (all-time)

    Injected context
    Things your AI tool quietly attaches to every message — saved notes, memory, project files
    not counted39% · 368
    You typed
    Info you actually wrote into your message
    in your tally33% · 312
    System prompt
    The AI tool's own built-in hidden instructions
    not counted13% · 121
    Tool output
    Results from files or commands the AI read, fed back in
    not counted10% · 97
    The AI's replies
    Text the AI generated
    not counted5% · 49
    Counts only — this doesn't show whether values were masked. Percentages include origins you don't count; change what's counted in Settings › What counts as a detection.

    You've already shared more than you think

    Client names, account numbers and medical details go into AI tools every day, at work and at home. Almost nobody checks what was in them.

    At work

    1. $11.5M

      The cost of a leak

      average cost of a data breach in the US, counting detection, notification, response and lost business

      Employees' unapproved AI tools played a part in 43% of the incidents IBM studied, more than double the year before. About one in five of those drew a regulatory fine.

    2. 79%

      What gets pasted

      of US workers have entered especially sensitive information into AI tools, from customer and employee records to logins

      36% have entered customer or employee personal data such as IDs and Social Security numbers. About a quarter reach AI tools their employer blocks through a personal device or account.

    Your own data

    1. 14%

      Who you're trusting

      of US adults mostly or completely trust large AI companies to protect their data

      Yet nearly a third of AI users have told a chatbot something they kept from a close friend, a parent or their doctor.

    It doesn't have to be this way.

    Locke lets you and your team use the latest AI tools. It finds names, emails, SSNs, dates of birth and client details on your own computer and masks them before anything is sent. Nothing you type is sent to Sonomos.

    What Locke catches

    67 types of sensitive data, each with a risk level you can change. A sample:

    Identity
    Names, emails, phone numbers, addresses, dates of birth
    Government IDs
    Social Security numbers, passports, driver licences, NHS and National Insurance numbers
    Financial
    Card numbers, bank accounts, IBANs, routing numbers
    Health
    Medical record numbers, health plan IDs, diagnosis and procedure codes
    Secrets
    API keys, private keys, bearer tokens, database URLs

    Built for Legal, Healthcare, Financial services, Developers and tech and Individuals.

    Greenlight: see Locke work without opening it.

    A long, thin light on the right edge of your screen. The moment Locke masks something, it glows green: your sign Locke caught it, and you can keep going.

    • Green: masked a value or held back an attachment. Red: blocked a request. Amber: something went out unmasked
    • Steady amber when Locke knows protection needs attention, such as a stopped detection engine or capture switched off
    • Clicks pass through it and it never takes focus. An agent's burst of requests is one glow, not a strobe
    • Only a colour reaches it: not what was found, where it went or how many. On Windows it's hidden from screen shares and recordings
    • On by default. Switch it off in Settings › General or Locke's tray menu

    On Windows and Linux with X11. Wayland won't let an app hold the screen edge, so there it's a coloured dot on Locke's tray icon. On GNOME, that needs the AppIndicator extension, which Ubuntu includes.

    On Linux Wayland, the same buttons light the tray icon

    The routes Locke screens today

    On supported routes, Locke recognizes AI traffic, including eligible services outside its built-in list. Recognition and screening are separate: detection and masking are supported on the routes below.

    AI websites

    via the browser extension

    ChatGPT logoChatGPT
    Claude logoClaude
    Google Gemini logoGoogle Gemini
    Grok logoGrok
    Perplexity logoPerplexity
    more

    Command-line agents

    via the local proxy

    Claude Code
    Codex CLI
    gemini-cli
    more

    IDE assistants, APIs & SDKs

    via the local proxy

    GitHub Copilot logoGitHub Copilot
    Official SDKs
    curl & scripts
    OpenRouter, Groq
    Bedrock (four regions)
    more

    Local model servers

    when you point them at Locke

    Ollama
    LM Studio

    Desktop wrapper apps

    recognized and screened by the desktop app

    ChatGPT logoChatGPT
    Claude logoClaude
    Microsoft Copilot logoMicrosoft Copilot

    Coverage depends on the app, platform and settings. Unsupported request types and connections can still bypass screening.

    Locke forChatGPTClaudeGeminiGitHub CopilotCursorall tools

    Free for one person

    Teams adds policies and reports for the people you work with.

    Free

    $0

    The whole protection engine, in the browser and the command line. One Privacy summary report a month. No card, no time limit.

    Download Locke

    Teams

    $12.99 per user a month

    Policies pushed to every seat, plus full compliance and technical reports. Admins set the rules and never see content. 30-day free trial, up to 20 seats, US customers only.

    See the plans

    Inside the app

    Every page of Locke, and what it's for.

    What's protected, and what Locke caught.

    The first screen you see when Locke opens.

    • Separate status for desktop protection, browser protection and the detection engine
    • The latest detections and what Locke did about each
    • Four counts, each labelled: items masked before sending, detections recorded, AI products enabled, terminal AI tools protected
    Open the Dashboard in the demo

    You decide what counts as sensitive.

    Pick the AI services Locke screens, the data it masks and what happens to attachments.

    • AI services: one switch per AI service, screened by the extension or the local proxy
    • Sensitive data: 67 types across identity, government IDs, financial, health, secrets, crypto and legal, each with a risk level
    • Attachments: screen or block by file format. Images and audio can't be checked yet and pass unscreened unless blocked
    Open Controls in the demo

    A report you can hand to an auditor.

    Or to a client, or your own IT team.

    • Compliance reports for Comprehensive privacy, CCPA/CPRA, HIPAA, UK GDPR or EU GDPR
    • Technical reports for IT and security: activity, data types, AI destinations, recommendations
    • Full reports come with Teams. Free includes one Privacy summary a month
    Open Reports as a Teams member

    Every detection, logged without the value.

    Each detection on this device: what Locke did, and where the request was going.

    • Pulse counts for the session, the last hour or the last 15 minutes
    • One row per detection, which opens into its full metadata
    • Filter by direction, surface, data type or outcome. On Teams, export the filtered feed as CSV or JSON
    Open Activity in the demo

    See what the AI would get, before you send.

    Stage a prompt and watch detection mark each sensitive span.

    • Each detection with its type, token and confidence
    • The masked text: each value becomes a one-way token such as EML_x9k2, always the same token for the same value
    • The same engine and disclosure policy as your live traffic, so a test shows what your settings will do
    Run the Sandbox in the demo

    Teams: admins set the rules. They never see content.

    Admins see who has applied the rules. Members start already configured.

    As the admin

    You set policy for every seat.

    • My Team: invite people and see who is active or invited
    • Policies: which AI apps and sites must be screened and which data types are always masked. Nothing changes on a device until you push them
    • Report requests: ask members for a date range and track pending or done. Each member generates the full report on their own device
    Open My Team as an admin

    As a member

    Protected from the first sign-in.

    • Controls becomes a read-only Team policy page showing what the organization set
    • The same 100% local guarantee: admins set the policy, your data stays on your device
    See the member view

    On a team, members cannot pause protection, and nobody, member or admin, can delete detection history. Prompt content is never collected.

    The details

    A browser extension can't see your terminal. So Locke is a native app.

    Desktop app, not just an extension
    The extension screens AI websites. A proxy on your machine screens command-line and SDK traffic. Ollama and LM Studio join once you point their client at it.
    Your content stays local
    Locke only signs in, checks your licence (account ID and plan, no content) and syncs your settings.
    Attachments
    Text, code, CSV, JSON and log files are screened like your message. PDFs and Office documents are blocked, not sent unchecked. Images and audio aren't screened yet and pass unless you block them.
    Detection
    Checksum-validated patterns plus contextual matching, so a case number is caught even when it doesn't look like one.
    Platforms
    x64 Windows and Linux, available now. macOS is coming soon.

    Questions

    Is the demo on this page the real app?

    A click-through replica of the Locke desktop app, built from its real interface and filled with invented sample data: every name, team and number. Switch between the Free and Teams views, open every page and run the sandbox. Nothing you click is stored or sent anywhere. It shows the interface, not the product's internals.

    What is Greenlight in Locke?

    Greenlight is Locke's activity light: a thin bar on your screen's right edge that glows when Locke acts on a request, so you know it's working without opening the app. Green: it masked something or held back an attachment. Red: it blocked a request. Amber: something went out unmasked. It stays amber while protection needs attention, such as a stopped detection engine. Clicks pass through, it never takes focus, and it only receives a colour, never what was found. It's on by default on Windows and Linux with X11. Turn it off in Settings › General or the tray menu. Wayland won't let an app hold the screen edge, so there the same colours show as a dot on Locke's tray icon.

    What can a Teams admin see?

    Admins manage seats and team policy, ask members for a date-range report, and see which requests are pending or done. No report content reaches the admin: members generate their own. What members type, and what Locke detects for them, stays on their device. Reports cover what was protected, never what people typed.

    Is Locke available now?

    Yes. Locke is available now for x64 Windows and Linux, with no waitlist. macOS is coming soon. Download Locke and sign in with a free Sonomos account.

    What does Locke protect?

    Locke tells AI traffic from other traffic on your device, including eligible services outside its built-in catalog. Recognizing a service does not mean every request is screened. In the browser, the Locke Extension screens AI websites by holding the request inside the page. A proxy on your machine screens command-line and API traffic: Claude Code, gemini-cli, GitHub Copilot, curl and the official SDKs. Local model servers like Ollama join once you point the client at the proxy. Locke also recognizes and screens desktop wrapper apps such as ChatGPT desktop, Claude desktop and Microsoft Copilot desktop. Coverage depends on the app, platform, request type and settings.

    Is anything sent to the cloud?

    Not your content. Detection and masking run on your device. Your prompts, files and detections never go to us or any third party. Locke needs a Sonomos account: it signs in, periodically confirms your licence (account ID and plan tier, no content) and syncs your settings across devices.

    What pricing will Locke have?

    Free for one person, with one Privacy summary report a month. Teams is $12.99 per user a month, one flat price for every seat. It has a 30-day free trial and a 20-seat cap, US customers only. Teams is for teams, companies and organizations needing insight into, and control over, how members use AI. It includes full compliance and technical reports. Enterprise is coming soon: everything in Teams, plus more than 20 seats, custom solutions, white-glove onboarding, a named person at Sonomos and priority support, help with security review and procurement, and custom terms. To hear when it launches, write to [email protected] or use the contact form. Download Locke and sign in with a free Sonomos account.

    Weighing alternatives? See Locke vs Microsoft Purview, vs CASB / SSE, vs self-hosted AI, or all comparisons.

    Locke has its own privacy policy, separate from our website policy. Read the Locke Privacy Policy and the End-User License Agreement.

    Get Locke. It's free.

    The whole protection engine, free for one person: no card, no time limit. Install it on 64-bit Windows or Linux, sign in, and it starts protecting. Teams adds policies and reports at $12.99 a seat. macOS is next.

    Try Locke Free

    Or see the interactive demo first.