This guide applies to everyone who has used a swap on Arbitrum Nova at least once. But even for those of you who haven't swapped before, you will learn better security habits and how to interact with smart contracts by reading this guide. A few of you might be already aware of the risks of Unlimited Approval for ERC-20 tokens. If you approve of a sender, they can spend your ERC-20 token however they want until the limit you originally set. The recommended guideline is to set an amount just enough for your routine usage, and also periodically review your approved contracts. There are sites like https://etherscan.io/tokenapprovalchecker that help you check and revoke your unlimited spending approvals. MetaMask even has a guide on it. However, none of these tools and guides apply to Arbitrum Nova. I've seen a lot of members talk about this security risk from time to time, but no one here is actually following the recommended safety guidelines. Of the last 100 "Approval" transactions on the ArbSubredditPoints contract, all are using the default unlimited spending approval amount. I'm not trying to scare anyone. I'm pretty sure RCPSwap and SushiSwap are safe. They both have a solid history. But it's bad practice to set unlimited approval. In light of the recent Binance bridge exploit on a thoroughly-audited contract, I think it's better to play it safe. The ArbSubredditPoints contract is upgradeable, so something unexpected could potentially happen to it in the future, though we'll also have bigger things to worry about then. Transaction costs are currently so low on Arb Nova that the cost to redo your approval amount is under $0.01. So it's super easy to increase it again later. Since there are no tools/guides for checking and revoking approvals on Arbitrum Nova, I wrote one up: How to find out if you have an unlimited spending approvalSo far, there are only 2 swaps that ask for approval for Reddit Community Points: RCPswap and SushiSwap. What happens is that when you visit the swap site, if you try to enter an amount of tokens greater than the approved limit, it will ask you to Approve again. Every time you send more tokens to the approved sender address, the amount that you can spend later will decrease by the sent amount. Checking through MetaMask:
That large number is the default unlimited spending amount The Spender address has approval to access your account tokens Checking through the Arbitrum Nova Explorer:
How to Clear the amount
How to find the ArbSubredditPoints contract from the transaction
Use the Edit permission to double-check the amount Sender addressesFor the record, these are the 2 known "Sender" addresses. They're both called "UniswapV2Router02", but they're deployed by different accounts and have different code. Auditing them is way beyond my knowledge.
How to find your remaining approval balance (i.e. allowance)
Edit: Added some redacted screenshots [link] [comments] |
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments