Skip to content

feat(cresettings): add RemoteExecutableWorkflowDONBindingEnabled gate#2257

Merged
prashantkumar1982 merged 1 commit into
mainfrom
remote-executable-workflow-don-binding
Jul 16, 2026
Merged

feat(cresettings): add RemoteExecutableWorkflowDONBindingEnabled gate#2257
prashantkumar1982 merged 1 commit into
mainfrom
remote-executable-workflow-don-binding

Conversation

@prashantkumar1982

@prashantkumar1982 prashantkumar1982 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

What

Adds a global cresettings gate RemoteExecutableWorkflowDONBindingEnabled (default false).

Why

When enabled, it lets the remote executable capability server (in chainlink) reject any request whose RequestMetadata.WorkflowDonID does not match the authenticated calling DON (msg.CallerDonId). This binds the caller-supplied WorkflowDonID to the authenticated sender DON so it cannot be spoofed by a colluding calling DON — a security boundary that capabilities such as vault rely on.

The chainlink-side enforcement is a separate PR.

https://smartcontract-it.atlassian.net/browse/PRIV-615

Global bool (default false) that, when enabled, lets the remote executable
capability server reject requests whose RequestMetadata.WorkflowDonID does not
match the authenticated calling DON.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@prashantkumar1982
prashantkumar1982 requested a review from a team as a code owner July 16, 2026 02:45
@github-actions

Copy link
Copy Markdown
Contributor

👋 prashantkumar1982, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

Copy link
Copy Markdown
Contributor

✅ API Diff Results - github.com/smartcontractkit/chainlink-common

✅ Compatible Changes (1)

pkg/settings/cresettings.Schema (1)
  • RemoteExecutableWorkflowDONBindingEnabled — ➕ Added

📄 View full apidiff report

@prashantkumar1982
prashantkumar1982 marked this pull request as draft July 16, 2026 02:47
@prashantkumar1982
prashantkumar1982 marked this pull request as ready for review July 16, 2026 03:15
@prashantkumar1982
prashantkumar1982 added this pull request to the merge queue Jul 16, 2026
Merged via the queue into main with commit a7d01d2 Jul 16, 2026
32 of 33 checks passed
@prashantkumar1982
prashantkumar1982 deleted the remote-executable-workflow-don-binding branch July 16, 2026 19:40
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