You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: broaden Sui signer cancel fallback to handle all withdrawAndCall build errors #4578
The Sui signer's broadcastWithdrawalWithFallback in signer_tx.go only catches ErrInvalidPayload and ErrObjectOwnership sentinel errors before calling broadcastCancelTx. Any other builder error falls through to case err != nil which returns without sending a cancel (nonce-increment) transaction. This freezes the Sui gateway nonce and silently blocks all subsequent outbounds.
Multiple attack vectors trigger this via generic fmt.Errorf returns:
Immutable object ID in payload (ZCNode-233): ExtractInitialSharedVersion returns bare fmt.Errorf
Invalid Sui type argument (ZCNode-245): TypeTagFromString returns bare fmt.Errorf
Or wrap all builder error returns with the appropriate sentinel (ErrInvalidPayload / ErrObjectOwnership).
Impact
Externally triggerable. Any user can freeze the Sui outbound queue by submitting a withdrawAndCall with a crafted payload. No funds are extracted but all Sui outbounds are blocked until manual admin intervention.
Activity