# GHSA-JWWQ-CRGQ-C4C7: Federation BBS: a pinned peer can forge the origin of an envelope

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-11-05
- Modified: 2026-11-05

## Affected versions

- @claude-flow/cli (npm): through 3.71.3
- claude-flow (npm): through 3.71.3
- ruflo (npm): through 3.71.3

## Description

### Impact
In `mergeEnvelopes` (`v3/@claude-flow/cli/src/mcp-tools/agentbbs-federation.ts`, around lines 370-383), the signature is checked against the syncing peer's pinned key, but `env.origin` is never compared with `peer.nodeId`.

A pinned peer can sign envelopes that claim any other node as their origin, and `federation_bbs_watch` shows them that way. This contradicts what the `peer_add` documentation promises. Related: `maxSeq` is computed over envelopes that failed verification, and `hops` is not signed.

### Fix
Reject an envelope when `origin !== peer.nodeId`, or verify it against the pinned key of the claimed origin. Compute `maxSeq` only from merged envelopes, and sign `hops` or ignore it.

## References

- https://github.com/ruvnet/ruflo/security/advisories/GHSA-jwwq-crgq-c4c7

Page: https://cve.now/GHSA-JWWQ-CRGQ-C4C7

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
