-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remediations #4
remediations #4
Conversation
foo wip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: H1
I think adding this access control should make remediate the frontrunning / race condition problem entirely.
I still think having a launchpad like single transaction install process for existing safe accounts is a good idea, but delegatecall to multisend should be sufficient for that?!
6767458
to
bab5361
Compare
// ISafe7579(initData.safe7579).launchpadValidators(initData.validators); | ||
// but we need to append msg.sender (entrypoint) to ERC2771 style access control, to protect | ||
// the launchpadValidator function | ||
(bool success,) = address(initData.safe7579).call( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding ERC2771 style appending of msg.sender to calldata. this should offer sufficient frontrun protection for the launchpadValidators function
function launchpadValidators(ModuleInit[] calldata validators) | ||
external | ||
override | ||
onlyEntryPointOrSelf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added access control here
adding test case to remove multi type module
…pad via delegatecall
Feature/safe owner cleanup
Feature/safe owner launchpad
Fix: final remediations
fix: various bugs/missing features
Implementing remediations for Ackee's Safe7579 security audit, as well as other security improvements.