Skip to content

fix(bus): require authenticated delivery provenance - #81

Merged
hartsock merged 1 commit into
mainfrom
fix/issue-79-authenticated-peer
Aug 14, 2026
Merged

fix(bus): require authenticated delivery provenance#81
hartsock merged 1 commit into
mainfrom
fix/issue-79-authenticated-peer

Conversation

@hartsock

@hartsock hartsock commented Aug 14, 2026

Copy link
Copy Markdown
Member

What this PR does

  • Makes Inbound carry typed transport-authenticated peer provenance and rejects Unbound delivery by default.
  • Centralizes envelope verification, carrier/signer, same-user, and direct-recipient admission ahead of replay-state mutation, including validation of the local certificate and root identity.
  • Binds Iroh Hello certificates to the QUIC session and intended target in both directions, and gives InMemoryTransport a fixed registered identity.

Closes #79

Test plan

  • CARGO_TARGET_DIR=/private/tmp/agent-mesh-target-79 just check
  • CARGO_TARGET_DIR=/private/tmp/agent-mesh-target-79-cov just cov-ci (75% floor)
  • Added hostile admission tests for unbound delivery, signer/root mismatch, stranger roots, bad signatures, CID mismatch, wrong recipients, and deterministic real-QUIC relayed-envelope rejection with a same-envelope positive control.

Out of scope


Note

Cursor Bugbot is generating a summary for commit ba61801. Configure here.

Verify inbound envelopes and bind direct signers to transport-authenticated carriers before replay state or dispatch. Bind QUIC Hello certificates to both session and intended peer identities, and make unbound transports fail closed.

Closes #79

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_8934ac8d-fdae-43c8-92bb-8fb3646b39c4)

@hartsock
hartsock merged commit 2d72dbf into main Aug 14, 2026
9 checks passed
@hartsock
hartsock deleted the fix/issue-79-authenticated-peer branch August 18, 2026 15:00
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.

security(bus): make authenticated peer provenance mandatory at the Transport/Inbound seam

1 participant