Skip to content
Security
← Smart Account known risks
SA-08LowAcceptedSigning & execution

Batch transactions reuse one set of ephemeral keys

Every transaction in a batch derives its ephemeral signers from the batch, so they share the same keys.

Why this is a risk, not a vulnerability · Documented behavior

Every batch transaction is approved together. Shared ephemeral keys are a documented property that integrations need to account for. What is a vulnerability
Program
Squads Smart Account
Source
Trail of Bits TOB-8 (Squads V4)
Code
View at 0e51082

Ephemeral signers let a transaction create new accounts that must sign. In a batch, they are derived from the batch’s address and the signer index, not from each transaction. Two transactions in the same batch that use ephemeral signer 0 get the same key.

An account created by one batch transaction can be referenced or reused by a later one. This is useful when intended and surprising when not.

What to do

  • Integrators: when building batches, don’t assume ephemeral signers are unique across transactions.