Content pfp
Content
@
0 reply
0 recast
2 reactions

Julie B. pfp
Julie B.
@bbjubjub.eth
Help me I had a stupid idea but I cant explain why it's stupid: could tx.origin be used instead of explicit approvals for authorizing token transfers? Like iff you initiate a transaction your tokens are all unlocked
6 replies
2 recasts
5 reactions

0xmons pfp
0xmons
@xmon.eth
This seems pretty dangerous because arbitrary contract calls could drain you. Whereas rn you need to explicitly approve spenders
1 reply
0 recast
0 reaction

0xmons pfp
0xmons
@xmon.eth
For example someone makes an airdrpp contract that gives you free X but also drains u
1 reply
0 recast
0 reaction

Julie B. pfp
Julie B.
@bbjubjub.eth
That's true, but there are also phishing techniques inherent to the road we've taken, namely EIP-2612 phishing, increaseAllowance, Permit2, or straight up asking for approval and hoping the user gets confused. In the big picture I think people would get phished either way
1 reply
0 recast
0 reaction