Description-Behavior Mismatch
Medium
- Confidence
- 82% confidence
- Finding
- The script explicitly parses and prints `thought` events, which may expose model reasoning traces or internal debugging content to users or logs. Even if the upstream API provides these events, surfacing them by default increases the risk of leaking sensitive prompts, internal chain-of-thought-like content, or other unintended metadata beyond the core chat response.
