Skip to content

fix: refuse a tool confirmation from a sender the transport did not authenticate - #1512

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_977623371
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_977623371

Conversation

@copybara-service

Copy link
Copy Markdown

fix: refuse a tool confirmation from a sender the transport did not authenticate

An agent exposed over A2A could have a dangerous tool call approved by the calling peer itself,
because the peer's own message reaches the flow authored as user. Confirmations now pass through
ConfirmationApprover, whose default REJECT_UNAUTHENTICATED refuses a sender the transport saw
and did not authenticate.

…uthenticate

An agent exposed over A2A could have a dangerous tool call approved by the calling peer itself,
because the peer's own message reaches the flow authored as `user`. Confirmations now pass through
`ConfirmationApprover`, whose default `REJECT_UNAUTHENTICATED` refuses a sender the transport saw
and did not authenticate.

PiperOrigin-RevId: 977623371
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