Skip to content

Update proxy_test.js#53

Closed
sofiabobadilla wants to merge 1 commit intomainfrom
accesscontrol-proxy-test-patch
Closed

Update proxy_test.js#53
sofiabobadilla wants to merge 1 commit intomainfrom
accesscontrol-proxy-test-patch

Conversation

@sofiabobadilla
Copy link
Copy Markdown
Collaborator

Proposed fix for the wrong oracle on an access control exploit, proxy_test.sol.

According to our plausible analysis, this exploit was not doing the correct exploit check.

@mokita-j
Can you confirm and review the proposed fix?

Here is my reasoning extracted from our shared spreadsheet:
The forward method should have been protected from being called by external contracts, instead, the patch changes delegate to call only.
The exploit should check for access control instead. This correlates with the fix on the contract's source: https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-112#proxysol

Proposed fix for wrong oracle on access control exploit.
@sofiabobadilla sofiabobadilla requested a review from mokita-j May 13, 2025 19:39
@sofiabobadilla
Copy link
Copy Markdown
Collaborator Author

We discuss on the patch with @mokita-j , we maintain the original exploit.

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.

1 participant