Intent-Code Divergence
Medium
- Confidence
- 94% confidence
- Finding
- The example code returns raw `res.json()` and, on failure, includes `detail: listJson`, which contradicts the surrounding guidance to report only user-safe outcomes and avoid exposing raw API responses. If an agent follows the example literally, upstream API error payloads or internal metadata could be surfaced to users or logs, increasing the chance of sensitive information disclosure.
