Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The Gallery API documentation states the scope is `gallery:read` while also documenting upload and delete operations, which are write actions. This can cause operators to grant a broader or incorrectly named permission set than intended, undermining least-privilege expectations and potentially enabling unintended asset modification or deletion.
