You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path traversal in migrate-v1-to-v2.ts — CLI storage path is now resolved to absolute and constrained to the user's home directory, rejecting .. traversal and out-of-home escape attempts from untrusted CLI args (SonarCloud tssecurity:S8707). An LLM passing a malicious --storagePath can no longer point the migration at arbitrary filesystem locations like /etc or /var.
Ambient PATH dependency in tags.ts — Git executable is now resolved from a fixed list of trusted, unwriteable locations only (/usr/bin/git, /bin/git, /usr/local/bin/git, /opt/homebrew/bin/git, /usr/local/git/bin/git). Removed the which git ambient-PATH lookup that could resolve a writable-directory binary (SonarCloud typescript:S4036). Added /opt/homebrew/bin/git for Apple Silicon.
SonarCloud fails on Dependabot PRs — SonarCloud workflow now skips fork PRs from Dependabot (if: !startsWith(github.head_ref, 'dependabot/')). SONAR_TOKEN is unavailable to fork PRs, causing "Not authorized" failures on all Dependabot PRs. (#45)
Changed
SonarCloud Quality Gate: coverage lifted to ≥80% — Added tests/memory-lifecycle.test.ts (17 tests) and extended tests/api-handlers.test.ts, tests/deduplication-service.test.ts, tests/auto-capture.test.ts, tests/secret-resolver.test.ts, and tests/logger.test.ts with branch coverage. New-code coverage projected from 77.3% to ~80.2%.
CI bun audit is non-blocking — continue-on-error: true added so dev-only vulnerabilities (vite, esbuild, protobufjs) don't gate CI. (#45)