Forgotten Runes Warrior Guild contest - Czar102's results

16,000 Warrior NFTs sold in a phased Dutch Auction.

General Information

Platform: Code4rena

Start Date: 03/05/2022

Pot Size: $30,000 USDC

Total HM: 6

Participants: 93

Period: 3 days

Judge: gzeon

Id: 118

League: ETH

Forgotten Runes

Findings Distribution

Researcher Performance

Rank: 51/93

Findings: 1

Award: $48.59

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

48.5872 USDC - $48.59

Labels

bug
duplicate
2 (Med Risk)

External Links

Lines of code

https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol#L604-L611 https://github.com/code-423n4/2022-05-runes/blob/main/contracts/ForgottenRunesWarriorsMinter.sol#L613-L619

Vulnerability details

Impact

Since .send passes only 2300 gas to the call, it may be possible that every transaction will fail after calling the vault. This may not be shown in tests, especially because current gas costs may not be constant - in the future, upon a gas repricing, it may turn out to be impossible for a call with such limited gas to execute properly. This will cause fund retrieval to be impossible.

Tools Used

Manual analysis

Use low-level calls with no gas limit instead of a .send function.

#0 - KenzoAgada

2022-06-06T12:47:54Z

Duplicate of #254

#1 - gzeoneth

2022-06-18T17:23:24Z

This is true but also these are onlyOwner function where the owner have full control of the destination address to mitigate any issue in production. Downgrading to Low / QA.

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