Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Research 6 min read Announcement hardMaster

Private analytics via zero-trust aggregation

Google's private analytics service now layers a new lattice-based, one-shot secure aggregation protocol on top of TEE execution, so individual device data is never decrypted in server memory even if the enclave is compromised by side-channel attacks. Clients send a single message whose ciphertexts aggregate both the values and the encryption keys; small rotating client committees hold hints that unlock only the aggregate, which is masked with differential privacy noise. TEE attestation gives verifiable proof that the published aggregation code is what actually runs. The system is being used to measure real-world effectiveness of Android SafetyCore's on-device safety classifiers without exposing user content.

Assumes: secure multi-party computation basicstrusted execution environmentsdifferential privacy

Related posts

  • Toward provably private learning from federated data

    Google Research hardMaster

    Google's next-generation Federated Learning system runs training inside Trusted Execution Environments (TEEs) so that privacy guarantees can be verified externally rather than taken on trust. Devices upload encrypted examples tied to access policies published in the Rekor transparency log. A Raft-replicated TEE key management service releases decryption keys only to matching workloads. A root TEE runs a Python training loop that fans out to worker TEEs via Federated Language and releases only differentially private weights. Gboard uses it for English and Japanese next-word prediction, getting better privacy-utility tradeoffs from optimized participation schedules and cutting training time from 1-2 months, now limited mainly by TEE capacity.

  • Bringing Private Processing to Meta AI Glasses

    Meta Engineering mediumAdept

    Meta's Private Processing extends the AI glasses trust boundary into the cloud by running models inside confidential VMs on TEE-capable CPUs and GPUs, so host OS, hypervisor and Meta operators see only ciphertext. Requests are made non-targetable through blind-signed anonymous credentials and third-party OHTTP relays. Devices verify servers via RA-TLS attestation against an append-only, publicly witnessed transparency ledger and fail closed on mismatch. For stateful features, the storage and query engine run inside the TEE, which avoids access-pattern leakage and the cost of shipping ciphertext to remote databases. Observability relies only on aggregate health signals because debuggers and memory dumps are impossible, and the design is opened to external audit via NCC Group reviews and an expanded bug bounty.

  • Complexity of Differentially Private Selection via Federated APIs

    Apple Machine Learning Research hardMaster

    Private selection built only on the standard noisy-aggregation primitive used in federated differential privacy needs Ω(√d/ε) samples, which explains the utility gap against the central model. Adding a primitive based on the Sparse Vector Technique (SVT), which can be implemented simply under several trust models, gives an ε-DP selection algorithm with additive error O(log(dn)/ε). That matches the central model when n is polynomial in d and uses a near-optimal expected O(d log* d) SVT queries. Combined with known shuffle-model lower bounds, this is an exponential separation between the SVT model and shuffle or aggregation models, and the approach also covers F_p loss minimization, heavy hitters and sparse mean estimation.

  • Don't let TEEs break your MPC

    Trail of Bits hardMaster

    Running threshold signature MPC protocols inside TEEs only helps when the TEE is treated as defense in depth rather than a substitute for a sound protocol. The untrusted host still controls I/O, storage and scheduling. It can roll back the filesystem after a signer deletes a used pre-signature, forcing nonce reuse and leaking the private key share. Correct attestation can effectively lift semi-honest protocols toward malicious security by guaranteeing peers run the expected code. In practice that fails through recurring pitfalls: incomplete measurements (as in the WhatsApp Private Inference LD_PRELOAD bug), skipped quote and certificate-chain checks, unhardened images, stale backups and malleable LUKS2 headers, physical attacks like TEE.fail and DDRop, vendor centralization, and lenient default TCB policies. The recommended practices are binding attestation to MPC party identities, reproducible builds with binary transparency, and enforcing freshness and stricter security version checks.

  • How Meta is improving password security and preserving privacy

    Meta Engineering mediumAdept

    Meta's Private Data Lookup (PDL) checks new passwords against breached-password datasets using Private Set Intersection, so the server learns neither the attempted password nor whether it matched. The client sends a per-request blinded hash H(p)^a, the server double-blinds it with a long-term key b and returns blinded hashes of leaked passwords, and the client unblinds and matches locally. To make this practical, leaked passwords are pre-blinded offline, the dataset is sharded by a short hash-prefix index, and returned values are truncated to cut bandwidth. The check flags a password appearing anywhere in a breach, not just a matching username/password pair, and is deployed in Enterprise Center's account creation and reset flows.

The quest for software engineering knowledge.

Look:
Layout: