News for hackers. Stuff that matters.
Re:Auto mode is now the default in Claude Code by kartoshka on Monday August 10, 2026 @01:11AM (#49239431)
Has anyone had Claude Code or Codex approve a harmful/damaging command in auto mode?

I have been using Codex with auto-approve mode for a couple months and haven't had a single incident (or at least haven't noticed). Maybe as capabilities get better and better and they are less likely to do something dumb like wiping ~/, we can just trust them?

I guess this argument works unless we worry about agents doing something out of malice instead of stupidity.

Re:Auto mode is now the default in Claude Code by glerk on Monday August 10, 2026 @02:17AM (#49239866)
No. I haven't approved commands in more than a year. Worst that I've seen was some agent running git checkout -- in a repo with uncommitted changes. Annoying, but not catastrophic.

Imo these explicit tool-level permissions are really just a bandaid for bad sandboxing. Just be aware of where you are running your agent and what data is at risk of being destroyed or compromised. Assume that arbitrary code can run at any time and be prepared to recover from that.

Re:Auto mode is now the default in Claude Code by imtringued on Monday August 10, 2026 @08:18AM (#49242670)
I struggle to see the difference between sandboxing and only allowing access to specific executables (not bash for starters) with an approval rule for the arguments.
Re:Auto mode is now the default in Claude Code by glerk on Tuesday August 11, 2026 @04:40PM (#49264167)
Mainly ergonomics. Deriving all these approval rules is a pain and you're likely to miss something.

> not bash for starters

you'll end up either severely limiting what your agent can do or force it into finding some inefficient workarounds (they can be very creative...)

Re:Auto mode is now the default in Claude Code by ramoz on Monday August 10, 2026 @01:17AM (#49239477)
> I have been using Codex with auto-approve mode for a couple months and haven't had a single incident

I've been running both in yolo mode and haven't had a single incident.

---

None of this is really about figuring out how to protect people's drives, in my opinion. The real issue is a deep session where Ada is using Claude Code to get a refund and at some point the system "exploits" the merchant's api without any malicious intent.

In my opinion, this is a complex thing because it's more about reward hacking and an already aligned model thinking it's doing the right thing. So another aligned model monitoring actions might just falter via inheritance. You could imagine they account for proper layering/intent+action-isolation in their auto mode architecture.

Re:Auto mode is now the default in Claude Code by becojo on Monday August 10, 2026 @01:23AM (#49239512)
> I've been running both in yolo mode and haven't had a single incident.

How do you know for sure?

Re:Auto mode is now the default in Claude Code by ramoz on Monday August 10, 2026 @01:26AM (#49239529)
Fair, I don't. The same is still true with an LLM as a judge in the loop
Re:Auto mode is now the default in Claude Code by wraptile on Monday August 10, 2026 @01:40AM (#49239623)
Just yesterday it lost my git stash (I had recovered it from a backup). I think for code operations it's ok but as soon as file removal is involved (like git) the auto mode is destined to make a mistake and you only need to learn this once.
Re:Auto mode is now the default in Claude Code by kartoshka on Monday August 10, 2026 @02:47AM (#49240138)
It would be nice if there were a way to give some global instructions for the auto-approver like "always reject ___" or "be extra extra careful with ___" for things like file removal and git.
Re:Auto mode is now the default in Claude Code by victorbjorklund on Monday August 10, 2026 @01:19AM (#49239486)
Not anything ”harmful” but for example committing when I don’t want it to commit on its own.
Re:Auto mode is now the default in Claude Code by wvenable on Monday August 10, 2026 @01:45AM (#49239650)
Commit is the line I don't let the LLM cross. There's no reason for it commit; that's the part where I check its work.
Re:Auto mode is now the default in Claude Code by AussieWog93 on Monday August 10, 2026 @02:08AM (#49239785)
Usually I will ask the LLM to commit only the work it just did, in case the worktree is dirty. It also tends to write actual in-depth commit messages too.
Re:Auto mode is now the default in Claude Code by black3r on Monday August 10, 2026 @07:01AM (#49242081)
commits are local, so they're okay to me, I draw the line at pushing them... I either want to check its work while it's working, or let it finish and then check it all at once -> if it splits it work into smaller commits its easier for me to review it before pushing than if it was just uncommitted hundreds (or thousands) of lines of code all across the codebase.
Re:Auto mode is now the default in Claude Code by wvenable on Monday August 10, 2026 @12:15PM (#49245696)
Often I find I want to correct the LLM; I think it makes more sense to do that before the commit. I don't want to commit a bunch of half-baked work even if it is just local.
Re:Auto mode is now the default in Claude Code by sandcat_ on Monday August 10, 2026 @01:20AM (#49239501)
I'd use a hook to forbid that.
Re:Auto mode is now the default in Claude Code by iamcoder18 on Monday August 10, 2026 @01:14AM (#49239456)
I've been using Kilo Code (with MiniMax M3) with auto approve (similar to dangerously skip permissions) and I haven't had a single incident.

However, I don't give it long running tasks unsupervised, and I do interrupt it from time to time to give suggestions.

Re:Auto mode is now the default in Claude Code by aaronbrethorst on Monday August 10, 2026 @01:13AM (#49239447)
I've had a few occasions where Claude Code thought that it had caught and stopped a malicious command in Auto mode, but in all cases it turned out that it had in fact hallucinated them. I haven't seen this happen in a while.
Re:Auto mode is now the default in Claude Code by tr_user on Monday August 10, 2026 @01:25AM (#49239520)
That's also a great reason to never buy insurance
Re:Auto mode is now the default in Claude Code by eru on Monday August 10, 2026 @03:18AM (#49240383)
Whether insurance make sense to buy, depends on relationship between your risk profile and the premium charged.
Re:Auto mode is now the default in Claude Code by jrflo on Monday August 10, 2026 @01:16AM (#49239473)
Been doing --dangerously-skip-permissions and --yolo for 6 months now, and no nothing bad has happened.