Skip to content

yash/feat/permissionless-execute-task#384

Merged
pankajjagtapp merged 1 commit intopankaj/feat/security-upgradesfrom
yash/feat/permissionless-execute-task
Apr 29, 2026
Merged

yash/feat/permissionless-execute-task#384
pankajjagtapp merged 1 commit intopankaj/feat/security-upgradesfrom
yash/feat/permissionless-execute-task

Conversation

@0xpanicError
Copy link
Copy Markdown

@0xpanicError 0xpanicError commented Apr 28, 2026

Note

High Risk
Removes role gating from EtherFiAdmin.executeTasks, allowing any account to trigger state-changing reward/fee/validator/withdrawal processing once oracle consensus and sequencing/freshness checks pass. This increases operational exposure (griefing/DoS via public callers) and should be reviewed for reentrancy, gas, and trust assumptions around report validity.

Overview
EtherFiAdmin.executeTasks is now permissionless: the executor role check was removed so any caller can process an oracle report once consensus is reached and the report passes the existing sequencing (refSlotFrom/refBlockFrom) and freshness wait checks.

Tests were updated to reflect this behavior by renaming the insufficient-role test to test_executeTasks_permissionless and asserting a role-less address can execute tasks and advance lastHandledReportRefSlot/lastHandledReportRefBlock.

Reviewed by Cursor Bugbot for commit 41a05fa. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Contributor

@pankajjagtapp pankajjagtapp left a comment

Choose a reason for hiding this comment

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

lgtm

@pankajjagtapp pankajjagtapp merged commit 1b934ff into pankaj/feat/security-upgrades Apr 29, 2026
1 check passed
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.

2 participants