TempleGold

TempleDAO
Foundry
25,000 USDC
View results
Submission Details
Severity: high
Valid

Temple Gold token will lost if user using account abstraction wallet

Summary

Users with account abstraction wallets have a different address across different chains for same account, if users using an account abstraction wallet bridge the asset, assets will be moved to wrong address and lost permanently.

Vulnerability Details

if (msg.sender != _to) { revert ITempleGold.NonTransferrable(msg.sender, _to); }

In the TempleGold::send() , the user must enter the to parameter equal to msg.sender which means, the address of msg.sender and to must be the same otherwise the function will revert.

As explained above, if the user uses an abstraction wallet account then the address on the destination chain is different from the origin chain then the user will lose the Temple Gold token he sent.

Impact

User will lose the Temple Gold token he sent using the send() function

Tools Used

Manual Review

Recommended Mitigation

Pass in the warning for account abstraction wallet holders to not send Temple Gold token with send() function.

Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Account abstraction, Multisig, Any other contract based solution that doesn't share the same address across chains will lose it's TGLD in teleport.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.