code-423n4 / 2024-01-curves-findings

0 stars 0 forks source link

Protocol and referral fee would be permanently stuck in the Curves contract when selling a token #1294

Open c4-bot-8 opened 8 months ago

c4-bot-8 commented 8 months ago

Lines of code

https://github.com/code-423n4/2024-01-curves/blob/main/contracts/Curves.sol#L231

Vulnerability details

Impact

Protocol fee and referral fee retrieved during the sale of a token stay permanently stuck in the Curves contract.

Proof of Concept

Manual review

Recommended Mitigation Steps

Assessed type

ETH-Transfer

c4-pre-sort commented 8 months ago

raymondfam marked the issue as sufficient quality report

c4-pre-sort commented 8 months ago

raymondfam marked the issue as duplicate of #230

c4-judge commented 7 months ago

alcueca marked the issue as selected for report

c4-judge commented 7 months ago

alcueca changed the severity to 2 (Med Risk)

c4-judge commented 7 months ago

alcueca marked the issue as satisfactory

c4-sponsor commented 5 months ago

andresaiello (sponsor) acknowledged