logoalt Hacker News

varenclast Wednesday at 3:48 AM1 replyview on HN

It's not an all or nothing permission. How I use claude code it has to ask me for permission for every CLI tool use. This seems like reasonable way to balance security with utility and would allow the agent to correct itself when it hallucinates CLI tools. Or just run it in an isolated container where it can't break anything and give it full perms.


Replies

heavyset_golast Thursday at 1:52 AM

I don't want any LLM tool prompting me to install and run software it makes up on the fly.

Typosquatting is a thing, for example, and I'm sure hallucination squatting will be, too.

I also don't want to run anything in a "sandbox", either. Containers are not sandboxes despite things like the Gemini CLI pretending they are.