Repository navigation
v0.4.1 — Cursor 3.9.8 Hardening
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-commitbackstop —install.sh/install.ps1(project scope) install a real gitpre-commithook runningpre-commit-check.sh, soas 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 thebeforeShellExecutionguard). Existing non-OMC hooks are left untouched. - Deterministic credential-read hold —
guard-shell.shnow 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