Skip to content

Preservation: library doesn't prevent access to state #401

Closed

Description

@mtomassoli

Great level! I just want to point out that library is not completely foolproof as the final explanation seems to suggest:

library LibraryContract {
    function setTime(uint256 _time) public {
        assembly {
            sstore(0, _time)
        }
    }
}

Activity

  1. locked and limited conversation to collaborators on Jan 16, 2023
  2. converted this issue into a discussion #564 on Jan 16, 2023
  3. moved this from 📋 To Do to ✅ Done in Ethernaut Developmenton Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions