[BUG] Broken security_reminder_hook.py plugin persists after reinstall

Status Open
Reported on v2.1.227
Maintainer reply None cached
Activity 2 comments · opened Sep 4, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Plugin ID: 01YBNfaNwQztYsnUydt8m47G
Broken hook path: C:\Users\TingYoham\AppData\Roaming\Claude\local-agent-mode-sessions\...\plugin_01YBNfaNwQztYsnUydt8m47G\hooks\security_reminder_hook.py

Error: [Errno 2] No such file or directory

Issue: The hook file doesn't exist, causing a "can't open file" error that repeats continuously. Problem persists even after uninstalling and reinstalling Claude Code. The plugin keeps trying to recreate the broken hook on every session.

<img width="821" height="466" alt="Image" src="https://github.com/user-attachments/assets/9fd6e304-c97c-4a42-b370-3043e3beca34" />

Steps to reproduce:

  1. Open Claude Code
  2. Observe error notification about missing security_reminder_hook.py
  3. Uninstall Claude Code completely
  4. Reinstall Claude Code
  5. Error still appears

What Should Happen?

Claude Code should run without continuous errors about missing hook files, and /loop should be interruptible with Ctrl+C

Error Messages/Logs

C:\Python314\python.exe: can't open file 'C:\Users\TingYoham\AppData\Roaming\Claude\local-agent-mode-sessions\2ab1a090-3693-4d1d-b419-806da16b5ac2\463ceaf7-30a9-4457-a5e9-dec8a306b0d1\rpm\plugin_01YBNfaNwQztYsnUydt8m47G\hooks\security_reminder_hook.py': [Errno 2] No such file or directory

Steps to Reproduce

  1. Open Claude Code
  2. Observe error notification about missing security_reminder_hook.py
  3. Uninstall Claude Code completely
  4. Reinstall Claude Code
  5. Error still appears - persists even after fresh install

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.227

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Broken plugin ID: 01YBNfaNwQztYsnUydt8m47G

The hook file location doesn't exist, but Claude Code keeps trying to recreate it:
C:\Users\TingYoham\AppData\Roaming\Claude\local-agent-mode-sessions\...\plugin_01YBNfaNwQztYsnUydt8m47G\hooks\security_reminder_hook.py

This persists even after:

  • Deleting 9,461 corrupted session files
  • Full uninstall/reinstall of Claude Code

The error prevents /loop from being properly interrupted with Ctrl+C.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗