Credential Access
High
- Category
- Privilege Escalation
- Content
- **Missing .env or token**: Stop. Run the first-time setup flow above. Do NOT ask the user to manually edit `.env`. - **Invalid YUQUE_REPO format**: Stop. Re-run `setup` with the correct URL. - **.gitignore missing .env entry**: Warn the user immediately. Do not proceed with any API calls until `.env` is protected. - **401 Unauthorized**: Stop. Token is invalid or expired — ask the user to regenerate it. - **404 Not Found**: Stop. The repo path or doc ID/slug is wrong — ask the user to verify. - **429 Rate Limited**: Wait briefly and retry once. If it fails again, stop and inform the user.
- Confidence
- 88% confidence
- Finding
- .env
