Consumer Messaging Platform — WhatsApp-Class System  ·  View 20 of 23

Security Trust Zones

Five zones in decreasing exposure, the attacks that arrive at each, and what stops them — with the flow crossing every boundary labelled.

Editable source SVG draw.io All views
Untrusted — Internet
Untrusted — Internet
Attacker
Scraping, enumeration
Attacker...
Legitimate Client
Legitimate Client
Unverified Client
Modified or emulated
Unverified Client...
SIM Swap Attempt
SIM Swap Attempt
Perimeter
Perimeter
Anycast & DDoS Scrubbing
Anycast & DDoS Scrubbing
TLS 1.3 Termination
TLS 1.3 Termination
Noise Handshake
Device key pinning
Noise Handshake...
Rate & Abuse Guard
Per number, IP, device
Rate & Abuse Guard...
Application zone
Application zone
Connection Gateway
Connection Gateway
Authorization
Device-scoped claims
Authorization...
Core Services
mTLS service mesh
Core Services...
Data zone
Data zone
Message Store
Ciphertext only
Message Store...
Account & Group DB
Encrypted at rest
Account & Group DB...
Media Blobs
Opaque bytes
Media Blobs...
Key & audit zone
Key & audit zone
HSM-backed KMS
HSM-backed KMS
Backup Key Vault
10 attempts, then lock
Backup Key Vault...
Audit Log
Append only, WORM
Audit Log...
traffic dropped
traffic dropped
lockout, 7 days
lockout, 7 days
session refused
session refused
TLS 1.3, pinned
TLS 1.3, pinned
authenticated session
authenticated session
device claim check
device claim check
scoped token, 15 min
scoped token, 15 min
ciphertext write
ciphertext write
envelope keys
envelope keys
access logged
access logged
Security Trust Zones
Security Trust Zones
Risk / gap
Risk / gap
Application we own
Application we own
Security / platform
Security / platform
Data store
Data store
failure / alternate
failure / alternate
synchronous
synchronous
event / async
event / async
A perimeter breach yields ciphertext and metadata. Message content requires a device private key.
A perimeter breach yields ciphertext and metadata. Message content requires a device private key.
v 1.0 · owner Platform Architecture · date 2026-08
v 1.0 · owner Platform Architecture · date 2026-08
Text is not SVG - cannot display

What an attacker gets

  • Perimeter breach: rate-limited access to an authenticated session surface
  • Data zone breach: ciphertext and metadata, no message content
  • Full platform compromise still requires a device private key to read a message

Controls at each boundary

  • Anycast scrubbing absorbs volumetric traffic before it reaches a terminator
  • Noise handshake pins the device key, so a stolen bearer token is not enough
  • Service-to-service calls carry device-scoped claims with a 15-minute lifetime

Key and audit zone

  • The backup key vault permits ten attempts and then locks the record permanently
  • Every vault access writes an append-only audit record
  • KMS is HSM-backed and issues envelope keys only; it never sees a message key