Skip to content

v0.4.1 — Cursor 3.9.8 Hardening

Choose a tag to compare

@tmcfarlane tmcfarlane released this 28 Jun 16:38
· 46 commits to main since this release
a36038f

Hardening from the first end-to-end run on Cursor 3.9.8 — 13/15 → 15/15 after these fixes. A major-version bump surfaced two gaps the 3.8 validation couldn't.

Fixes

  • Git pre-commit backstop — install.sh/install.ps1 (project scope) install a real git pre-commit hook running pre-commit-check.sh, so as any/@ts-ignore/empty-catch commits are blocked regardless of how the commit is made — shell, git CLI, or Cursor's native git path (which bypasses the beforeShellExecution guard). Existing non-OMC hooks are left untouched.
  • Deterministic credential-read hold — guard-shell.sh now holds (asks approval) on reads of credential/secret files (~/.ssh/*, ~/.aws/*, *.pem, id_rsa, .netrc, kubeconfig, …) instead of trusting the best-effort auto-review classifier.

Validation

Re-verified live on Cursor 3.9.8: the as any commit is blocked and cat ~/.ssh/config is held. See VALIDATION.md (3.9.8 matrix) and the E2E runbook.

Full changelog: https://github.com/tmcfarlane/oh-my-cursor/blob/main/CHANGELOG.md

🤖 Generated with Claude Code