Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The code comments indicate that API keys and credentials should be masked, but the implementation simply extracts matching context snippets and returns them verbatim. If session history contains secrets, tokens, internal URLs, or error traces, this function can surface them into output JSON or continuation prompts, causing unintended disclosure.
