Files
ruflo/v3/@claude-flow
rUvandClaude 19af6d8acb fix(security): unsigned content in agentbbs federation envelopes (#5061)
The canonical bytes an envelope signature covers were built by assigning
payload keys onto a plain object. An own `__proto__` key set the prototype
instead, so that key and its subtree dropped out of the signed bytes while
still being stored and re-served as the origin's content. Merge also stored
every top-level field of an incoming envelope, including fields the
signature does not cover.

- canonicalEnvelopeBytes refuses a payload containing a `__proto__` key,
  so verification fails and signing throws.
- mergeEnvelopes stores only the signed fields plus signature and hops.
- New test: agentbbs-federation-signed-coverage.test.ts (5 cases; all fail
  before, pass after).


Claude-Session: https://claude.ai/code/session_01MfPHVJbk1daZwNMDkX4iAC

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-22 14:45:42 -05:00
..
2026-11-20 22:21:35 -05:00
2026-11-19 02:12:49 -05:00
2026-11-19 02:12:49 -05:00
…