v1.2.1 — Security hardening
·
109 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Security hardening
Closes 3 untouched P0 security findings:
- Path traversal (#14) — the indexer no longer resolves imports outside the project root, and
index_directoryis sandboxed to the working directory (extend viaCODE_CONTEXT_ALLOWED_ROOTS). - SQL injection (#15a) —
query/executenow use allowlist validation plus a driver-level read/write check, closing the semicolon / comment / subquery bypasses. - Unauthenticated dashboard (#15b) — all
/api/*routes require a bearer token (auto-generated + gitignored;CODE_CONTEXT_DASHBOARD_TOKENto override). SSE authenticates via?token.
Also removes the npm publish workflow — releases are git tag + GitHub release only (no npm).
See CHANGELOG.md for full details.