Skip to content
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

fix(solecs): restrict write access to Set and MapSet to owner #244

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

alvrs
Copy link
Member

@alvrs alvrs commented Nov 11, 2022

Fixes a critical security bug in solecs (restricting write access to internal MapSet and Set contracts to the owner of those contracts)

Copy link
Contributor

@Kooshaba Kooshaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Sky Strife, everything is working correctly 👍🏼

@alvrs alvrs merged commit f17a6d7 into main Nov 11, 2022
github-actions bot pushed a commit that referenced this pull request Nov 11, 2022
@holic
Copy link
Member

holic commented Nov 11, 2022

We should probably have a way for the current owner to update the owner, right?

If so, we might consider inheriting from Ownable in one of the standard set of solidity libraries (OpenZeppelin, etc.)

@alvrs
Copy link
Member Author

alvrs commented Nov 11, 2022

Agree, waiting for #239 before this refactor

@ludns
Copy link
Member

ludns commented Nov 11, 2022 via email

@ludns
Copy link
Member

ludns commented Nov 11, 2022 via email

@alvrs alvrs deleted the alvrs/onlyowner branch January 5, 2023 11:25
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.

4 participants