Skip to content

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

Meta Engineering 4 min read Announcement easyNovice

Enhancing the security of WhatsApp calls

WhatsApp's "Silence Unknown Callers" goes beyond muting the ringer: a stripped-down, server-enforced notification protocol keeps the recipient's device from processing attacker-controlled call-setup data, which cuts off zero-click exploit paths seen in calling stacks like WebRTC and PJSIP. To decide whether a call may ring without logging social graphs, clients hand out "privacy tokens" to contacts they trust. Callers present the token, and the server validates it without learning the caller-recipient relationship. A separate "Protect IP Address in Calls" setting routes calls through WhatsApp relays instead of peer-to-peer connections, hiding participants' IP addresses at some cost to call quality, while calls stay end-to-end encrypted.

Assumes: VoIP call setupend-to-end encryption basics

Related posts

  • Making messaging interoperability with third parties safe for users in Europe

    Meta Engineering mediumAdept

    To comply with the EU Digital Markets Act, WhatsApp and Messenger now let eligible third-party messaging services interoperate for 1:1 text and media, with group chats and calling to follow. Third parties should use the Signal Protocol, or a compatible one with equivalent guarantees. Their clients connect directly to Meta servers over WhatsApp's XMPP-based chat protocol, authenticate users with OpenID plus JWTs signed by the third-party server inside a Noise handshake, and host their own encrypted media, which Meta clients fetch through a proxy. Meta prefers direct client connections over a third-party proxy because a proxy would lose connection-level anti-spam signals such as TCP fingerprints and expose chat metadata, though E2EE guarantees cannot fully extend to clients Meta doesn't control.

  • How WhatsApp enables multi-device capability

    Meta Engineering mediumAdept

    WhatsApp's new multi-device architecture drops the phone as source of truth: each device gets its own identity key, the server maps accounts to device lists, and senders use client-side fanout to encrypt each message separately over pairwise Signal sessions to every sender and recipient device. Security codes now cover all device identities, and Automatic Device Verification limits re-verification to full account re-registration. Calls send per-device SRTP master secrets via fanout, with group calls rekeyed when participants change. Message history moves to a new device as an encrypted bundle, while ongoing app state is stored server-side end-to-end encrypted, including metadata, under rotating keys.

  • DIT — enabling de-identified data collection on WhatsApp

    Meta Engineering hardMaster

    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.

  • How We’re Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees

    Meta Engineering hardMaster

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

  • Key Transparency Comes to Messenger

    Meta Engineering easyNovice

    Messenger now supports key transparency verification for end-to-end encrypted one-on-one chats, letting users automatically confirm that contacts' public keys haven't been swapped by a compromised server instead of comparing per-device keys manually. The system reuses WhatsApp's Auditable Key Directory (AKD) library, with Cloudflare acting as an independent auditor. Messenger's per-device keys drive a publish epoch roughly every 2 minutes, each adding hundreds of thousands of keys, into a directory of billions of entries. To cope, Meta reduced AKD proof sizes as per-key version counts grow and hardened sequencing against outages and long delays.

The quest for software engineering knowledge.

Look:
Layout: