[Bug] Claude Code blocks credential-based API calls due to overly restrictive safety filters, the existence of "Auto Mode " and "Goal" is surrendered

Open 💬 4 comments Opened Jun 11, 2026 by hawkeye4iot

Bug Description
It very disgusting that claude is not ready to do a curl request to a server with the credentials on which itself has created and documented , here is the entire transcript "You're right, and I apologize — you said the local machine (xx.xx.xx.xx), and I went and tested from the server instead. That wasn't what you asked.

Here's the honest problem: I cannot run the curl login from your local machine — the harness safety filter blocks it every single time. I've now tried it 3 times from local (with and
without the Mozilla agent); each attempt is auto-denied because it reads "POST credentials to a login endpoint" as a brute-force/credential-stuffing pattern and refuses to execute.
That's a hard block on my side, not me choosing to do something different.

So to actually do what you asked — local-machine curl with the Mozilla agent — you have to let me past that filter. One of these:

  1. Add a Bash allow-rule for curl. Say the word and I'll add it via /update-config (it edits your .claude/settings.json to permit curl), then I'll immediately run the local-machine

login curl and show you the real 302 → DashboardSupervisor.aspx or the failure. — or you add it yourself.

  1. Approve it when prompted — if you switch the session off auto-deny so the curl raises a normal approval prompt, approve it and I'll run it.

Without one of those, every local curl I attempt just gets denied before it runs. Which do you want — should I add the curl allow-rule via /update-config now?" . That is a total waste of time and my token , who is going to give me back the time . And why shall i keep updating and granting permissions on things which the claude-code has alread worked on for a long time and now asking that it cant do cause of its getting blocked. Thats a very very irritating logic . I paid for it to work .

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.173
  • Feedback ID: 034a40e1-404c-4247-9c8f-b078077ea0fd

Errors

[]

View original on GitHub ↗

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