-snip-
-snip- thanks for putting a light on this darkness, I thought the safest way is moving out your assets from a wallet you've connected to swap platforms many times is the way, this is what I do from time to time.
That was troublesome but it kind of worked if you are not aware of the amount you've permitted them to use.
You see, approving a connection is relatively safe since there's your private keys aren't leaked but the danger lies in the "
...and suggest transactions to approve" part
which gives the platform a permission to create an unsigned transaction on your behalf (
but you still need to sign through a confirmation prompt to proceed)
If the site asked you to approve a "
permission request" as a part of the swap but with very high or unlimited amount (
usually labeled as "approved amount"),
it could be damaging since they literally will have permission to spend that much if you approve it.
The good news is, most legit swap platforms like PancakeSwap are using "
reasonable" amounts that's just enough for the trade.
So make sure to check everything in the request that you're giving approval/confirmation.