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

Validate that no storage variable added on payload #232

Open
brotherlymite opened this issue Jan 26, 2024 · 0 comments
Open

Validate that no storage variable added on payload #232

brotherlymite opened this issue Jan 26, 2024 · 0 comments

Comments

@brotherlymite
Copy link
Contributor

Using ffi we can run forge inspect contractPath:contractName storageLayout and validate on the defaultTest(), that no storage variable has been added on the payload contract, this is critically dangerous as it would mess with the Executor state otherwise - as the payload is called via delegatecall.

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

No branches or pull requests

1 participant