DIT — enabling de-identified data collection on WhatsApp
WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user. The client first fetches anonymous tokens over an authenticated connection, then uploads logs over an unauthenticated one, binding each log with an HMAC keyed from a token. Tokens come from a Verifiable Oblivious Pseudorandom Function (VOPRF) evaluated by an Anonymous Credential System, modeled on Privacy Pass, so issuance and redemption cannot be linked. At scale the design uses Curve25519 instead of Ristretto to save app size, rotates keys more often to blunt static DH attacks, rate-limits through key rotation, allows each token 64 uses per day, strips IPs at the edge, and monitors the collected data for re-identification risk.
Related posts
- How Meta enables de-identified authentication at scale
Meta Engineering mediumAdeptMeta's Anonymous Credential Service (ACS) authenticates clients without user IDs by splitting authentication into token issuance over an authenticated channel and unlinkable token redemption over an anonymous channel, built on VOPRFs and blind signatures with an HMAC over business data keyed by a shared secret. ACS is a multitenant C++ Thrift service on Twine that isolates use cases with per-use-case keys and rotates them routinely. It serves hundreds of thousands of requests per second for WhatsApp's de-identified telemetry. Scaling lessons include configurable credential reuse limits backed by a ZippyDB counter to cut capacity costs, dithering plus a global rate limiter to absorb synchronized nightly client spikes, and self-service onboarding with Android/iOS SDKs so teams need no cryptography expertise.
- Deploying key transparency at WhatsApp
Meta Engineering mediumAdeptWhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify. This replaces cumbersome 60-digit/QR security code checks, which scale poorly (4,950 pairwise checks in a 100-person group), with a single-client check against the directory. To handle tens of thousands of key changes per minute, pending changes go through a distributed queue and are batched into atomically committed epochs, exploiting shared Merkle tree paths at the cost of some publication latency. The design builds on CONIKS, SEEMless and Parakeet and is implemented in an open-source Rust crate.
- How We’re Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees
Meta Engineering hardMasterWhatsApp's Scam Alert is an optional feature that runs an on-device ML classifier over messages from non-contacts and shows a private in-chat warning. No message content leaves the device unless the user chooses to report it. Model versions are published to a public transparency ledger and the weights are released, so Meta cannot send a targeted model to one user. Telemetry is limited to aggregate warning and user-action counts, which pass through a confidential federated analytics pipeline built on attested CVM-based TEEs, OHTTP relays, anonymous credentials, secure aggregation, k-anonymity thresholds and differential privacy. Clients refuse to transmit if the attestation or the privacy parameters fail locally enforced guardrails.
- Building Private Processing for AI tools on WhatsApp
Meta Engineering hardMasterPrivate Processing lets WhatsApp users send messages to server-side AI features such as summarization and writing suggestions without Meta or WhatsApp being able to read them. Requests run inside confidential VMs, a type of Trusted Execution Environment, with Confidential Compute mode GPUs behind them. Clients authenticate with anonymous credentials and reach the service through an Oblivious HTTP third-party relay that hides their IP and prevents targeting a specific user to a specific machine. They then open an RA-TLS session whose attestation is checked against a third-party log of approved binaries. The service is stateless and forward secure, bans remote shell access, filters logs leaving the CVM, and uses multi-party-reviewed builds, all guided by a threat model covering insiders, supply-chain vendors and malicious users.
- PACT: Anonymous Credentials for the Web
Mozilla Hacks hardMasterPACT (Private Access Control Tokens) is a proposed design for privacy-preserving rate limiting on the open web, letting sites block volumetric bot abuse without demanding identity or hardware attestation. Anchors that hold a scarce signal, such as a subscription, verified phone or account in good standing, issue Privacy Pass-style Endorsements. Moderators exchange these for stateful Anonymous Credit Token Credentials whose hidden counters can be raised or lowered per client. Issuer blinding keeps Moderators from learning which Anchor backed a user, and MPC-based aggregate scoring (like Prio) lets sites evaluate issuers. The design contrasts with Google's Web Environment Integrity and Apple's Private Access Tokens, which tie web access to manufacturer-controlled devices.