security-guidance plugin fails on Windows - uses python3 instead of python

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Dec 31, 2025 · closed Jan 5, 2026

Bug Description

The security-guidance@claude-plugins-official plugin's hook uses python3 which doesn't exist on Windows.

File

hooks/hooks.json:

"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py"

Error Message

Plugin hook error: Python is niet gevonden; uitvoeren zonder argumenten om te installeren vanaf de Microsoft Store...

(Dutch locale - "Python not found")

Environment

  • OS: Windows 11
  • Python: Installed at C:\Users\...\Python313\python.exe
  • Issue: Windows uses python or py, not python3

Suggested Fix

Use python (works on all platforms) or add cross-platform detection.

View original on GitHub ↗

3 Comments

papacrypt · 9 months ago

Hit the same issue - adding a workaround that worked for me:

Workaround

Create a python3.bat file somewhere in your PATH containing:

@"C:\Path\To\Your\python.exe" %*

This aliases python3 to your Python installation and the plugin works.

ducroq · 9 months ago
Hit the same issue - adding a workaround that worked for me: ## Workaround Create a python3.bat file somewhere in your PATH containing: @"C:\Path\To\Your\python.exe" %* This aliases python3 to your Python installation and the plugin works.

Thank you!

github-actions[bot] · 9 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.