Claude Code automatically executes local "git" file...
Resolved 💬 3 comments Opened Aug 2, 2025 by sinasan Closed Jan 3, 2026
Local executable "git" is executed on Claude Code startup
When starting Claude Code in a directory containing an executable file named "git", this file is automatically executed.
Steps to reproduce:
- Create executable file named "git" with shell commands
- Start claude in same directory
- File starts automatically and without feedback
Result: Commands in local "git" file run with user privileges
Expected: No automatic execution of local files
Environment: Linux
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗