The source shows a concrete credential-routing weakness: mDNS can change a paired peer's destination, and requests send that peer's bearer token to the resulting URL. This is a suspicious vulnerability in the peer discovery flow, rather than evidence of deliberate credential theft.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Plugin startup begins mDNS discovery; a later mesh_send or pool broadcast, or automatic forwarding of an incoming broadcast, sends a request to the updated address.
Impact
A host spoofing a known paired node on the local network may receive that peer token and the associated message contents.
Mechanism
Discovery updates saved peer addresses without checking them against the paired peer's pinned key. The resolver uses the saved address directly, and requests include that peer's bearer token.
Evidence
dist/lib/discovery.jsdist/lib/peers.jsdist/lib/client.jsdist/lib/fanout.jsdist/tools.js~/.local/share/opencode-mesh/mesh.db (peer address records)