I just put a sticky note next to my phone charger: Two things to do before bed—lock the screen, revoke permissions. The kind of "unlimited authorization" in contracts is basically like writing your bank card password at the door; nothing happens normally, but when something goes wrong, you're too late to react. Recently, cross-chain bridges have been hacked again, and everyone is comforting each other with "waiting for confirmation," but I’m actually more anxious: what confirmation? Permissions are already given out, just like sleeping with the door open. Anyway, I’d rather go through the trouble—revoke after use, only give permissions enough for what’s needed, or else one day the oracle might glitch and quote prices erratically, with on-chain delays and reorganizations stacking up, and the blame might just land on you… For now, I’ll do that, clear out a few old permissions.

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
Add a comment
Add a comment
No comments
  • Pinned