---
title: "Building Private Processing for AI tools on WhatsApp"
description: "Private 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."
url: "https://swe.quest/articles/building-private-processing-for-ai-tools-on-whatsapp-0d604d802592db97"
canonical: "https://engineering.fb.com/2025/04/29/security/whatsapp-private-processing-ai-tools/"
source: "Meta Engineering"
published: "2025-04-29"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 12
tags: ["security","cryptography","privacy","inference","llms"]
---

# Building Private Processing for AI tools on WhatsApp

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2025-04-29, 12 min read, Deep dive. Original: [https://engineering.fb.com/2025/04/29/security/whatsapp-private-processing-ai-tools/](https://engineering.fb.com/2025/04/29/security/whatsapp-private-processing-ai-tools/)

## Summary

Private 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.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Security](https://swe.quest/tags/security.md) (Security)
- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- Trusted Execution Environments
- TLS and public-key encryption ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- threat modeling basics

## Keywords

WhatsApp, Private Processing, Trusted Execution Environment, Confidential Virtual Machine, Oblivious HTTP, RA-TLS, HPKE, Meta AI

## Related posts

- [Bringing Private Processing to Meta AI Glasses](https://swe.quest/articles/bringing-private-processing-to-meta-ai-glasses-192fee2c3dbcf977.md): Meta Engineering · 2026-09-24 · Medium · 10 min read · Privacy, Sandboxing & isolation, Cryptography, System design, Inference & serving
  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.
- [How We’re Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees](https://swe.quest/articles/how-we-re-building-scam-alert-on-whatsapp-with-end-to-end-encryption-and-e5ad173977a16202.md): Meta Engineering · 2026-08-12 · Hard · 18 min read · Privacy, Security, Machine learning, Communications, Cryptography
  WhatsApp'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.
- [How Meta enables de-identified authentication at scale](https://swe.quest/articles/how-meta-enables-de-identified-authentication-at-scale-aba1c4d5d1b717ac.md): Meta Engineering · 2022-03-30 · Medium · 8 min read · Privacy, Cryptography, Identity & auth, Multi-tenancy, Scaling
  Meta'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.
- [DIT — enabling de-identified data collection on WhatsApp](https://swe.quest/articles/dit-enabling-de-identified-data-collection-on-whatsapp-d2473df44a648273.md): Meta Engineering · 2021-04-16 · Hard · 8 min read · Privacy, Cryptography, Observability, Identity & auth
  WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user.
- [Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study](https://swe.quest/articles/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-a3a231481ce72736.md): Meta Engineering · 2026-06-25 · Medium · 23 min read · Privacy, LLMs, System design, Evaluation, Data pipelines
  Meta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
