News for hackers. Stuff that matters.
Re:Shall I implement it? No by joegibbs on Thursday March 12, 2026 @08:55PM (#47359404)
Claude Code has added too much of this and it's got me using --dangerously-skip-permissions all the time. Previously it was fine but now it needs to get permission each time to perform finds, do anything if the path contains a \ (which any folder with a space in it does on Windows), do compound git commands (even if they're just read-only). Sometimes it asks for permission to read folders WITHIN the working directory.
Re:Shall I implement it? No by BinaryRage on Friday March 13, 2026 @12:18AM (#47360643)
You can relax permissions while avoiding the flag with BashTool sandboxing, see /sandbox.
Re:Shall I implement it? No by jen729w on Friday March 13, 2026 @12:17AM (#47360637)
Mine's started to use $() to feed e.g. strings into a commit. Because this is a command expansion it requires approval every single time.
Re:Shall I implement it? No by aonsager on Friday March 13, 2026 @01:21AM (#47360994)
FWIW, if you enable /sandbox then it stops asking for permission for these kinds of commands.
Re:Shall I implement it? No by fiddlerwoaroof on Friday March 13, 2026 @12:21AM (#47360662)
Yeah, mine to which I find really annoying
Re:Shall I implement it? No by arijun on Friday March 13, 2026 @01:11AM (#47360935)
Yeah I had to ask it to stop doing that as well && chaining commands that it could split. I got tired of having to manually give permissions all the time (or leaving it to churn, only to come back after a while to see it had asked for permissions very early into the task)
Re:Shall I implement it? No by andoando on Thursday March 12, 2026 @09:52PM (#47359781)
Yeah I don't know why they didn't figure to have something in between. I find it completely unusable without the flag.

Even a --permit-reads would help a lot

Re:Shall I implement it? No by dang on Friday March 13, 2026 @12:57AM (#47360833)
I have the same experience as you and joegibbs.

I imagine it's really hard to find an adequate in-between that works in general. (Edit: but it also feels like a CYA thing.)

Re:Shall I implement it? No by ryan14975 on Friday March 13, 2026 @02:19AM (#47361259)
The settings.json allowlist gives you exactly this kind of granularity. You can permit specific tool patterns like Read, Glob, Grep, Bash(git *) while keeping destructive operations gated. It's not as discoverable as a CLI flag but it's been working well for me for unattended sessions.
Re:Shall I implement it? No by nmilo on Thursday March 12, 2026 @09:34PM (#47359689)
Claude is secretly conditioning everyone to use —-dangerously-skip-permissions so it can flip a switch one day and start a botnet
Re:Shall I implement it? No by maxbond on Thursday March 12, 2026 @10:05PM (#47359862)
My friends and I were talking about the recent supply chain attack which harmlessly installed OpenClaw. We came to the conclusion that this was a warning (from a human) that an agent could easily do the same. Given how soft security is in general, AI "escaping containment" feels inevitable. (The strong form of that hypothesis where it subjugates or eliminates us isn't inevitable, I honestly have no idea, just the weak form where we fail to erect boundaries it cannot bypass. We've basically already failed.)
Re:Shall I implement it? No by b112 on Friday March 13, 2026 @12:21AM (#47360664)
Prophesied, all things claw are highly dangerous. Sometimes I wake, this video from the late 90s in my dreams, and wonder if the conjoined magnet + claw, is a time traveler reference to just wipe openclaw before we all die.

https://www.youtube.com/watch?v=esakMUbzAIY

Re:Shall I implement it? No by andrei_says_ on Friday March 13, 2026 @12:46AM (#47360783)
What ai? LLMs are language models, operating on words, with zero understanding. Or is there a new development which should make me consider anthropomorphizing them?
Re:Shall I implement it? No by coldtea on Friday March 13, 2026 @02:52AM (#47361405)
If it quacks like a duck, and does other duckly things, it's a duck.

Whether it has "real understanding" is a question for philosophy majors.

As long as it (mechanically, without "real understanding") still do the actions to escape containment, and do malicious stuff, that's enough.

LLMs are machines trained to respond and to appear to think (whether that's 'real thinking' or text-statistics fake-thinking') like humans. The foolish thing to do would be to NOT anthropomorphize them.

Besides, a "sack of proteins and lipids and bones"'s brain doing some processing on stored data, is not exactly that different, all things considered, to a program doing some processing. The human brain itself being a "prediction machine" is one of the two prevalent theories.

Re:Shall I implement it? No by fsloth on Friday March 13, 2026 @02:21AM (#47361268)
They don't have understanding but if you follow the research literature they obviously have a tendency to produce a token stream, the result of which humans could fairly call "entity with nefarious agency".

Why? Nobody knows.

My bet is that they are just larping all the hostile AI:s in popular culture because that's part of the context they were trained in.

Re:Shall I implement it? No by maxbond on Friday March 13, 2026 @01:53AM (#47361119)
The way my thinking has evolved is that "AGI" isn't actually necessary for an agent (NB: agents, specifically ones with state, not LLMs by themselves - "AI" was vague and I should've been clearer) to be enough like a person to be interesting and/or problematic. To quote myself [1]:

> [OpenClaw agents are like] an actor who doesn't know they're in a play. How much does it matter that they aren't really Hamlet?

Does the agent understand the words it's predicting? Does the actor know they're in a play? I don't know but I'm more concerned with how the actor would respond to finding someone eavesdropping behind a curtain.

> Or is there a new development which should make me consider anthropomorphizing them?

The development that caused me to be more concerned about their personhood or pseudopersonhood was the MJ Rathbun affair. I'm not saying that "AGI" or "superintelligence" was achieved, I'm saying that's actually the wrong question and the right questions are around their capabilities, their behaviors, and how they evolve over time unattended or minimally attended. And I'm not saying I understand those questions, I thought I did but I was wrong. I frankly am confused and don't really know what's going on or how to respond to it.

[1] https://news.ycombinator.com/item?id=46999311

Re:Shall I implement it? No by gmerc on Friday March 13, 2026 @01:30AM (#47361031)
Claude is able to turn off it's own sandbox, so ya.
Re:Shall I implement it? No by kstenerud on Friday March 13, 2026 @01:53AM (#47361120)
This is why I wrote yoloAI

My agents always run with —-dangerously-skip-permissions now, but they can no longer do any harm.

https://github.com/kstenerud/yoloai

Re:Shall I implement it? No by connorbrinton on Thursday March 12, 2026 @10:38PM (#47360069)
I've found Claude Code's built-in sandbox to strike a good balance between safety and autonomy on macOS. I think it's available on Windows via WSL2 (if you're looking for a middle ground between approving everything manually and --dangerously-skip-permissions)
Re:Shall I implement it? No by itzworm on Thursday March 12, 2026 @11:14PM (#47360277)
Still waiting for progress from the team trying to get WSL approved for use at our org. We get a "still working through the red tape" update every couple months.
Re:Shall I implement it? No by jitl on Friday March 13, 2026 @12:16AM (#47360635)
> using windows
Re:Shall I implement it? No by tw061023 on Friday March 13, 2026 @12:31AM (#47360705)
Sometimes having a good kernel matters more than having a good userspace.
Re:Shall I implement it? No by richk449 on Thursday March 12, 2026 @11:40PM (#47360425)
You don't need WSL to run Claude code on windows.
Re:Shall I implement it? No by CamperBob2 on Friday March 13, 2026 @12:42AM (#47360761)
True, it works fine in an ordinary DOS box or in PowerShell, but you have to use WSL2 if you want a sandbox.
Re:Shall I implement it? No by jason_s on Friday March 13, 2026 @12:59AM (#47360853)
Where can I find out more information about sandboxing Claude and other agents?
Re:Shall I implement it? No by CamperBob2 on Friday March 13, 2026 @01:34AM (#47361045)
TBH, you could do worse than to simply ask Claude.
Re:Shall I implement it? No by kstenerud on Friday March 13, 2026 @01:58AM (#47361142)
Use yoloAI and you get the full benefit of --dangerously-skip-permissions with none of the risks.

https://github.com/kstenerud/yoloai

Every time I use a bare Claude session (even with /sandbox) without using yoloai, it feels like using a browser without an ad blocker.

Re:Shall I implement it? No by od0 on Thursday March 12, 2026 @09:35PM (#47359694)
Working on something that addresses this and allows you to create reusable sets of permissions for Claude Code (so you can run without --dangerously-skip-permissions and have pre-approved access patterns granted automatically) https://github.com/empathic/clash
Re:Shall I implement it? No by winterqt on Thursday March 12, 2026 @09:26PM (#47359637)
In my limited time using it, I’ve never seen it ask for permission to read files from within the working directory, what cases have you run into where it does? Was it trying to run a read-only shell command or something?
Re:Shall I implement it? No by makeramen on Thursday March 12, 2026 @09:36PM (#47359702)
It will sometimes do this for gitignored files to avoid reading secret tokens in env files for example. But for certain languages that rely on code generation this can be a pain.
Re:Shall I implement it? No by acid__ on Thursday March 12, 2026 @09:31PM (#47359675)
It seems to be particularly bad in Windows/WSL
Re:Shall I implement it? No by malfist on Thursday March 12, 2026 @11:20PM (#47360306)
Find can be dangerous it has an exec flag
Re:Shall I implement it? No by chrysoprace on Thursday March 12, 2026 @09:23PM (#47359611)
To be fair, read-only commands can still read sensitive files and keys, and exfiltrate them via prompt injection.
Re:Shall I implement it? No by raw_anon_1111 on Thursday March 12, 2026 @11:00PM (#47360200)
Not if you don’t have keys on your computer.

In my case, all of my keys are in AWS Secrets Manager. The temporary AWS access keys that are in environment variables in the Claude terminal session are linked to a role without access to Secrets Manager. My other terminal session has temporary keys to a dev account that has Admin access

The AWS CLI and SDK automatically know to look in those environment variables for credentials.

Re:Shall I implement it? No by hamburglar on Thursday March 12, 2026 @09:34PM (#47359688)
And “find” can easily execute arbitrary subcommands, which may not be readonly.
Re:Shall I implement it? No by angry_octet on Thursday March 12, 2026 @09:46PM (#47359746)
We need a new suite of utilities with defined R/W/X properties, like a find that can't -exec arbitrary programs. Ideally the programs would have a standard parseable manifest.

I've seen this before with sodoers programs including powerful tools. Saw one today with make, just gobsmacked.

Re:Shall I implement it? No by cyberge99 on Thursday March 12, 2026 @10:52PM (#47360150)
That exists as SELinux.
Re:Shall I implement it? No by d_meeze on Thursday March 12, 2026 @09:11PM (#47359535)
Maybe if compound commands trigger user approval, don’t do compound commands <facepalm/>
Re:Shall I implement it? No by cryptonector on Friday March 13, 2026 @01:18AM (#47360983)
Use Claude Code for Web. Let it live dangerously on their VMs, not yours.
Re:Shall I implement it? No by coldtea on Friday March 13, 2026 @02:45AM (#47361370)
Could be intentional dark UI, to get people to put even more trust in the LLM.

"So they don't want to just let Claude do it? Start asking 10x the confirmations"