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
[security] Exits must never be pausable — un-gate CapacityBond.requestUnbond/unbond #2030
Operator exit paths CapacityBond.requestUnbond and unbond are whenNotPaused, so a captured/malicious PAUSER can trap every operator's bond indefinitely just by pausing. Client exits (PaymentPool.reclaim/closePool) are already un-pausable — operator exits should match.
Impact
A malicious pause freezes all operator bonds with no exit → funds trapped for as long as the pause holds.
Asymmetry today: clients can always reclaim; operators cannot unbond while paused.
Fix
Remove whenNotPaused from requestUnbond and unbond. Exits keep their own safeguards — the unbonding period and any pending-slash lock stay in force (pause was never the right tool for holding a suspected operator; per-operator slash locks are). Establish the invariant: pause halts new intake/serving, never exit.
Audit exit-adjacent paths (deregisterNode, reclaimNodeId, etc.) for the same trap; winding down an existing position must never be pausable, while new intake (bond, openPool, declareMbps, serving) may remain pausable.
Acceptance criteria
requestUnbond/unbond succeed while the contract is paused, subject to the unbonding period + slash locks.
Test: pause the contract, then an operator can still requestUnbond and complete unbond after the period.
Activity
feat(contracts)!: governance hardening — bound capture, remove struct…