Extend Gnosis Safe to restrict ERC20 tokens and ETH to be sent to a whitelisted set of addresses.
To add extra functionality on top of Gnosis Safe the suggested solution is to add a Guard contract according to the official documentation: Safe Guards.
The solution is presented in file: TransferWhitelistGuard.sol