Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: low
Valid

Missing deadline in MetaTransaction and user cannot invalidate a signed Meta Transaction

Summary

Missing deadline in MetaTransaction and user cannot invalidate a signed Meta Transaction.

Vulnerability Details

User can sign meta transactions and allow gas relayer to execute the transactions on behalf of themselves.

struct MetaTransaction {
uint256 nonce;
address from;
bytes functionSignature;
}

However, there is no deadline in MetaTransaction struct and at the same time, no functionality is provided for users to invalidate a signed Meta Transaction, this means a signed meta transaction can be executable in any time in the future, as long as the nonce remains the same.

Impact

A meta transaction can be delayed for a very long time before it is executed, user may suffer a loss if the transaction is exeucted at a bad timing (e.g joining DAO when the DAO is essentially abandoned).

Tools Used

Manual Review

Recommendations

It is recommeded to add deadline in MetaTransaction struct, and implement a functionality for user to invalidate a signed Meta Transaction (e.g increase nonce).

Updates

Lead Judging Commences

0xbrivan2 Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

Missing deadline in meta transactions

Support

FAQs

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

Give us feedback!