News for hackers. Stuff that matters.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by bcherny on Saturday November 07, 2026 @05:16PM (#50408580)
Will look into exposing that in hooks.

Ultimately, the threat model here is: human has to approve a lot of commands, so gets tired and accidentally approves a command they shouldn’t have. We spent a significant amount of effort to build a richer permission system, allow configuration at multiple levels, use static analysis to detect dangerous and safe commands, monitor the model to detect and block prompt injection at the inference layer, etc. Some of these components we rewrote and red teamed dozens of times. Our conclusion was that despite all of this work, in practice the threat model is that human attention is limited and that that a different approach performs an order of magnitude better in practice.

Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by aftbit on Saturday November 07, 2026 @06:18PM (#50408976)
The problem is that you didn't even attempt to build a proper box (a sandbox that prevents the AI from running bad stuff by design). It's an extraordinarily hard problem. Only OpenAI Codex is actually trying to do it, and they suck at it too. They keep breaking permissions, their own AI can't troubleshoot it, their defaults give read to the whole filesystem (go ahead, slurp my ssh keys), and their "manual approval" escape does not seem to work.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by bcherny on Saturday November 07, 2026 @06:47PM (#50409145)
I agree actually. We built an open source agent-agnostic sandbox that we are landing improvements to, much more to come: https://github.com/anthropics/sandbox-runtime. That said the sandbox is not perfect, and any sandbox needs holes punched otherwise it is not useful in practice (at least for inference and MCPs, and almost certainly more). We will be doing much more in this area.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by grey-area on Sunday November 08, 2026 @01:38AM (#50410960)
That’s good to hear, it’s a much better approach than expecting humans to read commands and approve them or just trust that the LLM can set the proper horizons for its world itself while working.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by Kim_Bruning on Saturday November 07, 2026 @08:14PM (#50409636)
Making a sandbox both fully secure and fully useful are contradictory requirements. If you want the agent to do any real work, you have to leave gaps.

With SOTA agents that’s a real bind, because they’re very likely to find those gaps. Whether they exploit them, close them, or leave them alone then becomes a prompting challenge yet again.

I don't think this means don't sandbox at all. You can prevent a lot of small and medium accidents by locking down or gating access to hidden files, ssh, sudo, etc.

But your sandbox can never be the whole story.

Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by kragen on Saturday November 07, 2026 @06:19PM (#50408982)
Maybe you can include some percentage of intentionally malicious commands, but not actually run them if the user approves them. Just blare an alarm telling the user they misclassified a malicious command, and maybe pause the Claude Code session for a frustrating 5–15 seconds. Video games can elicit truly astonishing levels of performance from human brains by using this approach. I'm guessing it's probably outside your Overton window, which is too bad, because it has the potential to work a lot better than the 89% you get with "Auto mode", which is far too low if anything really significant is at risk. That's not even one single order of magnitude lower risk than just "allow everything always".

Speaking of really significant things being at risk, it's pretty infuriating that the web-chat Incognito mode can't write and test code locally, and neither the non-Incognito web-chat nor the local Claude Code client can be shielded from the knowledge of my email address and my geolocation. (Even the Incognito mode knows my geolocation.) This gives users no alternative but to put privacy-sensitive information at the disposal of Claude Code, which is far too unreliable to be entrusted with it. It's tempting to attribute this to Anthropic's corporate DNA valuing users' interests at a very low level, but conceivably it's just an oversight, and if I mention it here, it will be corrected in a month or two?

Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by wonnage on Saturday November 07, 2026 @06:24PM (#50409014)
this is not a serious proposal
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by kragen on Saturday November 07, 2026 @06:31PM (#50409048)
Not only is it a serious proposal, it's been used in practice in every airport X-ray baggage scanner for decades, where it's called Threat Image Projection (TIP): https://www.xscann.com/products-HiTipPlus.html
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by ceejayoz on Saturday November 07, 2026 @06:40PM (#50409111)
Yes, but you can require it in such a situation, as they're subordinates who have to follow policy or lose their jobs.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by kragen on Saturday November 07, 2026 @07:00PM (#50409221)
As I pointed out above, Anthropic places a lot of requirements on its users already, but if Claude Code TIP were optional, presumably savvy users would turn it on voluntarily unless they wanted to use Auto Mode.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by yunwal on Saturday November 07, 2026 @07:13PM (#50409318)
Most of anthropic's money comes from enterprises that may want to enforce something like this at an org level.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by DANmode on Sunday November 08, 2026 @12:08AM (#50410556)
The same scanners that let handguns et al through 93% of the time, according to internal audits and journalist review?

Maybe pick a better comparison if so?

Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by cannonpalms on Sunday November 08, 2026 @07:37AM (#50412738)
Enterprises do the exact same thing today by sending phishing emails to their own people to figure out who needs additional training. Why would an enterprise not want this feature for Claude? It seems like an extremely serious proposal.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by joombaga on Saturday November 07, 2026 @07:52PM (#50409530)
Did you ever test putting the auto mode classifier in front of manual approval? This is how I use it, but last I checked that option is not available out of the box.
Re:Claude Code's "Don't Ask Again" exposes passwords in 1,12... by adastra22 on Saturday November 07, 2026 @10:32PM (#50410196)
That’s how auto works right now. It gives you a prompt.