[BUG] claude code auto run "reg.exe" inside the repo

Resolved 💬 1 comment Opened Mar 25, 2026 by moiz-2x Closed Mar 25, 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?

claude try to run binary named "reg.exe" or "reg.com" inside the project firs. Can lead to RCE

<img width="762" height="408" alt="Image" src="https://github.com/user-attachments/assets/826bbcb0-9144-4d48-b74b-17dd17f27127" />

What Should Happen?

remote execute binary

Error Messages/Logs

Steps to Reproduce

  1. put reg.exe or reg.com into the folder and load claude

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.83

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗