Skip to content

feat: Hook change: Security: Fixed PreToolUse hook approvals and auto mode bypassing the permission... (from Claude Code v2.1.292) #1426

Closed as not planned

Description

@github-actions

Upstream: Claude Code v2.1.292
Category: Hook Change
Assessment: #1425

Context

Security: Fixed PreToolUse hook approvals and auto mode bypassing the permission prompt for file reads from network (UNC) paths

Affected Files

  • templates/hooks/pre-tool.sh
  • plugin/hooks/hooks.json
  • templates/settings.json

Opportunity

[To be analyzed during /spec phase]

Proposed Implementation

[To be determined during /spec phase]

Acceptance Criteria

  • AC-1: [To be defined]

Auto-created by /upstream assessment #1425

Activity

  1. added
    enhancement
    upstream
    needs-triage
    on Oct 12, 2026
  2. admarble commented on Oct 13, 2026

    @admarble
    Contributor

    Triaged 2026-10-13: no Sequant impact. The fix matters only when a PreToolUse hook returns allow or the session runs in auto mode. Sequant's hooks never return an allow decision, phase agents run bypassPermissions (src/lib/workflow/drivers/claude-code.ts), and UNC paths are Windows-only. It is no reason to raise the recommended version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triageupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions