v1.2 — Security Hardening & Code Quality
v1.2 — Security Hardening & Code Quality
Security Fixes
- API key leak fix: Embedding provider abstraction now supports env-var configuration for both local and API-based providers, eliminating hardcoded credentials
- Path traversal guards: Added path validation in
server.pyandquestion_bank.pyto prevent directory traversal attacks - Profile schema whitelist:
update_user_profilenow validates against an allowlist of permitted fields vector_store.rebuild(): Now emits an explicit warning before silently clearing the vector store index
Changelog
4 cherry-picked commits from dev branch, addressing Copilot review findings and proactive security hardening.