Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The worked example states that no signing or encryption is required for client-held cart contents, which contradicts the file's own earlier rule that client session state must at least be signed for tamper detection. Even if cart data is not confidential, unsigned client-controlled state allows quantity, price-related fields, discounts, or item identifiers to be modified and replayed, which can lead to business logic abuse if any downstream code trusts it.
