[BUG] curl

Resolved 💬 3 comments Opened Nov 17, 2025 by fabswt Closed Nov 21, 2025

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 Code keeps asking for permission to run curl commands despite having Bash(curl:*) in .claude/settings.local.json.

I'm running the latest version of claude (2.0.42) and the issue has been reported before in this closed ticket

What Should Happen?

Expected: it should run the command directly, without asking for permission.
Observed: it still asks for it – see screenshot below

Steps to Reproduce

  • Make sure you have Bash(curl:*) in your settings;
  • Run Claude Code and ask this:
Please run the following command:

curl -X POST https://httpbin.org/post \
    -H "Content-Type: application/json" \
    -d '{"key":"value"}'

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.42

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="1282" height="1196" alt="Image" src="https://github.com/user-attachments/assets/36030b12-2c8a-4ca7-8731-36c45b10e017" />

View original on GitHub ↗

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