Credential Access
High
- Category
- Privilege Escalation
- Content
## Tasks - [x] 1. (S) Provision database — Postgres 16, endpoint saved to .env - [ ] 2. (M) Build auth middleware (depends: 1) - [ ] 3. (M) Build CRUD endpoints (depends: 1) ↳ parallel with 2- Confidence
- 90% confidence
- Finding
- The example plan explicitly says a database endpoint is saved to `.env`, which encourages storing connection details in a broadly referenced local file. While endpoints are not always credentials, `.env` files commonly contain secrets and this pattern can normalize unsafe handling of infrastructure connection data, increasing the chance that sensitive values are persisted, copied, or committed to source control.
