Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The code verifies that the update was signed by the supplied public key, but it never checks that this key is authorized for the target session. An attacker can generate their own keypair, sign arbitrary CRDT updates, and append them to any existing session if they know or guess the sessionId, resulting in unauthorized modification and possible corruption of shared state.
