Description-Behavior Mismatch
Medium
- Confidence
- 95% confidence
- Finding
- The prompt explicitly instructs persisting user-supplied database credentials into a workspace `.env` file. Persisting secrets to disk expands their lifetime and exposure surface beyond the immediate read-only query operation, increasing the risk of accidental reuse, leakage through logs, commits, or later workspace access.
