Malt Finance contest - nathaniel's results

Yield farmable, incentive-centric algorithmic stable coin.

General Information

Platform: Code4rena

Start Date: 25/11/2021

Pot Size: $80,000 USDC

Total HM: 35

Participants: 32

Period: 7 days

Judge: GalloDaSballo

Total Solo HM: 27

Id: 59

League: ETH

Malt Finance

Findings Distribution

Researcher Performance

Rank: 20/32

Findings: 3

Award: $624.99

🌟 Selected for report: 2

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: ScopeLift

Also found by: nathaniel

Labels

bug
duplicate
2 (Med Risk)

Awards

496.6906 USDC - $496.69

External Links

Handle

nathaniel

Vulnerability details

Impact

In emergencyWithdrawGAS and partialWithdrawGAS the success of the low level call is not checked. Although if just looking at the functions individually it may not seem like an issue, but it is totally feasible that these functions will be run in the context of more critical executions dependant on the successful transfer of ether. If the call failed but was not checked, it could lead to unexpected consequences.

Proof of Concept

https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/Permissions.sol#L80-L86 https://github.com/code-423n4/2021-11-malt/blob/main/src/contracts/Permissions.sol#L97-L102

Tools Used

manual

Add a require check on the successful execution of the call.

#0 - 0xScotch

2021-12-08T16:18:26Z

#329

#1 - GalloDaSballo

2022-01-22T15:33:26Z

Duplicate of #329

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter