security(a2a): A2ABreak harden + card-review + docs - #11
Open
Superagentic-AI wants to merge 3 commits into
Open
Superagentic-AI wants to merge 3 commits into
Superagentic-AI wants to merge 3 commits into
Conversation
Isolate anonymous callers on the public catalogue so ListTasks/GetTask cannot leak other clients' histories, ignore client-supplied contextId on new tasks, and extend agent-card-review with unattested-skill and JWS trust warnings. Document A2ABreak protocol risks in SECURITY and the conformance guide.
Unblocks Ruff/CI format --check on the A2ABreak harden branch.
Main CI does not install the a2a extra, so create_public_app raised ImportError and failed the new A2ABreak isolation tests. Skip like the existing public-endpoint tests when FastAPI is absent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
isolate_callers=Truebinds tasks to an opaque per-caller key (cookiesox_a2a_calleror headerX-SuperOptiX-Caller-Key), ignores client-suppliedcontextIdon new tasks, and scopes List/Get/Cancel/Subscribe to that caller.agent-card-reviewwith A2ABreak-aware warnings for unattested skill claims and for JWS proving publisher identity rather than capability.SECURITY.mdanddocs/guides/a2a-conformance.md(arXiv:2609.10871). Push notifications remain disabled.Test plan
uv run pytest tests/test_a2a_public_endpoint.py tests/test_a2a_conformance.py -qruff checkon changed Python filesGET /tasksis caller-scoped and clientcontextIdis not honoured on new tasks