Detection coverage
This page lists what the on-device detection engine finds today, which evasion techniques still work against it, and where its limits are. It gives no precision or recall figures of its own: measured numbers, with their corpus, scorer and biases, are on Detection benchmark, and wire-level egress measurements are on Verification and evidence. Types and identification modes the engine does not catch are listed on What the engine does not detect. Which engine build and ruleset each surface ships, with hashes you can check, is in Engine and ruleset per surface.
Where detection runs
Detection runs on your device: in browser WASM, in the desktop app, in the local proxy, or in an SDK you embed, before the client sends the request. Implementations and rulesets vary by surface and release, so the same text does not necessarily produce the same detection result.
The gateway does not run detection on request bodies, and there is no server-side detection tier
you can opt into. The gateway exposes no /v1/detect, /v1/tokenize, /v1/detokenize or
/v1/reconstruct route: those were retired, and the detection engine was deleted from the
gateway code rather than disabled behind a flag. See
Content-blindness attestation.
Coverage on this page is therefore a property of the engine build your device loaded, not of a
plan or a server-side setting. That build is identified by an engine hash and a ruleset version,
both checkable against a public allowlist that you can rebuild from source
(GET https://api.cloakapi.io/api/v1/engine/hashes); see
Reproducibility.
Rules-only SDK text fallbacks are a separate path: tested TypeScript and Python fallbacks had partial coverage across national IDs, dates of birth, IBANs and phone formats. These results do not establish coverage for engine-backed paths; see SDK coverage behavior.
Two detection approaches
Clients use two approaches with different coverage. The benchmark reports them separately.
| Aspect | Structured identifiers | Names, organizations and places |
|---|---|---|
| What it finds | Identifiers with a defined structure | Free-form person, company and place names |
| How | Pattern rules and checksum validation | Name and place lookups, organization cues, and on-device models, depending on the client |
| Model needed | No separate model for supported pattern checks | Depends on the client and name type |
| Coverage | Pattern and checksum matches depend on supported forms | Best-effort; names may be missed |
Structured identifiers
The current ruleset includes around 140 identifier rules. These pattern checks need no name model; detection depends on the supported forms and the client path. The rules cover:
- Contact and network: email addresses; phone numbers (international form, and cue-anchored national form); IPv4 and IPv6 addresses; MAC addresses; URLs.
- Payment and banking: payment card numbers; IBAN; BIC/SWIFT; ABA routing; UK sort code and account; national account and payment-reference formats; Bitcoin, Ethereum and stablecoin addresses.
- Government and personal identity: roughly 60 national and personal identity-number formats across the Americas, Europe, the Nordics, Asia and Oceania (SSN, NINO, personnummer, CPR, HETU, kennitala, NISS, NIF, codice fiscale, BSN, PESEL, SIN, Aadhaar, PAN, My Number, CPF, CURP, RUT and others), plus passports and passport MRZ lines, driving licenses, green-card and USCIS receipts, and voter IDs.
- Company identity: around 15 VAT and company-registry formats (UK, EU, NO and CH VAT, ABN, CNPJ, GSTIN, HRB, CVR, organisationsnummer, Y-tunnus, KvK, Companies House and others).
- Health: NHS number, helsenummer, HPR, Medicare, Versichertennummer, insurance numbers, prescription and lab-order references, ICD-10 and SNOMED codes.
- Location and device: around 12 postal-code formats plus city- and cue-anchored postal forms; GPS coordinate pairs; IDFA and GAID advertising identifiers.
- Credentials and dates: API keys and bearer secrets, JSON Web Tokens, dates of birth.
- Other: biometric template references, medical record numbers, alias handles.
Checksums are used wherever the format has one. Twenty-one validators are implemented, including
Luhn (payment cards, Canadian SIN), IBAN mod-97, Verhoeff (Aadhaar), and the NHS, Dutch BSN,
Brazilian CPF, Chilean RUT, Mexican CURP, Australian ABN, Belgian NRN, Czech and Slovak rodné
číslo, Chinese RIC, Danish CVR, Finnish Y-tunnus, Japanese My Number and Norwegian
organization-number checks. In balanced mode, detected payment cards, IBANs,
national and government IDs, dates of birth and secrets can use opaque [CLK-…]
markers. Other detected classes, including checksummed company and health numbers,
can use generated stand-ins. In measurements of the browser TypeScript SDK 1.6.1,
detected payment cards became [CLK-CARD-…] in both balanced and max.
A normalization pre-pass runs before matching. Invisible and format characters (zero-width
space and joiner, soft hyphen, BOM, word joiner, bidi controls, variation selectors, Unicode
tags) are stripped, fullwidth and compatibility ASCII is folded to ASCII, and non-ASCII decimal
digits from 46 scripts (Arabic-Indic, Devanagari, Bengali, Thai and others) are folded to
0–9. The pre-pass keeps a byte-offset map back to the original string, so a match found on
the folded text is tokenized at its exact original bytes, invisible characters included.
Names, organizations and places
Free-form names have no checksum and no fixed format, so this detection is best-effort: names can be missed. It has a deterministic base layer plus optional heavier layers:
- Deterministic gazetteer layer. Frequency-tiered given names and surnames across many cultures
and scripts (Latin, Arabic, Hebrew, Devanagari, Bengali, Gujarati, Gurmukhi, Oriya, Tamil,
Telugu, Kannada, Malayalam, Thai), plus locale name and place datasets and a world-places
dataset. Holding entries for a script does not mean that names in it are found: in the
12 November 2026 test the lists alone marked no name in the Arabic, Hebrew, Hindi or Tamil
texts (0 of 8 each); see Detection benchmark. Name entries are transcribed from published national statistics-authority
name-frequency lists (SSB, INSEE, US Census/SSA, Destatis and others); place entries are
transcribed from a GeoNames
cities1000snapshot (CC BY 4.0; attribution: GeoNames, geonames.org). Nothing is fetched at build time. The bundled lists are loaded locally; lookup is synchronous and does not call a network service. - Optional, on-device: an expanded gazetteer. A larger name asset that a surface downloads on demand and caches once.
- Optional, on-device: a quantized transformer NER model. A multilingual token-classification model covering ten high-resource languages. It finds names by context rather than by dictionary membership, and its results are added to the gazetteer’s. Browser surfaces run it through transformers.js in WebAssembly; the desktop app runs its model natively through ONNX Runtime. The files are self-hosted by CloakAPI and fetched on first use. When the model is missing or fails, behavior differs by surface; see When the name model is missing or fails. A warning is not proof that every name was detected.
- Local proxy: an optional, loopback-only on-device mini-model (Ollama running Phi-3.5-Mini by
default) covers name detection there. The withdrawn 0.3.0 binary answers 503 to chat requests
while that model is unreachable, unless
CLOAK_NER=offis set (measured on 2026-11-12). Proxy 0.4.1, the download on the downloads page, sends with pattern checks only instead and labels the responsex-cloak-name-protection: reduced. See Local proxy.
Organization names have no pattern in the shared rules. The native SDK text path skips organization spans returned by its name model. The TypeScript browser SDK can recognize some organization names from legal endings such as AS and GmbH, even without a model.
On-device name models
Which model you get depends on the surface. The suite and portal sizes come from the served files. The extension sizes come from the file sizes pinned by version 0.1.97:
| Surface | Model | Architecture | Download |
|---|---|---|---|
| Suite apps and browser portal | Xenova/bert-base-multilingual-cased-ner-hrl | Multilingual BERT (q8 ONNX) | Model file 178 495 423 B; 181 416 484 B with its tokenizer and configuration files (~181 MB) |
| Browser extension 0.1.97 | Xenova/bert-base-multilingual-cased-ner-hrl | Multilingual BERT (q8 ONNX) | Model file 178 495 423 B; 181 416 359 B with its tokenizer and configuration files (~181 MB) |
The suite apps and the browser portal also serve a second model, ner-mmbert (ModernBERT,
22 layers), as a further layer for non-Latin sentences: model file 141 556 327 B, and
175 970 876 B with its 34 MB tokenizer and configuration files. Sizes are byte counts of the
served files, checked on 2026-11-12; a later model release can change them.
The suite apps and Cloakup disclose a possible download of about 357 MB when you first check for names. Portal Chat displays Download name models (about 357 MB), and choosing to wait for names on a send can also start the download. The desktop app can start downloading the base model in the background on startup. The browser extension can start downloading before your first send. Its base model file is about 178 MB, and setup shows an estimate of about 180 MB. These clients can send text with reduced coverage while the name models load. In portal Chat, Send with basic protection applies pattern rules and declares the send as rules_only.
On 2026-11-12 nine suite apps (cv, redact, write, translate, post, convert, scan, sheets, meet)
requested the multilingual BERT model file, and cv.cloakapi.io then requested the ner-mmbert
model file.
The November benchmark measures the TypeScript browser SDK with its built-in detectors and with the on-device models loaded. Both setups include the SDK’s JavaScript detectors.
When the name model is missing or fails
When the on-device name model is unavailable, behavior differs by surface. The table summarizes the tested paths where measurements exist, and says where reduced-coverage behavior was not measured. It does not establish behavior for every hosted artifact. Files are covered after the table.
| Surface | When the name model is missing or fails to load |
|---|---|
| Chat | In a text-send test, Chat continued with the available detection layers after a name-detection error, showed a reduced-coverage warning, and sent after review. The tokenizer was mocked and the request used loopback; the live name model and WASM were not measured. |
| Browser extension | The tested text-send path continued with available tokenization after an inference failure, showed a reduced-coverage warning, and sent after review. The tests used a mocked engine and inference and a captured fetch; the live browser, production WASM and file uploads were not measured. |
| Desktop app | The tested text-send UI continued with the available layers after a name-detection error and showed a reduced-coverage notice. The tests stubbed the gateway call; live gateway egress was not measured. |
| Other apps | Name-model failure handling differs across products. Check each app’s own guidance for its send flow. |
| SDK source in this tree (Python, TypeScript, Go, Java, .NET, PHP, Ruby, Rust) | With the engine loaded and the name model missing, text is prepared with built-in rules, a warning is shown, and the send can still go out declared rules_only. CLOAKAPI_ALLOW_REDUCED=1 does not turn that on. A strict value stops it on TypeScript, Go, Java, .NET, Ruby and Rust. Python and PHP do not stop a text send from that variable. See Reduced-coverage behavior by SDK. |
| Rust 1.2.0 download | Has no engine and no name model. It refuses to send unless reduced coverage is accepted in code. |
| SDK source that is not yet served | Standard text handling warns and continues with reduced coverage. No download behaves this way today. |
| Local proxy | The withdrawn 0.3.0 binary answers 503 to chat requests while its local name model is unreachable, unless CLOAK_NER=off is set (measured on 2026-11-12). Proxy 0.4.1, the download on the downloads page, sends with pattern checks only and labels name protection as reduced. |
| MCP server | Uses the SDK browser-WASM entry in Node, not native FFI. Text tools return a coverage status and continue with the tokenized result; names that no detector finds may remain in the text. |
| Gateway | The gateway reads request bytes to verify client proof and route the request. It does not scan request text for personal data or verify that detection ran; it relays accepted requests with a client-side proof. |
None of the served SDK packages reads CLOAKAPI_ENGINE_SHA256_PIN; setting it has no effect
today. Pin enforcement exists in SDK source that is not yet served. See
Engine pin.
On the browser surfaces (Chat, the extension and the apps), a name the model detects but cannot place in the text is skipped, and the send continues. A name that no layer detects is sent as written.
Files are a separate case. On some Claude and Grok upload paths, the extension prepares files on your device. On protected upload paths in version 0.1.97, a failed file relay does not send the original file. Where offered, you can leave the file out and continue with protected text, or cancel. On paths that offer a placeholder for an unsupported or unreadable file, you can review the placeholder before it is sent. Whether ChatGPT and Gemini accept substituted uploads has not been established. In Chat and the desktop app, a file that cannot be read is left out of the message with a notice.
On the local proxy, supported image parts and file attachments are extracted on the device
before tokenization, and the extracted text is sent instead of the attachment. The proxy forwards the processed text without an approval prompt. Keep files and images out of requests to the local proxy. Use a client that shows the exact prepared text and waits for approval. If it cannot process an image or file, it omits that attachment from the
outgoing request, puts an attachment omitted note in its place, and returns
x-cloak-name-protection: reduced with a notice. Readable message text and successfully
processed sibling attachments are still tokenized. When an attachment is omitted, the response
also reports x-cloak-coverage: rules_and_names or rules_only.
Known evasions and residuals
These techniques are known to bypass or degrade detection.
Mitigated
- Invisible-character and compatibility-form insertion: zero-width and format characters inserted into an identifier, fullwidth digits, and non-ASCII script digits are handled by the normalization pre-pass above, and the match is tokenized at the original byte positions.
- Base64-wrapped payment cards: a base64 token that decodes to a Luhn-valid 13–19-digit run is detected and tokenized. It is checksum-gated (Luhn), which cuts false positives but does not rule them out.
- National IDs spaced digit by digit: a form such as
1 2 3 - 4 5 - 6 7 8 9is recovered by a targeted, shape-gated span source. - Email addresses fragmented by OCR: a line-wrap inside an email-shaped run is repaired before tokenization. This closed a real leak found on the wire; the full account, including why the re-test also checked that the address was still readable afterwards, is on Verification and evidence.
Not mitigated
- Homoglyph substitution: replacing characters with visual look-alikes from another script
(Cyrillic
оfor Latinoin an email address) evades the pattern rules. The normalization pre-pass folds compatibility forms and digits but does not perform Unicode confusable folding (UAX #39). This is on the roadmap. - General base64 and other encodings: only the checksum-gated card case above is decoded. Arbitrary base64-encoded PII, such as an encoded email address, passes through as an opaque token. A general decode-and-re-detect pass is on the roadmap.
- Fragmentation of classes other than email: the OCR repair is scoped to email-shaped runs. A value of another class split across a line-wrap, a page boundary or an intervening markup element may not match, because detection operates on the text as the device sees it.
- Bare, uncued digit runs: a digit run that could be a phone number but carries no cue word, no country prefix and no formatting is deliberately not treated as a phone number. Treating every such run as one produces constant false positives on order numbers, reference codes and quantities. The same reasoning applies to national-ID forms that are both uncued and carry no validating checksum. Formatted and cued values depend on the supported form and client path. The bare-run exclusion is a chosen precision trade, not a claim that every formatted value is detected.
- Names and places outside the covered data: the gazetteer layer is multilingual but finite, and the optional model covers ten high-resource languages (ar, de, en, es, fr, it, lv, nl, pt, zh). Rare names, unlabeled single-token brand names, and names in scripts with thinner gazetteer coverage will be missed; the per-class organization and person figures on the benchmark page show the size of that residual. The cased model also misses names written in all capitals or all lowercase, which the gazetteer’s case handling only partly covers.
- Semantic identification without an identifier: “the patient in bed 7” or “the employee who resigned last Tuesday” identifies someone through context alone, with no identifier present. No detector addresses this, and no receipt claims to. It is out of scope for the engine.
Measured examples of replacement
These examples come from browser extension tests on November 18, 2026. The first two used version 0.1.86 and the third used 0.1.85. The Terms of Service, section 7b describes the limits in full.
- A name and the word before it. In
Tell Kari Nordvik at kari.nordvik@example.com that her package ships Monday., the name lists included the capitalized wordTellin the name match. Grok receivedSilje Moen at … that her package ships Monday.with a stand-in email address in place of the ellipsis. This can change the meaning. Checking the name row in the review sheet sends the whole match as written. Leaving it unchecked cloaks the whole match, includingTell. To keep the verb, cancel, reword the message, and review it again before sending. - A national ID and its label. The bundled rule matches
fødselsnummer 01019012480as one national ID. ChatGPT received one[CLK-GOVID-…]stand-in for the label and the number. The national ID row is locked in the review sheet, so you cannot send the match as written from that row. To include the label, cancel and reword the message with the label and without the number. - A stand-in name and pronouns. The extension chooses stand-in names without matching the
gender of the original name. In the test,
Ingrid TestvikbecameBjørn Karlsen. The model can use pronouns such as “he” for the stand-in. The pronouns stay in the reply when the extension restores the original name on your device. Check the pronouns before using the reply.
What this means for your deployment
- Structured identifiers (emails, cards, IBANs, national IDs, health and company numbers, IP addresses, postal codes) are the strongest case: deterministic, checksum-validated where a checksum exists, with no model required, and measured both on the benchmark corpus and on the wire.
- Free-form names, organizations and places are best-effort. Do not rely on them as your only control; the organization class is the weakest of the three.
- Adversarial input designed to evade detection: the unmitigated techniques above apply. Consider additional sanitization on your side.
- Review before sending. Where a surface offers a review before sending, use it. In the browser extension, the review panel appears only when “check before sending” is on and something was detected, and not for every request type. For anything sensitive, that review is the last and strongest check.
For high-assurance environments, treat the engine as a defense-in-depth layer rather than as your only control. Tokenizing known sensitive fields explicitly in your application, before they enter a text prompt, is stronger than relying on automatic detection of any kind.
Nothing on this page is a statement about your regulatory obligations, or about whether a particular deployment satisfies a particular law. Those are determinations for you and your advisers. This page publishes architectural facts and measurements with their method and scope attached.
Engine and ruleset per surface
Package bytes below were fetched from the published download URLs on 2026-11-06 and checked again
on 2026-11-12. The self-hosted SDK manifest generated at 2026-11-15T09:01:00Z withdraws the native
engine file (libcloak_engine.so), local proxy 0.3.0, MCP server 0.4.1 and the SDK packages named
in this table. Those URLs answer HTTP 410. Nothing in the table is offered again until a 1.6.1
build is listed. A value is marked “not measured” unless its bytes were captured from a served file.
The current ruleset is 1.6.1, with patterns.json SHA-256
8660b7abe553154802c9d27888a144863bcceaa3703517b8401cc56c590df2f9. Compared with 1.6.0, it keeps the same PII type names and lets the ADDRESS pattern
accept up to two leading name components before the street suffix, where 1.6.0 accepted one. The
street-word and one-to-three-digit house-number checks are unchanged.
The public engine register (GET https://api.cloakapi.io/api/v1/engine/hashes) reports
ruleset_version=1.6.0 with updated_at=2026-07-22T18:00:00Z. That value is a client engine
floor, not the identity of a server-side detector. The ruleset field in production receipts was
not measured for this table.
Most downloadable SDKs still carry ruleset 1.6.0. We have not yet confirmed whether that is an intentional SDK pin, so the table shows it as an older ruleset rather than as a supported pin. Engines and rulesets vary by surface and release. The same input text does not necessarily produce the same detection result on each surface. This table is not a claim of equal detection or equal coverage across surfaces.
| Surface | Ruleset version | patterns.json SHA-256 | Engine / WASM / FFI SHA-256 | Evidence | Status |
|---|---|---|---|---|---|
| Browser portal (app.cloakapi.io) | 1.6.1 | 8660b7abe553154802c9d27888a144863bcceaa3703517b8401cc56c590df2f9 (current ruleset) | f13e74d40c24b1128e19a6d1318f3b7889227c09e86c201119a2ee1154090559 | WASM file served by the portal, measured on 2026-11-12 (2,943,232 bytes); the hash matches the engine identity file published for ruleset 1.6.1 | Measured |
| Cloakup | 1.6.1 | 8660b7abe553154802c9d27888a144863bcceaa3703517b8401cc56c590df2f9 (current ruleset) | f13e74d40c24b1128e19a6d1318f3b7889227c09e86c201119a2ee1154090559 | Cloakup serves no separate .wasm file: the WASM is embedded in a JavaScript chunk of the served app. Decoded and measured on 2026-11-12: 2,943,232 bytes, same bytes as the portal WASM | Measured; other suite apps not measured |
| Chrome extension 0.1.58 (download) | Not measured (the package carries no ruleset identity) | Not measured | 8e7c125dfc6dd51cd08fa42a7826c42c89692008a8eeaffec915eee10faffd0c | WASM file inside cloakapi-extension-chrome-0.1.58.zip (withdrawn; the URL answers HTTP 410), measured on 2026-11-12 (2,783,411 bytes); same bytes as the TypeScript SDK 1.3.29 WASM | Measured; differs from the portal engine; Chrome Web Store build not measured |
| Desktop app | 1.6.1 in the current app source; released installers not measured | Not measured | Not measured | No engine bytes were extracted from the released desktop installers | Not measured |
| TypeScript SDK 1.3.29 (download) | Not measured (the package carries no ruleset identity) | Not measured (no patterns.json in the package) | 8e7c125dfc6dd51cd08fa42a7826c42c89692008a8eeaffec915eee10faffd0c | WASM file inside cloakapi-sdk-1.3.29.tgz, measured on 2026-11-06 and 2026-11-12 | Measured engine bytes; ruleset not measured |
| Python SDK 0.4.0 (wheel, sdist, source ZIP) | 1.6.0 | wheel and sdist 2f79d20b1a1f323928a6dad6cf62e71095bf03f4419b92d2bc9c9d5832272d0d; source ZIP b72749fcb458ed70f47d9e50871fcf8df982a7a7be6327808400a428aff860a1 | Engine embedded in the aarch64 wheel c135d3f812c5fb50e023eede776b3cbeaf96c17d696de6103cde15773c9ffe69; sdist and source ZIP carry no engine; separate engine download 8634866dbee24e30c532b764e8d1d671a6a49f7c152559f5bed65570cf51223b | Files inside cloakapi-0.4.0-py3-none-manylinux_2_39_aarch64.whl, cloakapi-0.4.0.tar.gz and cloakapi-python-0.4.0-src.zip, measured on 2026-11-12; engine download libcloak_engine.so | Ruleset 1.6.0, one release older than the current 1.6.1; the wheel’s embedded engine differs from the separate engine download and is not on the public engine register |
| Go SDK 1.2.0 (source ZIP) | 1.6.0 | No patterns.json in the archive | No engine in the source archive; the separate engine download 8634866dbee24e30c532b764e8d1d671a6a49f7c152559f5bed65570cf51223b is not part of this package | Ruleset version constant in cloakapi-go-1.2.0-src.zip | Ruleset 1.6.0, one release older than the current 1.6.1 |
| Java SDK 1.2.0 (source ZIP) | 1.6.0 | b72749fcb458ed70f47d9e50871fcf8df982a7a7be6327808400a428aff860a1 | No engine in the source archive; the separate engine download 8634866dbee24e30c532b764e8d1d671a6a49f7c152559f5bed65570cf51223b is not part of this package | patterns.json resource in cloakapi-java-1.2.0-src.zip | Ruleset 1.6.0, one release older than the current 1.6.1 |
| .NET SDK 1.2.0 (package and source ZIP) | 1.6.0 in the source ZIP; package not measured | b72749fcb458ed70f47d9e50871fcf8df982a7a7be6327808400a428aff860a1 in the source ZIP; no patterns.json in the .nupkg | No engine in the source archive; the separate engine download 8634866dbee24e30c532b764e8d1d671a6a49f7c152559f5bed65570cf51223b is not part of this package | CloakAPI.Sdk.1.2.0.nupkg and cloakapi-dotnet-1.2.0-src.zip | Ruleset 1.6.0, one release older than the current 1.6.1 (source ZIP); package not measured |
| PHP SDK 1.3.1 (source ZIP) | 1.6.0 | b72749fcb458ed70f47d9e50871fcf8df982a7a7be6327808400a428aff860a1 | No engine in the source archive; the separate engine download 8634866dbee24e30c532b764e8d1d671a6a49f7c152559f5bed65570cf51223b is not part of this package | patterns.json resource in cloakapi-php-1.3.1-src.zip | Ruleset 1.6.0, one release older than the current 1.6.1 |
| Ruby SDK 1.3.0 (gem and source ZIP) | 1.6.0 | b72749fcb458ed70f47d9e50871fcf8df982a7a7be6327808400a428aff860a1 | Engine embedded in the gem c965a9466c9c1f87298213da1a661a6fd93b0d2190348a51e67834988b15e04a; separate engine download 8634866dbee24e30c532b764e8d1d671a6a49f7c152559f5bed65570cf51223b | Files inside cloakapi-1.3.0.gem and cloakapi-ruby-1.3.0-src.zip | Ruleset 1.6.0, one release older than the current 1.6.1; the gem’s embedded engine differs from the separate engine download and is not on the public engine register |
| Rust SDK 1.2.0 (source ZIP) | 1.6.0 (fallback ruleset) | No patterns.json in the archive | No native engine in the archive; the Rust package does not load the separate engine download | cloakapi-rust-1.2.0-src.zip | Ruleset 1.6.0, one release older than the current 1.6.1; pattern-only fallback |
| Local proxy 0.3.0 (download) | 1.6.0 (version string in the served binary) | Not measured | Proxy binary ef5e80a1ce9658759e6c77543c309ab5d52c8f4b56f5426870a7c7488afcabd8 | cloak-proxy-0.3.0-linux-x86_64, measured on 2026-11-12 | Ruleset 1.6.0, one release older than the current 1.6.1 |
| Gateway | No detection | Not applicable (the gateway does not run a detector) | Not applicable | Public engine register https://api.cloakapi.io/api/v1/engine/hashes reports ruleset_version=1.6.0, updated_at=2026-07-22T18:00:00Z (checked 2026-11-06 and 2026-11-12) | The register value is a client engine floor, not a detector identity |
Pattern-only fallback in the TypeScript and Python SDKs (measured)
These counts come from synthetic positive test rows and are not a guarantee of detection on real inputs. Coverage varies by value format and SDK. Engine and model paths were not measured here. The table reflects the TypeScript and Python SDK source as of 6 November 2026, not the served packages.
“Fully covered”, “partly covered” and “not covered” describe character-span coverage only; they do not confirm that the SDK assigned the expected PII category. The source measurements define a miss differently: the identifier corpus counts partial rows as misses, while the national-phone corpus reports missed and partial rows separately. The table shows disjoint status counts.
| Class | n (synthetic positive rows) | TypeScript fully covered | TypeScript partly covered | TypeScript not covered | Python fully covered | Python partly covered | Python not covered |
|---|---|---|---|---|---|---|---|
| Norwegian national ID number | 100 | 100 | 0 | 0 | 100 | 0 | 0 |
| Norwegian D-number | 100 | 34 | 48 | 18 | 34 | 48 | 18 |
| Swedish personal identity number | 100 | 0 | 20 | 80 | 0 | 20 | 80 |
| Danish CPR number | 100 | 33 | 64 | 3 | 33 | 64 | 3 |
| Finnish HETU | 100 | 0 | 0 | 100 | 0 | 0 | 100 |
| UK National Insurance number | 100 | 0 | 100 | 0 | 1 | 99 | 0 |
| US Social Security number | 100 | 51 | 13 | 36 | 100 | 0 | 0 |
| Norwegian organization number | 100 | 0 | 67 | 33 | 100 | 0 | 0 |
| Date of birth in multiple formats | 600 | 236 | 0 | 364 | 579 | 0 | 21 |
| Norwegian bank account number | 100 | 100 | 0 | 0 | 100 | 0 | 0 |
| IBAN | 100 | 95 | 5 | 0 | 70 | 30 | 0 |
| International phone number | 100 | 50 | 50 | 0 | 50 | 50 | 0 |
| National phone number without country code | 1560 | 312 | 256 | 992 | 312 | 256 | 992 |
See Reduced-coverage behavior by SDK and Known limitations.
Roadmap
| Item | Status |
|---|---|
| Unicode confusable folding (UAX #39) | Planned |
| General base64 decode-and-re-detect pass | Planned |
| Fragmentation repair beyond email-shaped runs | Planned |
| Multilingual name detection | Shipped: on-device model, measured on the detection benchmark |
| Per-class precision and recall | Published: see the detection benchmark (corpus v1.0, ruleset 1.4.29) |
| Evaluation against Ai4Privacy and PII-NER benchmarks | Planned |
CloakAPI does not claim precision or recall numbers it has not measured, and does not generalize the numbers it has: the benchmark is one corpus, one scorer and one run, with its biases documented on that page.
Files and images by client
This table is the short form of Terms of Service section 7b. An unreadable file cannot be checked.
| Client | Unreadable file | Images, audio and other media |
|---|---|---|
| Browser extension 0.1.97 | On protected upload paths, a failed file relay leaves the original file out. Depending on the path, the extension offers a reviewed placeholder, or offers to leave the file out and continue with protected text or cancel. | Where it reads text from an image, only the text it reads can be checked. |
| Browser portal and desktop app | Leave the file out and show a notice. | Where the client can read image text, it can check the text it reads. |
| Local proxy | Replaces unreadable documents in attachments[] with an omission note, tokenizes readable text and reports reduced protection. There is no approval prompt. | For supported chat image parts, it sends extracted, tokenized text or an omission note. Audio and other media blocks in the chat body are sent as provided. |
| Server SDKs | Do not read images, audio or binary files inside a chat request. Those bytes are sent 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 tokenised like other text. |
Related pages
- Detection benchmark: measured per-class precision and recall, with the corpus and its biases.
- Verification and evidence: the wire-level egress measurements, their method, scope and limits.
- Content-blindness attestation: what the gateway checks, and the receipt fields.
- Reproducibility: what is published, and build provenance.
- Threat model and Disclosure policy.