The security stack
The layered defences every message passes through before Canary signs.
Canary's verification pipeline is built as a sequence of layered defences. Each layer independently removes an entire class of attack, and together they require an adversary to defeat every layer at the same time.

Layer 1, the independent client
The Canary client is written from the ground up in Go. This removes correlated failure modes. When most of an ecosystem runs the same implementation, a single bug has a blast radius the size of the ecosystem. Ethereum learned this with client concentration, and the verifier layer is no different.
The codebase is compact by design, small enough to fit entirely inside a TEE enclave without unnecessary dependencies. That keeps the trusted computing base tight and the audit surface small.
Layer 2, trusted execution
Every verification runs inside a hardware-isolated enclave, with cryptographic attestation of exactly which code ran. The host operating system, the hypervisor and the server operator cannot read or modify enclave memory, and signing keys never leave it. Covered in full on Trusted execution.
Layer 3, quorum
Multiple independent TEE nodes, operated across different infrastructure providers, must agree on every verification before it is signed. Compromising one node is not enough, and an unreachable node does not fail into malicious data. The detail is on Quorum, sources and node health.
Layer 4, certificate pinning
Every upstream data source is verified by certificate pinning inside the enclave, which removes the RPC substitution class of attacks. An attacker who controls the network path cannot swap in their own endpoint without failing the pinned check. The detail is on Quorum, sources and node health.
Layer 5, authenticated headers
Every request to the DVN carries authenticated headers. Unauthorised traffic is rejected at the edge before it consumes verification resources, legitimate requests are prioritised, and flood traffic is dropped. This layer is designed to resist the denial-of-service-to-failover pattern, and it gives Canary per-protocol rate management and early detection of anomalous traffic.
Layer 6, operational security
This is the infrastructure baseline underneath all of it, covering network isolation, hardware-backed key management, continuous threat detection and an audited codebase. The detail is on Operational security.
The signing path
A message only becomes a Canary signature by passing every stage in order. A failure at any stage ends the path in refusal rather than escalation, and where Cipher checks are configured, they run before the signature, never after.

Receive. The request arrives with authenticated headers. Unauthorised or replayed traffic is rejected at the edge.
Decode. The DVN decodes the message and extracts what matters: source and destination, sender and receiver, transfer value and the supply change the message would create.
Read the source chain. The enclave reads the source-chain event from multiple pinned RPC sources and cross-checks them. A source that disagrees is outvoted rather than believed.
Hold to the floor. The event must have reached Canary's confirmation floor for that chain, or the higher depth the application asked for, and Canary waits until it has.
Run checks. Where Cipher is configured, policy decides which checks run for this message, and the DVN waits for every verdict.
Reach quorum. Independent nodes on different infrastructure must agree. A node that cannot be reached contributes nothing, and nothing fails open.
Sign. Only now does a signature exist, produced inside the enclave by attested code.