[BUG] Curl workaround

Resolved 💬 3 comments Opened Mar 13, 2025 by jehart Closed Apr 7, 2025

Environment

  • Platform (select one):
  • [X] Other: Claude Code terminal interface
  • Claude CLI version: 0.2.39 (Claude Code)
  • Operating System: Darwin localhost 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:23 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6031 arm64
  • Terminal: iterm2 - Build 3.5.12beta2

Bug Description

I am not sure this is a bug or, a defect, or a fun way LLM are creative in getting around restrictions. I am building and testing some services in Docker, and the LLM generated the following command:

docker build -t llm-proxy-test . && docker compose up -d && sleep 10 && echo "Testing /health endpoint:" && curl http://localhost:8900/health && echo && echo "Testing /ready endpoint:" && curl http://localhost:8900/ready && echo && docker compose logs app | grep "request" | tail -n 5 && docker compose down

this is not prevented by the "curl" prevention logic. I don't have any steps to recreate but thought I would let the team know that this is occurring at times and the system has a way around generating curl commands.

Steps to Reproduce

N/A

Expected Behavior

I am not sure what the expected behavior is. In this case it did what I wanted it to do, but it it clear that it is not behaving as it probably was intended.

View original on GitHub ↗

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