Skip to content

Conversation

Riateche
Copy link
Contributor

3.1. Signature malleability

Fixed by using OpenZeppelin's ECDSA library instead of the raw ecrecover function.

3.2. Improper initialization within the UUPS pattern

Fixed by adding _disableInitializers() to the constructor. Updated tests to set up a proxy.

3.3. Performing duplicate checks within the same range of update length

It's not possible to remove the if update.length < 71 check because that would add a possibility of out-of-bounds access at the next line (update[69:71]).

3.4. Inclusion of unnecessary migrate function

Removed migrate().

3.5. Remove unused code lines

Removed unused import.

@vercel
Copy link

vercel bot commented Feb 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 1:40pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 1:40pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 1:40pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Feb 25, 2025 1:40pm
entropy-debugger ⬜️ Ignored (Inspect) Feb 25, 2025 1:40pm
insights ⬜️ Ignored (Inspect) Feb 25, 2025 1:40pm

@Riateche Riateche merged commit 49de9a2 into main Feb 26, 2025
12 checks passed
@Riateche Riateche deleted the lazer-address-audit branch February 26, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants