Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: medium
Invalid

Lack of Per-Call Failure Handling in executeBatch()

Summary

The executeBatch() function fails to handle individual transaction failures within a batch, causing the entire batch execution to revert if a single call fails. This can result in a denial of service (DoS) attack, where a malicious or faulty target contract prevents the execution of all valid operations in the batch.

Vulnerability Details

Schedule a batch operation containing multiple function calls to different taarget contract

Include one faulty target contract that always reverts upon execution

call the executeBatch() function

Observe that the entire transaction reverts

Impact

Dos Attach Vector: A malicious contract could intentionally revert, preventing execution of all other calls in a batch.
Operational Inefficiency: if one transaction fails due to gas limits, contract state, or incorrect input data, the entire batch is blocked, even if other transactions are valid.

Tools Used

Manual Review

Recommendations

Instead of reverting the entire batch allow successful transactions to execute and log failed ones:

Updates

Lead Judging Commences

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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