👨🏾‍💻 Dev corner: old wallet permissions can drain you

This week a Safe multisig wallet lost about 6.45M USD, including 4.3M USDC (CoinGabbar, Nov 17). The attacker didn't break any cryptography. They used permissions that were already switched on.

How that works:
🔹 Smart wallets like Safe can have modules and guards: add-ons that are allowed to move funds or change the rules
🔹 Tokens have approvals: you tell a contract "you may spend up to X of my USDC"
🔹 Many apps ask for unlimited approval, and it stays live until you revoke it, even years later
🔹 If that contract or module is buggy or taken over, it can move your funds without a new signature from you

Simple habits:
🔹 Review your token approvals every month and revoke what you don't use
🔹 Approve exact amounts, not unlimited
🔹 For multisigs: list every enabled module and guard, and remove anything nobody on the team can explain
🔹 Keep long-term savings in a wallet that never connects to new dApps

When did you last check your approvals? 👇

📷 Photo: FlyD / Unsplash