Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
src/config/env.ts validateEnvVars only checks that required vars are non-empty, so JWT_SECRET, INTERNAL_API_KEY and LOAN_MANAGER_ADMIN_SECRET pass with a single weak character; the admin secret is not even checked to be a valid Stellar secret until first use.
Acceptance criteria
Files to touch
- src/config/env.ts
- src/middleware/auth.ts
- src/services/sorobanService.ts
Out of scope
- Secret rotation tooling
- Vault integration
Why this matters
src/config/env.ts validateEnvVars only checks that required vars are non-empty, so JWT_SECRET, INTERNAL_API_KEY and LOAN_MANAGER_ADMIN_SECRET pass with a single weak character; the admin secret is not even checked to be a valid Stellar secret until first use.
Acceptance criteria
Files to touch
Out of scope