Skip to content

fix(security): fail closed on IDE secondary hook launch failure (FO-025) - #59

Merged
SafetyMP merged 1 commit into
mainfrom
fix/fail-closed-fo-025
Aug 13, 2026
Merged

fix(security): fail closed on IDE secondary hook launch failure (FO-025)#59
SafetyMP merged 1 commit into
mainfrom
fix/fail-closed-fo-025

Conversation

@SafetyMP

Copy link
Copy Markdown
Owner

Summary

  • Closes FO-025 from the SafetyMP fail-open audit for this repo: Cursor secondary hooks (beforeShellExecution, beforeMCPExecution, network matchers, and other non-secret hooks) now use failClosed: true.
  • If the hook process cannot start, the matching IDE action is denied instead of proceeding.
  • Secret/prompt hooks were already fail-closed; comments now match that launch posture.

These remain secondary denylists, not a product PDP. Product runtime fail-open items stay on the P0/P1 PRs.

Test plan

  • Confirm .cursor/hooks.json has no "failClosed": false
  • CI on this PR (no product runtime change)

FO-025: beforeShell/MCP/network and other secondary Cursor hooks now deny
the action if the hook process cannot start.
Copilot AI lite review requested due to automatic review settings August 13, 2026 02:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@SafetyMP
SafetyMP merged commit 9f0d7b6 into main Aug 13, 2026
3 checks passed
@SafetyMP
SafetyMP deleted the fix/fail-closed-fo-025 branch August 13, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants