hats-finance / Tapioca-0xe0b920d38a0900af3bab7ff0ca0af554129f54ad

1 stars 2 forks source link

Issue [M-17] from Code4rena audit not fixed #2

Open hats-bug-reporter[bot] opened 1 month ago

hats-bug-reporter[bot] commented 1 month ago

Github username: @deadrosesxyz Twitter username: @deadrosesxyz Submission hash (on-chain): 0x0ea2fe319fd977a9b12cbe942aa7db4f5a059bcde30eb2e067743b3bd49f2197 Severity: medium

Description: Description\ Link

Attack Scenario\ In case a Singularity has removed and a user has not unlocked their position, their position will remain forever stuck, as the Singularity mapping is cleared.

                    delete activeSingularities[singularity];
                    delete sglAssetIDToAddress[sglAssetID];
                    delete sglRescueRequest[sglAssetID];

Attachments

  1. Proof of Concept (PoC) File

  2. Revised Code File (Optional)

0xRektora commented 1 month ago

We acknowledge this as stated here https://github.com/code-423n4/2024-02-tapioca-findings/issues/110#issuecomment-2053744605