Recent events have shown that the auto-approval for user proxies is way too dangerous.
Security of users' NFTs should come before the convenience of auto approving collection for trading.
This is why I decided to remove the files in this gist.
Since a few weeks, people are loosing NFTs because of approvals on OpenSea.
It's in no way OpenSea's fault, it's because some bad people are phishing signatures of sale orders.
The only way to protect against this, is for users to revoke the approval they gave to OpenSea, using tools like etherscan approval checker or other revoke apps.
However this is not possible if there is no event emitted. Those website can not know that an approval has been given. Users are not even aware that their NFTs are approved on OpenSea, but still if they get phished, might see them disappear anyway.
This pattern seemed convenient a few months back, but experience have just shown that it's too dangerous to have it used, especially without any way to revoke it.
Users wanting to sell on Marketplaces are expecting to make a profit. Therefore my opinion is that they should take the cost of approval into account when they calculate their possible profit, and include that in their sale price.
It's a small price compared to the security of their tokens if they don't try to sell it.
Since a few weeks, people are loosing NFTs because of approvals on OpenSea.
It's not OpenSea's fault, it's because some bad people are phishing signatures of sale orders.
The only way to protect against this, is for users to revoke the approval they gave to OpenSea, using tools like etherscan approval checker or other revoke apps.
However this is not possible if there is no event emitted. Users that are collectors and not sellers will not even know that their NFTs are approved on OpenSea and might see them disappear anyway.
This should already be enough to stop using this implementation.
I'm also aware of 2 other vector of attack linked to the use of the proxy pattern, that I won't discuss in a public space.