How Trail of Bits helps verify the integrity of your Signal chats
Signal's Automatic Key Verification is a key transparency system that keeps a globally consistent, auditable map from phone numbers to public keys, so a compromised server cannot quietly hand out a false key. Trail of Bits runs one of three independent auditors, alongside Signal and Cloudflare. Its auditor is an independent open-source implementation that tracks each new entry in a local Merkle tree and periodically signs tree heads from a single consistent lineage. Clients require signatures from all three auditors within the last seven days, which caps a split-view attack at about one week before warnings appear.
Related posts
- Introducing Automatic Key Verification
Signal mediumAdept
Signal's automatic key verification uses key transparency to confirm that the binding between a phone number or username and its public key is globally consistent, giving the same protection against a compromised directory as comparing safety numbers, without meeting in person. The design is an append-only log of key changes. Each entry has a sorted index snapshot, which lets clients binary-search for a contact's key in about 30 lookups over a billion entries. Key owners monitor the same entries to confirm their own key is listed correctly. Third-party auditors (Cloudflare and Trail of Bits) sign each log entry once, which keeps the directory operator from showing different views to different users.
- Key Transparency Comes to Messenger
Meta Engineering easyNoviceMessenger 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.
- 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.
- Common annotated security keys
Engineering@Microsoft easyNoviceMicrosoft's Common Annotated Security Standard (CASK) extends GitHub's identifiable-token approach of fixed signatures plus checksums, so leaked secrets can be detected with near-zero false positives. Every CASK key carries a shared `JQQJ` signature, which lets one scanner rule find any conforming key, plus a provider signature such as `AZDO` for Azure DevOps. Keys use only Base62 characters, carry about 310 bits of entropy across 52 random characters, and embed a month/year creation timestamp to support rotation policies. The format also reserves test keys and platform-specific metadata bits, and Microsoft plans to open-source the spec for other providers to adopt.
- After Binance, check what your signing systems can approve
Trail of Bits hardMasterBinance's October 2026 breach showed that attackers who compromise a service allowed to request signatures can misuse a protected key without ever extracting it. Here the attacker obtained a signed EIP-7702 delegation that persisted on-chain and enabled repeated drains, including of later deposits, with no further signatures. Signing policies and monitors that only watch transfers and ownership changes miss authority shifts via EIP-7702 authorizations, Safe modules, session keys and ERC-4337 UserOperations. A four-step checklist follows, each step with verification tests: inventory and isolate signing access, treat delegation as an admin privilege with separate approval and simulation, add custody limits the operational key cannot bypass, and alert on wallet authority changes.