TempleGold

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

Cross-chain TempleGold transfers do not work for users with account abstraction wallets

Summary

TempleGold token cross-chain transfers only allow transferring them to the same address on various chains.

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

Since account abstraction wallets do not have the same address on different chains, they are disallowed from using this feature - which is possibly an unexpected bug.

Vulnerability Details

As written in summary, the vulnerability stems from the fact TempleGold tokens can not be cross-chained by users who use account abstraction. Account abstraction wallets do not necessarily have the same address on different chains.

Impact

Big part of the community and users are cut off from the protocol.

Tools Used

Manual review

Recommendations

We detect that the only reason for this limitation is for users to not be able to transfer TempleGold tokens between various wallets. But as described in impact - it introduces limitations for a GREAT number of users.

Introduce mechanism for account abstraction wallets to be able to correctly bridge TempleGold tokens on different chains.

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.