Why the Threshold Lives in the Account Contract, Not in the Enclave Cluster
We decided that the k-of-n signing policy for our ERC-4337 smart accounts will be enforced in the account's validation logic, with each signer backed by its own HSM. We rejected threshold MPC across secure enclaves, which produces one aggregated ECDSA signature. That option was strong, and for some deployments it is the better choice. This record explains why we turned it down, what keeps the system signing when one part fails, and the condition that would have reversed the decision.
The option we rejected, stated fairly
Threshold MPC across enclaves has real advantages. The private key never exists in one place, and the output is a single standard secp256k1 signature, so the same key controls an EOA, a 4337 account, or an address on a chain with no account abstraction at all. Verification costs the same gas as any single-owner check, and the signing policy stays off-chain. That keeps it private, lets us change it without a contract upgrade, and avoids exposing the signer set to anyone reading calldata. Key refresh rotates shares without changing the address, which is very useful when an operator or an enclave image is compromised. A reviewer who prefers MPC is not wrong. They are optimising for portability and per-operation cost.
Where it breaks under partial failure
Our objection is about liveness, not secrecy. An MPC signing round is interactive: every participating party has to be reachable, attested and on a compatible protocol version for the whole round, which couples the availability of every share holder to every signature. The failure mode we modelled is ordinary. An enclave vendor's attestation service goes down, or a microcode update invalidates the measurement our parties pin, and the round stalls everywhere at once even though no key material is lost. Paymaster signatures make this worse, because we issue them with a validUntil window of 180 seconds. A stall longer than that does more than delay operations: it expires every sponsored UserOperation already in the mempool, and wallets resubmit in a burst once signing recovers. With on-chain k-of-n, every signer produces an independent signature from its own HSM, so losing one vendor, region or attestation path takes away one vote, not the quorum.
What the chosen design costs and how it degrades
Each owner signer sits in a separate HSM partition, with at least two hardware vendors certified under the government and international security evaluation schemes such as FIPS 140 and Common Criteria, so a firmware defect or a stuck certification renewal cannot take down a majority. The account accepts any k valid signatures, a passkey validator using WebAuthn P-256 serves as an independent recovery quorum, and the bundler key is deliberately low-value: it only pays gas, it sits in its own HSM, and any public bundler can submit our operations if ours is offline. The price is on-chain. Our estimate is roughly 20,000 to 40,000 extra verification gas per operation for a 2-of-3 ECDSA check compared with a single owner signature. We also give up policy privacy, because the signer set is readable from the contract. Policy changes now require a validated transaction instead of a share refresh, which is slower but leaves an audit trail we would otherwise have had to build.
The rule we apply is this: if keeping signing alive through the loss of any single vendor, region or attestation service is worth more to you than per-operation gas and chain portability, put the threshold in the account contract, and if one key must sign identically on chains without account abstraction, put it in MPC.
Technical FAQ: What condition would have reversed this decision?
A hard requirement to custody the same assets on non-EVM or non-AA chains under one key would have flipped it, since on-chain k-of-n cannot follow the key there. Sustained high L1 gas on a high-volume, low-value flow could also flip it, because there the verification overhead outweighs the liveness benefit. Our second estimate is that this threshold sits somewhere around a few cents of overhead per operation for consumer flows. If either condition shows up after the freeze, the migration path is to add an MPC-backed signer as one vote in the existing quorum, not to replace the quorum.