1. Acceptance & scope
By creating a CloakAPI account or sending a request through the gateway, you agree to these Terms. Enterprise customers with a counter-signed Master Service Agreement are governed by that MSA; these Terms back-fill anything the MSA does not address.
These Terms govern the CloakAPI developer platform only: the gateway at api.cloakapi.io, official client SDKs, the local MCP server, cloak-proxy, the desktop client, the browser extension, the web chat and portal at app.cloakapi.io, the receipt-verifier, and the documentation at docs.cloakapi.io.
Products this document covers (the CloakAPI platform).
The REST API at api.cloakapi.io; official client SDKs (TypeScript/JavaScript, Python, Go, Java, .NET, PHP, Ruby and Rust);
the local MCP server (Model Context Protocol); the local proxy (cloak-proxy);
the desktop application (Windows and Linux); the browser extension for Chrome;
and the web chat and developer portal at app.cloakapi.io.
Chat and portal are offered principally as a developer console. Individuals may use them.
Usage on those surfaces is billed against the customer's CloakAPI prepaid balance at the
platform markup rates published at cloakapi.io/pricing
(15 % pooled keys, 5 % BYOK, 5 % complete-local), not as a separate consumer subscription.
Products this document does not cover.
The first-party end-user applications published under their own names and hostnames —
including cloak-cv, cloak-write, cloak-convert, cloak-docs, cloak-meet, cloak-post,
cloak-scan, cloak-sheets, cloak-translate, cloak-redact, and cloakup —
are separate products. Each has its own price, published on that application's
/pricing page. Those prices are not the platform SLA and are not interchangeable.
Where an application relays through the platform, that relay is processed under this
document in CloakAPI's capacity as platform operator; the application's end user is not
the platform Controller unless they also hold a CloakAPI developer account.
See the consumer application terms.
Fees for the platform are the markup rates at cloakapi.io/pricing. End-user applications listed above are billed on those applications' own pricing pages and are not governed by the platform fee schedule below except to the extent an application, acting as a platform customer, consumes prepaid markup.
2. Customer responsibilities (acceptable use)
- You are responsible for all traffic sent under your API keys.
- You will not use the Service to violate law, infringe rights, or transmit malicious code.
- You will not attempt to defeat our payload-free logging by injecting payload-bearing fields into metadata channels.
- You will keep the desktop client and your token vault secured. Loss of the recovery quorum (Shamir 3-of-3) is irrecoverable by us — that is the design.
- If you build on CloakAPI and enable usage-metadata attribution, you will disclose to your own end users that content-free usage metadata (and a pseudonym you supply) is processed by CloakAPI as your sub-processor, and you will never put personal data (name, email, phone, or any other PII) in the
X-Cloak-End-Userheader — use an opaque token you control. If optional attribution recording is enabled, a header value that resembles personal data may be replaced with a tenant-scoped pseudonym before storage; raw header values are not stored. See docs.cloakapi.io/platform/attribution. - If you download third-party models through the desktop app or another client, you are responsible for complying with their licences. The installer does not check licence terms such as acceptable-use policies or deployment caps.
- You will not use the Service for any practice prohibited by Article 5 of the EU AI Act (Regulation (EU) 2024/1689), such as social scoring, manipulative or deceptive techniques, exploiting people's vulnerabilities, or real-time remote biometric identification in publicly accessible spaces.
3. Provider responsibilities
- We will operate the Service with commercial diligence and the SLOs published at status.cloakapi.io.
- On supported client paths, the client makes a best-effort attempt to tokenize detected personal data before sending; detection may miss values. The gateway does not run personal-data detection or tokenization on its servers. It relays the content it receives to the selected AI provider and returns the provider response. The gateway checks that a request comes from a CloakAPI client, but it cannot verify that the client's detection ran or that the text was reviewed, and it does not read message content to check.
- We will give 30 days' advance notice of material changes to these Terms, sub-processors, or pricing for established accounts. An established account is an account with a verified email address that is not scheduled for deletion.
4. Fees & billing
The price book is published at cloakapi.io/pricing. CloakAPI charges a markup on the underlying provider cost: 15% for CloakAPI keys (pooled provider keys), 5% for BYOK (bring your own provider keys), 5% for Complete-local (self-hosted / desktop model).
Rate changes. We may change our markup rates and fees at any time. A change takes effect for prepaid pay-as-you-go usage on the next call made after the change is published (each call is billed at the markup in effect when the call is made, per that call's receipt), and for established accounts after 30 days' advance notice under §3. Your continued use of the Service after a change takes effect constitutes acceptance of the revised rates.
Pricing accuracy. The per-model provider prices we display — in the portal, the AI model selector, and the price book — are based on each provider's own published pricing, which we track on a best-effort basis. A displayed price may occasionally be out of date or incorrect, and some providers use dynamic, variable, or individually negotiated pricing that we can only stipulate or estimate in advance. We reserve the right to correct any displayed or quoted price. The authoritative amount charged for any individual call is the amount recorded on that call's receipt, which reflects the actual provider cost plus the applicable markup at the time of the call.
Prepaid balance accounts are debited per call. Postpaid invoiced accounts settle monthly, net-30. Disputes must be raised within 60 days of invoice date.
Trial credit. Eligible accounts may receive $2 of trial credit after email verification. The credit works on any priced model until it is used up. Trial credit is granted at most once per account, and it is not granted to sign-ups that our abuse checks flag. Trial and promotional credit is not covered by the Service Level Agreement. Unused trial credit is forfeited if you close or delete your account (section 10).
Browser extension plans. The browser extension includes a free monthly allowance of protected messages in each browser. Beyond that allowance you can use it with a CloakAPI account key, in which case each exchange is charged to your prepaid balance as CloakAPI's own privacy fee, priced by reference to the equivalent API token cost of the model you use (it is not a pass-through of your AI provider's bill), or, where it is offered, with an Unlimited subscription billed monthly or yearly with no charge per message. In the current extension the free allowance is 200 protected messages per browser per calendar month, and Unlimited is 5 US dollars a month (500 cents) or 48 US dollars a year (4800 cents). The extension shows the allowance and the price before you buy. The extension guide is at docs.cloakapi.io/start/extension.
Klokk Nettablering is not VAT-registered, prices are stated without VAT, and we do not add VAT. If this changes, we will update these terms and the prices with at least 30 days' notice under §3.
Payments are generally non-refundable, except where these terms or applicable law say otherwise.
5. Intellectual property
You retain all rights to your prompts, responses, and any data you process through the Service. We retain all rights to the Service software, the receipt-chain protocol implementation, the detector library, and the brand. The OpenReceipt spec is licensed under CC-BY 4.0.
6. Confidentiality
Each party will protect the other party's confidential information with the same care it gives its own (and not less than reasonable). Account data, support communications, and contract terms are confidential. The receipt chain itself is public by design (the value of the spec depends on it).
7. Warranties & disclaimers
We warrant that the Service performs materially as documented. EXCEPT FOR THIS, THE SERVICE IS PROVIDED “AS IS” WITHOUT IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
Information on our sites about laws, regulations and certifications (for example the GDPR, HIPAA, NIS2 or the EU AI Act) is general information, not legal advice. Whether CloakAPI fits your obligations is for you and your own advisers to decide.
7a. Scope of privacy protection — what CloakAPI does NOT protect against
On supported client paths, CloakAPI clients replace the personal data they detect before a request reaches the AI provider. This is a real but bounded protection, not a guarantee. Being explicit about its limits is part of the product. The following are out of scope; evaluate them against your own threat model. The full technical threat model is public at docs.cloakapi.io/security/threat-model.
- 1. The AI's own generated output. Tokenisation protects what you send. It cannot control what the model writes back, hallucinates, or reproduces from its own training data. If a model was trained on data about you, it may surface that regardless of how your prompt is tokenised.
- 2. The structure and context of your request. The shape, length, topic and surrounding context of a prompt still reach the AI. Higher privacy tiers redact and scramble more, but some structural / contextual signal is inherent to getting a useful answer.
- 3. Data the detector does not find. Detection covers a defined set of data types and can miss values inside that set. Anything it does not find is sent as written. What to expect is set out in Known limitations (Terms of Service, section 7b).
- 3a. Languages and scripts with thin name coverage. Names written in some scripts (for example Thai and Khmer) may not be replaced, and CloakAPI does not refuse the send for that reason. See Languages and scripts in the Terms of Service, section 7b. Limits of coverage are stated there, not in a receipt. A receipt records the client's statement that on-device tokenisation ran for that send. It does not prove that it ran, and it is not a claim that every name in every script was found (see section 7d).
- 4. What the upstream AI provider does with a request. Receipts record what CloakAPI did; they cannot prove an upstream provider did not log the (tokenised) request, and we cannot enforce a provider's retention or training-use policy. Review each provider's DPA, and use BYOK or complete-local mode where that matters.
- 5. A compromised customer device or browser. Malware, a malicious browser extension, or XSS with full DOM access can observe data before tokenisation. Tokenisation runs in your own browser context and cannot defend a device that is already compromised.
- 6. OS-level keyloggers or screen capture. Software that reads keystrokes or screen pixels sits below the application layer and is outside CloakAPI's threat boundary.
- 7. A compromise of CloakAPI's own infrastructure. CloakAPI is a trusted intermediary; a compromise of the gateway or key-management systems would defeat these protections. Customers who cannot accept that dependency can pursue a self-hosted deployment (roadmap).
- 8. “harvest-now, decrypt-later” quantum attacks. Current transport protocols (TLS 1.2 and TLS 1.3) and signature cryptography (ECDSA P-256) are not post-quantum secure; post-quantum migration is on the roadmap.
- 9. Transparency log participation is opt-in. Receipts use ECDSA P-256 / SHA-256 when they are issued, but only appear in the public transparency feed if the account has opted in.
- 10. Guessable stand-ins. Most stand-ins are derived from the original value by a public function that uses no secret key. Anyone who sees the request (the AI provider, or CloakAPI) can therefore test candidate values against a stand-in: someone who suspects a specific value, such as a particular name, may be able to confirm that guess, and a model may do the same. The map on your device is what turns stand-ins back into real values; it is not sent with the request.
7b. Known limitations
CloakAPI clients look for personal data on your device and replace what they find with stand-ins before a request is sent. Detection is automatic and best-effort. It is not complete: it can miss personal data, and it can mark ordinary text as personal data. This section says what you can rely on and what you cannot. It applies to the clients these Terms cover: the web chat, the browser extension, the desktop app, the local proxy, the MCP server and the SDKs, and to products you build on them. It also applies to the CloakAPI apps, whose own terms refer to this section. Where our sites say that personal data is replaced or removed before content leaves your device, they mean the values the detector finds; they do not promise that all personal data is found.
This section is the full statement of these limits. Other pages and products carry a shorter statement and link here. Technical detail, such as the list of supported formats, is at docs.cloakapi.io/security/detection-coverage.
In this section: what detection looks for, what it can miss, languages and scripts, what happens when it misses, files, images, scans and audio, stand-ins and getting your values back, what the AI provider and CloakAPI receive, differences between clients and measured examples. What a receipt shows is in section 7d.
What detection looks for
Detection has two parts, and they are not equally strong.
- Values with a fixed format. Email addresses, phone numbers, payment card numbers, IBANs and other bank account numbers, national identity numbers, passport and driving-license numbers, health and company registration numbers, IP addresses, postal codes, street addresses, dates of birth, and API keys and similar secrets. These are found by pattern rules, with a checksum where the format has one. The rules are part of the client and need no download. They cover the formats on the published list, not every format in use. A server SDK that runs without its engine uses simpler rules and finds fewer of these values (see Differences between clients).
- Names of people, organizations and places. Names have no fixed format. Name detection depends on the client. Clients can use built-in name lists and, where supported, a name model that the client downloads to your device. The models find names by their context and add to what the lists find. The SDKs that use the native engine detect no organization names, with or without the name model. The TypeScript SDK in a browser can find some organization names from legal endings such as AS and GmbH, even before a model has loaded. Some clients use a second model of about 176 MB for non-Latin scripts. The suite apps and Cloakup disclose that the first name check may download about 357 MB of model files. In portal Chat, “Download name models (about 357 MB)” or choosing to wait for names starts the download if the files are missing. The desktop app can start downloading its base model in the background at startup. The browser extension can start downloading before your first send. The base model file is about 178 MB. Setup shows an estimate of about 180 MB. You can send text with reduced coverage while the models load. Where offered, “Send with basic protection” applies pattern rules on your device. Names and other values the rules miss can be sent as written.
Detection does not look for meaning. A description that identifies a person without naming them (for example “the patient in bed 7” or “the employee who resigned last Tuesday”), an opinion, or a rare job title at a small company is sent as written.
What it can miss
- Names. Unusual names, nicknames, a surname standing on its own, names written in all capitals or all lowercase, and names in languages or scripts the lists and the model cover thinly. A personal name written entirely in lowercase may not be detected. The same name mentioned more than once may be replaced in one place and left as written in another when detection misses one mention. A name can be replaced only in part, so that one of its words stays in the text. In the portal and the engine, overlapping name spans are merged and replaced with one stand-in; the browser extension drops the later overlapping person span. In our web app test, the built-in detectors missed more names before the model loaded and marked no name at all in some languages (see Measured examples). In that test, organization names were missed more often than names of people, and were often replaced only in part.
- Places and addresses. Towns and cities are usually recognized. Countries, regions and streets without a house number often are not, and a city inside an address line can be missed. Address layouts differ by country, and some layouts are missed in part (see Measured examples).
- Numbers without context. A run of digits with no label, country prefix, formatting or valid checksum is not treated as a phone number or an identity number. This is deliberate: otherwise order numbers and quantities would be replaced. Identity and phone numbers in a national format the rules do not cover are also missed, and in some SDKs a phone number can be replaced only in part. An identity number that mixes letters and digits can also be replaced only in part; in our test a UK National Insurance number was replaced only in part, with at least one of its letters left as written.
- Numbers in structured tool fields. A JSON number inside a structured tool field (a tool-call
argumentsvalue, or an Anthropictool_use.inputvalue) is passed on as a number and is not replaced, even when the digits look like a payment card number. The SDK names that value withvalue_not_replacedand does not stop the send. A string value in those same fields is replaced. - Words next to a name. A detected person name can include the capitalized word directly before it, such as Call or Contact at the start of a sentence. The AI receives one stand-in in place of both the word and the name, which can change the meaning of the message. If the reply includes the stand-in, your device restores the original text.
- Reviewing a name in the browser extension. In the browser extension's review sheet, checking the name row sends the whole marked text as written. Leaving it unchecked keeps the whole marked text cloaked. If you need to keep the preceding word, cancel, reword the message, and review it again before sending.
- Labels next to national ID numbers. The rule for a Norwegian national ID written with the label “fødselsnummer” includes both the label and the number. One stand-in replaces both. The national ID row in the browser extension's review sheet is locked, so you cannot send the marked text as written from that row. If you need the label in the message, cancel and reword the message with the label and without the number.
- Values that are disguised, encoded or broken up. Look-alike characters from another alphabet inside a value, values encoded as base64 or similar (payment card numbers excepted), and values other than email addresses that are split across lines, pages or markup.
- Formatting. Results can vary with punctuation, spacing, line breaks and the kind of document the text came from.
- Ordinary text marked in error. Detection can replace a word that is not personal data. Detection sometimes marks ordinary words as names, places or companies, most often form labels and headings in languages other than English, and replaces them with invented ones (see Measured examples); we have also seen whole lines of a German text marked. A common place name in an ordinary question can be replaced, which can lower the quality of the answer. The stand-in is turned back in the reply you see, but the model worked with the stand-in.
Languages and scripts
Pattern rules for fixed-format values do not depend on the language of the text around them, but the national formats they cover are a list, not the whole world. Name detection depends on language. The name model was trained on text in ten languages: Arabic, Chinese, Dutch, English, French, German, Italian, Latvian, Portuguese and Spanish. It also finds names in other languages; in our test of short, clean texts in 40 languages it did so in most of them, with Persian and Thai as the exceptions. The built-in name lists alone miss far more: until the name model had loaded, no name was marked in the test texts in nine of the 40 languages, among them Arabic, Hebrew, Hindi and Tamil (see Measured examples).
Khmer and Lao names are not reliably detected. In the portal name-list check, held-out Lao names were left as written, including a Lao given name that is on the built-in list. In scripts that are written without spaces between words or without capital letters, for example Thai, Khmer and Lao, name detection is weak, and names can be sent as written when every part of detection has loaded. Some clients can download a second model for non-Latin scripts. In an earlier test it improved results for Khmer, Amharic and Thai without closing the gap, and showed no reliable improvement for Lao. In our test of 12 November 2026, which has no Khmer, Amharic or Lao text, it made no difference for Thai: with or without it, the family name was left as written in 6 of 8 Thai texts. It did make a difference for Persian (see Measured examples). CloakAPI clients are designed not to refuse a request because of the script it is written in. Current coverage is described at docs.cloakapi.io/security/detection-coverage.
What happens when it misses
- A missed value is sent as written. It passes through our gateway to the AI provider you chose, in the same way as the rest of your text.
- CloakAPI is designed not to stop a request because of its content. What a client detects, it replaces. What it cannot replace is sent, with a warning where the client knows about it. A request can still be refused for reasons that are not about content: sign-in, balance, quota, format, size, or an error at the provider. When the on-device engine runs without its name model, the request is still sent: the engine's rules replace the values they find, a name can be sent as written, and the client reports reduced coverage (the SDKs with a reduced_coverage warning, the local proxy with the header x-cloak-name-protection: reduced). When no usable engine is found, because the engine file is missing, cannot be loaded, does not match its pin or was built for another rule set, the client's built-in rules run instead, the request is sent, and the client gives the same warning. In the TypeScript, Go, Rust, .NET, Java, Ruby and PHP SDKs a caller can choose strict handling instead; such a request is then refused and nothing is sent. SDK versions before TypeScript 1.5.0, Go 1.3.0, Java 1.3.0, .NET 1.3.0, PHP 1.4.0 and Ruby 1.4.0 refused a request when the engine they loaded was not the one they expected, the Python SDK before 0.5.0 also refused when its engine would not take the text without the name model, and the local proxy before 0.4.0 refused every chat request when no local name model was running; in those cases nothing was sent.
- The warning. When a client knows that its coverage is reduced, it shows a warning and still lets you send. This happens when the name model is still downloading, has failed to load or is turned off; when the text is in a script that name detection does not cover; when a detected value cannot be replaced in the text; and when the on-device check could not be prepared at all. In that last case the apps show the exact text that would be sent; if you send it, it goes as written. A request sent with reduced coverage may have no receipt.
- No warning does not mean nothing was missed. A client can only warn about gaps it knows of. A name that no part of detection recognizes is sent without a warning.
- Review is your last check. Most clients show the text that will be sent, with the stand-ins in place, before you send. Read it. The local proxy, the SDKs and the MCP server have no review screen. In the browser extension, typed-text review depends on the route and review settings. When the name model is unavailable, the extension can use the on-device quick check with the engine's rules and the built-in name list. On paths that ask you to confirm basic protection, the extension shows the text prepared by the pattern rules and waits for your choice. Attachment review follows the separate rules below.
- You can choose to send a detected value as written. Some clients let you send a detected value unchanged, for example when the model needs the real value. That value then goes to the provider as written.
Files, images, scans and audio
- Files are checked as text. On a supported client path, the client reads text from files on your device and runs detection on the extracted text. The file types and sizes a client accepts differ by client; in most apps the limit is 4 MB per file and 300,000 bytes for the request (about 300,000 characters of English text, fewer in scripts that need more bytes per character), and a file that is too large or of another type is refused with a message.
- Files that cannot be read cannot be checked. Examples are a scanned PDF with no text in it and a damaged file. The browser portal and the desktop app leave the file out and show a notice, and the rest of the message can still be sent. On protected upload paths in browser extension version 0.1.97, a failed file relay does not send the original file. Where the extension offers a choice, you can leave the file out and continue with protected text, or cancel the send. On paths that offer a placeholder for an unsupported or unreadable file, the extension shows the placeholder for review before sending it. The local proxy replaces an unreadable document in the attachment list with an omission note, tokenizes readable text and returns a reduced-protection notice. It forwards without an approval prompt. Keep files and images out of proxy requests if you need to review them before sending.
- Images and scans. Where a client reads text from an image, it does so on your device, and only text it manages to read can be checked. Blurred photos, unusual fonts, handwriting and a reading language that does not match the image all cause text to be missed. Reading English is built in; other reading languages are downloaded when you choose them. Faces, QR codes, logos, signatures and anything else that is not readable text are not removed from an image that is sent.
- Audio. Where an app turns speech into text, it does so on your device, and the audio is not sent. A name that is heard wrongly is written wrongly and may then not be detected. Check the transcript before you send it.
- What has been tested. Review of the prepared content before sending has only been tested for plain-text files, in test builds of two clients (the browser extension and cloak-convert). It has not been tested for other file types, images or routes, or for every released build. The browser extension's test of PDF files used a fixed synthetic substitute, so extraction, review and sending of real PDF and image content have not been tested end to end.
- Upload paths. The browser extension protects the standard upload paths it intercepts; the page can use other network paths the extension does not control.
Check what your client shows before you send, and do not send files, images or recordings you are not prepared to share with the provider.
Stand-ins and getting your values back
- What a stand-in looks like. For most values the stand-in is a made-up value of the same kind: a name for a name, an email address for an email address. Payment card numbers, IBANs, identity numbers, dates of birth and secrets are replaced with a marker such as
[CLK-CARD-…]. Some clients and privacy modes replace every value with a marker such as<<CLOAK:TYPE:…>>. - A stand-in can change the answer. The browser extension chooses stand-in names without matching the gender of the original name. The model can use pronouns that fit the stand-in. Those pronouns stay in the reply when the extension restores the original name on your device. Check the pronouns before using the reply. A stand-in name can also suggest a different country or language, which can affect the model's answer.
- Getting your values back can be incomplete. The client puts your real values back in the reply it displays, using a map kept on your device. If the model changes a stand-in, for example by translating, abbreviating or re-spelling it, that stand-in may stay in the reply. A word of your own that was not replaced can also be changed on the way back, because it matches part of a stand-in; we have seen this in testing (see Measured examples). Generated files and documents, artifacts, canvases, links and copied text may still contain stand-ins, and some files (for example PDF text) cannot be rewritten.
- Where the map is kept. In the apps, the web chat, the browser extension and the desktop app, the map is kept on your device and is not sent with the request. If it is lost, for example because browser data was cleared or you moved to another device, stand-ins in earlier replies cannot be turned back. With an SDK, the map is held by your own program. With the MCP server, original values can be available to the program that calls it; if that program is an AI assistant, do not assume it cannot see them, and check what each tool returns in the version you install.
- The same value usually gets the same stand-in. On the engine, the desktop app, the portal and the SDKs, a stand-in is computed from the original value and its type, without a secret key. The same value therefore usually gets the same stand-in again: in a later request, in a later session and on another device. A collision can draw a different stand-in. Anyone who sees one of these stand-ins can check whether it was made from a value they guess. The browser extension's built-in name, organisation and place list draws a fresh random salt on each send, so those stand-ins do not repeat and cannot be recomputed from the value alone. See section 7a, item 10 for what that means if someone already knows the value.
- Stand-ins are not anonymity. Text with stand-ins is still personal data for as long as the map exists, and the text around a stand-in can identify a person by itself. Stand-ins can also be guessed in some cases; see section 7a, item 10.
- Nextcloud recovery vault. We did not test the recovery vault's Nextcloud provider end to end before launch. The default setup uses no recovery vault. If you choose Nextcloud, test a restore before relying on it.
What the AI provider and CloakAPI receive
- The AI provider receives your request with stand-ins in place of the values that were detected, together with values the client did not detect or that you chose to disclose. What happens to attachments depends on the client and route described above.
- The gateway does not detect. Our gateway does not run personal-data detection or tokenization on its servers, and it does not change message text. It checks a request's proof headers, shape, size, authorization, balance and quota, and before forwarding it removes the metadata attached to individual messages and, for some providers, email addresses found in identity and metadata fields. It handles the request bytes in order to authenticate and route the request, and it does not examine message text for personal data. It cannot verify that detection ran on your device or that you reviewed the text.
- Direct calls and shared proxies. On-device replacement runs only in the client on your device. A request sent straight to an app's relay or to the API with a plain SDK, or through a shared proxy on another machine, is relayed as received.
Differences between clients
Clients are built and released separately, and the rules they contain differ by client and version. The same text does not necessarily give the same result in two clients. The SDKs, the local proxy and the MCP server are packages you download and run yourself; a version you have installed can behave differently from the description below. Test the version you install before you rely on it.
- Browser extension. The extension covers only ChatGPT, Claude, Gemini and Grok. Other sites are not protected. The extension works only on the chat sites it lists (ChatGPT, Claude, Gemini and Grok), and only once it is active in the tab; a site's own scripts may send data before then. It tokenizes request bodies; URLs, query strings and request headers are not tokenized. A payment card number in a URL or a request header is flagged and still sent. It is not replaced. What a site displays does not confirm what the provider received. When the extension is not active in a tab, it tells you and offers to send that message without protection. Without an account key it replaces values only within its free monthly allowance; when the allowance is used up, or a key is rejected or its balance is spent, it tells you, and messages are not replaced until protection resumes.
- Local proxy. The proxy has no review step. The local proxy applies its built-in rules and its built-in name list on this machine. From version 0.4.0 a missing local name model does not stop the request: the request is sent, and the response carries x-cloak-name-protection: reduced. Local proxy 0.4.0 is offered on the downloads page: Linux binaries for x86-64 and ARM64 and a Docker image for x86-64. Setting the fallback to fail-closed does not stop that send. Before 0.4.0 every chat request was refused when no local name model was configured, and nothing was sent.
- SDKs on a server. The native engine file (libcloak_engine.so) is not offered on the SDK download manifest. It is not offered until a 1.6.1 build is listed. The manifest still offers the on-device name model (model.onnx) and its tokenizer. The Python SDK wheels for Linux (glibc 2.39 or newer) on x86-64 and aarch64 carry the native engine inside the package; on other systems Python installs without it. The Ruby gem for x86-64 Linux (platform
x86_64-linux) carries the same native engine inside the package; the engine needs glibc 2.39 or newer. Other systems install the pure Ruby gem, without the engine. Until a native engine file is listed, the Go, Java, .NET, PHP and Rust SDKs, the TypeScript SDK in Node, and Python or Ruby without the engine use the pattern rules written for that language. These fallback rules find fewer fixed-format values than the engine, find few names, and differ between SDKs: a national identity number, a phone number, a date of birth or a street address can be sent as written (see Measured examples). The SDKs do not read images, audio or binary files inside a chat request. An image, audio or file block, a data: URL, inline base64 bytes, a media URL or a file id is sent to the AI provider as provided, and the request carries the warning unchecked_content / media_not_checked. A text block, and a document whose source is plain text, is tokenized like other text. A text file sent as base64 bytes is media and is sent unread. The Go, Rust and .NET SDKs carry message content as text only. The local proxy reads text out of an image and sends that text. An image it cannot read is left out, and the request carries a notice. A document in the attachment list is read and tokenized, or replaced with an omission note and a notice. Audio and other media blocks in the chat body are sent as provided, without a media notice. The Python SDK before 0.5.0, the Java SDK before 1.3.0, and the Ruby and PHP SDKs before 1.4.0 refused a request with inline media, and nothing was sent. File and image functions that need the engine return an error. What the SDKs and the local proxy do when coverage is reduced is set out under What happens when it misses. Test the version you install. The browser SDK runs in the browser and does not have the platform limit. - MCP server. The MCP server works on text. It does not read PDF, DOCX or XLSX files.
- If you build on CloakAPI. These limits apply to your product as they apply to ours. Tell your own users what detection does and does not do, and replace known sensitive fields in your own code before they reach a prompt where you can.
Per-client detail is at docs.cloakapi.io/security/detection-coverage and docs.cloakapi.io/platform/sdks.
Measured examples
- A name and the word before it, browser extension 0.1.86 test on November 18, 2026. In
Tell Kari Nordvik at kari.nordvik@example.com that her package ships Monday.the name lists markedTell Kari Nordvik. Grok receivedSilje Moen at … that her package ships Monday.with a stand-in email address in place of the ellipsis. - A national ID and its label, browser extension 0.1.86 test on November 18, 2026. The extension marked
fødselsnummer 01019012480as one national ID. ChatGPT received one[CLK-GOVID-…]stand-in in place of the label and number. - A stand-in name and pronouns, browser extension 0.1.85 test on November 18, 2026. The original name
Ingrid Testvikwas sent asBjørn Karlsen. Pronouns such as “he” can stay in the reply you see after the extension restoresIngrid Testvik. - Names of people, test of 12 November 2026: We ran the engine and the models that our web apps load (engine ruleset 1.6.1, in Chrome) on 320 short made-up texts in 40 languages, eight per language, with 120 different invented names. Seven of the eight texts per language are forms, notes or letters, most with a label such as “Name:” before the name; one is a sentence of prose. The texts are clean: no typing errors, no scanned text, no nicknames, no names in all capitals. Before the name model had loaded, at least part of the name was marked for replacement in 200 of the 320 texts (62.5%) and the whole name in 178 (55.6%). With the name model loaded, the figures were 315 (98.4%) and 308 (96.3%). With the second model for non-Latin scripts loaded as well, they were 319 (99.7%) and 313 (97.8%). Each name appears in two or three texts, so these figures are less certain than 320 separate names would make them. We have used these texts since July and the engine has changed many times since, so it may handle them better than texts it has not met. Khmer, Amharic and Lao are not in the test. The browser extension, the desktop app, the server SDKs, the MCP server and the local proxy were not run in this test, and it says nothing about them.
- Names by language, same test: Each language has 8 texts with 3 names, so these are counts, not rates. Before the name model had loaded, no name was marked in the Arabic, Persian, Hebrew, Hindi, Tamil, Georgian, Kazakh, Lithuanian and Latvian texts (0 of 8 in each), 1 of 8 in Chinese, and 3 of 8 in each of Finnish, Vietnamese, Estonian, Bulgarian and Bengali. With the name model but without the second model, 5 of 8 Persian names were not marked. With both models loaded, the whole name was marked in 8 of 8 texts in 38 of the 40 languages; in Thai the family name was left as written in 6 of 8 texts, and in Persian 1 of 8 names was not marked.
- Organizations and places, same test: The test has 40 organizations and 40 places, one of each per language, all real and well known; lesser-known ones were not measured. With both models loaded, organization names were marked at least in part in 108 of 120 texts (90%) and in whole in 82 (68.3%): 12 were not marked, and in 26 only part of the name was replaced, often the country or city word in it. Before the name model had loaded the figures were 51 (42.5%) and 27 (22.5%). Place names were marked at least in part in all 160 texts and in whole in 157 with both models, and in 152 and 147 before the name model had loaded.
- Text marked in error, same test: With both models loaded, 85 pieces of text that were not personal data were marked, about 16 for every 1,000 words of the test; before the name model had loaded, 67. Most were form labels and headings in languages other than English, for example the Turkish words for “name and surname” marked as a person, and the heading of a German bank note replaced with an invented company name. The test texts contain many more labels than ordinary writing, so the rate in other text can differ in either direction. Of the 366 pieces of text the full setup marked as a person's name, 340 overlapped a value labelled in the test (92.9%).
- Earlier test, 25 July 2026: The same 320 texts, run outside a browser with an earlier engine version (ruleset 1.4.29) and an earlier name model: at least part of the name was marked in 167 of 320 texts (52.2%) without the model and in 305 (95.3%) with it, and the whole name in 151 (47.2%) and 270 (84.4%). The test method is described at docs.cloakapi.io/security/detection-benchmark.
- Addresses: In a test of 12 synthetic address formats using TypeScript SDK 1.3.30 and engine 1.6.1, address fragments remained in four formats: a Norwegian street and number split by a line break; a Swedish number before the street name; a US P.O. Box with postal code; and a German Postfach with number. Each of those four misses appeared in 3 of 3 positive requests in both Balanced and Max mode; the tested negative controls had 0 of 3 raw matches. A separate wire test using SDK 1.3.29, then pinned by the apps, measured misses in 9 of 12 tested formats. These are results for the named versions, routes, and fixtures only. TypeScript SDK 1.3.30 is not the current TypeScript SDK (1.6.0).
- Names in cloak-convert: In a limited test of cloak-convert in Balanced mode, names in ordinary TXT and Markdown content were missed in all 6 tested cases for each format. PDF text, DOCX, HTML, and EML each passed 6 of 6 cases in that same test; this does not establish coverage in those formats. Max mode was only partly measured (PDF text and DOCX), and the negative and rejection controls were not measured.
- SDKs, proxy and MCP server without the name model: In a check on 12 November 2026 of the SDK source versions of that day, MCP server 0.4.1 and local proxy 0.3.0 with six short synthetic texts, the seven SDKs that were run without the engine, and the proxy running without a name model, sent the names of people in the Norwegian, English and German texts as written. A Chinese and a Thai name were sent as written by the Python, Go, Java, .NET, PHP and Ruby SDKs and by the proxy. The MCP server replaced the names in Latin script and the Thai name, and sent the Chinese name as written. Running on their fallback rules, the Java, .NET, PHP and Ruby SDKs also sent a Norwegian national identity number and a Norwegian phone number as written, the PHP and Ruby SDKs a date of birth, and the TypeScript SDK two street addresses. The Python SDK with the engine and the name model replaced every test value in the six texts. Those sentences describe the builds named in that 12 November 2026 check. On 2026-11-15 MCP server 0.4.1, local proxy 0.3.0 and the native engine file were withdrawn: their download addresses answer HTTP 410, and they are not listed as packages on offer.
- Package versions and earlier measurements. The measurements above that name MCP server 0.4.1, local proxy 0.3.0, or TypeScript SDK 1.3.30 describe only those builds. Current package versions are listed in the SDK and package overview.
- With and without the name model: In a check of cloak-cv on 11 and 12 November 2026 with five test texts in English, Norwegian, German and Spanish, the app found 20 values in a German text with the name model and 17 without it, and 12 and 10 in a Norwegian text. With the model, 12 of 13 place names were replaced; a city inside a German address line was sent as written, with no warning. In one text sent without the model, a company name that had not been replaced came back with one word changed.
- Text in images: In a test on images in several languages on 12 September 2026, reading with English alone failed to read 42 of 70 personal-data values, so detection did not see them. Reading with the matching language as well left 14 unread.
These measurements describe the listed test material and the named versions. They are not an estimate of the share of all requests that contain missed data, and they do not predict results for other content, routes, or versions. A high figure on short, clean, made-up texts is not the figure for your text: names in real documents, text with typing errors, scanned text and unusual names can be missed more often.
7c. Security testing
The Service has not been independently penetration-tested. It may contain vulnerabilities.
7d. What a receipt shows
When issuance and storage succeed, a completed call carries a receipt signed by the gateway. A failed call made with an API key may get a failed-call receipt, and a stream that is cut off early may end without one. A receipt records the statements in its signed envelope. Engine version and engine hash fields are always the client's own statements, and some receipts (such as client-signed receipts from the desktop app) contain further fields that the gateway has not verified. A receipt does not prove that client-side detection ran, which engine build ran, that every personal-data value was found, or that every request produced a receipt. The gateway signs a provider's response as it received it, so a receipt does not detect a change between the provider and the gateway.
8. Liability cap
Each party's aggregate liability under these Terms is capped at the fees paid to CloakAPI in the 12 months preceding the incident. Neither party is liable for indirect, incidental, consequential, or lost-profit damages. The cap does not apply to (a) breach of confidentiality, (b) gross negligence or wilful misconduct, or (c) IP-infringement indemnification.
9. Indemnification
We will defend you against third-party claims that the Service, used as documented, infringes their IP. You will defend us against claims arising from your use of the Service in violation of these Terms or applicable law.
10. Termination
Either party may terminate for material breach with 30 days' written notice and a cure period. You may close your account at any time from the portal. If you close or delete your account, any unused prepaid balance and any trial credit is forfeited and is not refunded, except where a refund is required by law. Prepaid balance does not expire while your account is open. When you delete your account, deletion is scheduled 7 days ahead, and you can cancel before that date. After that date the account name is set to Erased, the email is replaced with an address that still contains the account id, and the account row is closed, not removed. That step does not delete invoices or receipts. We keep invoices and payment records, including prepaid balance transactions, for 5 years after the end of the financial year (Norwegian Bookkeeping Act). A row from calendar year Y stays through 31 December of year Y+5 under the real user id, and a daily job then deletes it. We keep receipts and security audit records as the privacy policy describes. Organisation deletion uses the same 7-day clock and does not complete while receipts, audit rows, usage records, credit-ledger rows, or bookkeeping rows still inside that window exist. Off-site database backups that contain erased data are kept for up to 33 days after live-system erasure.
11. Governing law & venue
These Terms are governed by Norwegian law. Disputes are resolved in Oslo District Court (Oslo tingrett), subject to any consumer-protection rights you have under your country of residence.
12. Contact
Legal: legal@cloakapi.io · Privacy and data protection: support@cloakapi.io · Security: security@cloakapi.io