sota.io
Join the waitlist
2026-09-17·10 min read·sota.io team

Desert Ant Labs' Redact Doesn't Just Detect PII On-Device — It Deletes the GDPR Transfer Question

Desert Ant Labs' Redact Doesn't Just Detect PII On-Device — It Deletes the GDPR Transfer Question

On 2026-09-08, a small outfit called Desert Ant Labs launched on Hacker News with 18 free on-device AI models — audio, vision, and text, shipped as a single SDK for Swift, Kotlin, and JavaScript, running fully offline via Core ML, LiteRT, and WebAssembly. The launch thread has pulled nearly 500 points and over 100 comments, which is a big reception for a company most of this audience had never heard of a week ago.

The model worth stopping on if you build in the EU is Redact: on-device PII detection and redaction across 27 languages — every official EU language plus Norwegian and Icelandic — with a deterministic validation layer sitting on top of the neural detector. Luhn checks for card numbers, ISO 13616 validation for IBANs, checksummed national ID formats for all 24 EU countries, all 27 EU VAT number formats, IMEI checks, and per-country driving-license validation. The point of the deterministic layer is precision: a random 16-digit string doesn't get flagged as a card number just because it has the right shape.

Desert Ant Labs' own marketing calls this "sovereignty-by-architecture" — "Desert Ant is building this in Europe, where on-device is the sovereign default," per their site. That's a good line, but it skips past the actual legal mechanism, and the mechanism is more interesting — and more useful to you — than the slogan.

Why this isn't an Article 9 story

If you've been following our AWS Comprehend or AWS Macie coverage, your instinct might be to file "PII detection" under GDPR Article 9 — special categories of personal data: racial or ethnic origin, health data, biometric data, and so on. That instinct is wrong here, and it's worth being precise about why.

Redact's default categories — names, addresses, emails, phone numbers, card numbers, IBANs, passport and driving-license numbers, tax IDs and national IDs — are ordinary personal data under Article 4(1), not special-category data under Article 9. That's a real distinction: AWS Comprehend Medical, which we covered separately, processes clinical text and genuinely does touch Article 9 health data. Redact's shipped configuration doesn't. If you point it at free text that happens to contain health or religious information, Article 9's stricter lawful-basis requirements (Article 9(2)) still apply regardless of where the processing happens — on-device architecture doesn't change what triggers Article 9, only where the trigger occurs.

The actual story is a different, arguably bigger one: Article 44 — the general principle governing international transfers of personal data.

What "on-device" actually removes

Every cloud-based PII detection service — AWS Comprehend, AWS Macie, Google Cloud DLP, Azure AI Language's PII detection — has to answer the same question once you're a controller processing EU personal data: where does the data go, and does that constitute a "transfer" under GDPR Chapter V? Even with an EU region selected, the parent company (Amazon, Google, Microsoft) remains a US legal entity subject to the CLOUD Act, which means you're typically still building a paper trail of Standard Contractual Clauses and a post-Schrems II Transfer Impact Assessment to justify the arrangement. We walked through six specific exposure points for exactly this reason in the Comprehend and Macie posts linked above.

Redact sidesteps that analysis entirely, and it does so structurally rather than contractually. If the text never leaves the device — no API call, no server round-trip, no logging endpoint — there's no controller-to-processor relationship for the redaction step at all, and therefore nothing that meets GDPR's definition of a transfer. You're not relying on a vendor's promise to keep data in an EU region, or on SCCs surviving the next adequacy challenge. There's simply no wire for the data to travel on. That's a stronger compliance posture than any "EU region" flag a cloud vendor can offer, because it removes the question rather than answering it favorably.

This is also the correct way to read Article 25 — data protection by design and by default — and Article 5(1)(c), the data minimization principle. Redact is a concrete instance of both: instead of collecting the raw payload and then relying on downstream controls (encryption, access policies, retention schedules) to protect it, the identifiable data is stripped before it's ever transmitted or persisted. Minimization by construction, not by policy.

What on-device processing does not remove

None of this makes the rest of your pipeline exempt. A few things stay squarely your responsibility:

The license is not what "free on-device model" usually implies

Before you design a product around Redact, read the actual terms — Desert Ant Labs Source-Available License v1.0, not MIT, Apache, or AGPL. It is not OSI-approved open source; GitHub itself flags the desert-ant-core repository as carrying a non-standard license. The concrete terms:

None of this makes Redact a bad choice — the terms are generous for most apps below the threshold, and "source-available with a usage ceiling" is a completely normal shape for a company monetizing infrastructure. But it's a different due-diligence exercise than evaluating an AGPL or Apache-2.0 project, and it's worth doing before, not after, a launch that suddenly clears 100K monthly devices on one platform.

Where this actually fits

If you're building anything that pipes user input — support tickets, form submissions, chat messages — toward a cloud LLM API or an analytics backend, on-device redaction is the cleanest way to make sure PII never enters that pipeline in the first place, rather than trying to filter it out at the cloud edge after the fact. That's a materially different design than routing everything to a US-headquartered classification service and hoping the EU-region flag and an SCC hold up under the next transfer-mechanism challenge. It doesn't replace the need for an EU-hosted backend for whatever does get transmitted — it just shrinks what that backend, and its own Chapter V exposure, ever has to deal with.

EU-Native Hosting

Ready to move to EU-sovereign infrastructure?

sota.io is a German-hosted PaaS — no CLOUD Act exposure, no US jurisdiction, full GDPR compliance by design. Deploy your first app in minutes.