r/CryptoTechnology • u/Bloqarl 🟢 • 6d ago
Should a guardian be able to pause a vault instantly when upgrades need a 48h timelock?
Looking at a design where upgrades go through a 48 hour timelock, but a guardian multisig can pause deposits and withdrawals immediately, and only the DAO can unpause. The idea is that if something is being drained you can't wait two days.
My worry is that the instant pause is now the strongest power in the system. A compromised or coerced guardian can freeze everyone's funds, and the timelock does nothing against that, because pausing isn't an upgrade.
I'm not sure whether the right answer is to cap how long a pause lasts, split pause between deposits and withdrawals, or accept it as the price of reacting fast.
If you hold funds in a protocol like this, which of those would make you trust it more, and is there a setup you've seen that handles it better?
1
u/secrypta 🟢 5d ago
The DAO-only unpause is good, but an instant withdrawal freeze is itself a dangerous power one key holds forever. Two fixes: make the pause auto-expire after a few hours (DAO re-pauses if the threat is real), and split it, since pausing deposits is nearly harmless but pausing withdrawals is what traps users. Even better where you can: an automatic outflow cap (percent of TVL per hour) stops a drain without anyone touching a button.
•
u/Usual_Specialist3698 🟢 1h ago
One option I haven't seen here: make the pause asymmetric by destination, not just by direction. While paused, withdrawals still work, but only back to the address that made the deposit, at the share price from the last block before the pause, and still under the outflow cap.
That handles both failure modes people describe. A drain usually needs funds to go somewhere new or needs the share price pushed around, and both are blocked. A coerced or compromised guardian can't trap anyone either, because the worst they can do is force an orderly exit at a known price. The cost lands on users who deposited from an address they'd rather not get funds back to (contracts, custodians using a hot wallet), which is a much smaller harm than a freeze.
Two caveats. If the exploit is in the accounting itself, the snapshot price can already be wrong, so this sits on top of the cap rather than replacing it. And with auto-expiry added, the guardian's power shrinks to "can trigger exit-only mode for N hours", which is something you could reasonably hand to a 2-of-5.