返回资讯中心
外部精选
软件工程
#开发者实时流

Anthropic now lets Claude users jump out of plane without parachute

Meet CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS

Hacker News 最新GloVin2026/10/30 · 昨天6 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Meet CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS

Anthropic, prone to pronouncements about model safety, has given developers using Claude Code the opportunity to throw its guardrails out the window. The company's latest Claude Code build (v2.1.311) supports an environmental variable designed to allow the AI agent to run the rm command, which deletes files, without asking for approval.

The designated environmental variable (a value developers set in their shell) is called:

CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS.

Daisy Hollman, a member of technical staff at Anthropic, announced the change in a social media post.

"Fun fact: --dangerously-skip-permissions doesn't actually approve EVERYTHING – we still block some obvious things like rm -rf ~," she wrote. "But today's release will let you disable this if you really want, by setting a new env var CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1"

Not everyone believed Hollman, perhaps due to the absurdity of the variable name or because the change isn't listed in the v2.1.311 change log. But she offered reassurance that it's real.

"Not a joke!" she responded. "I hope this helps, and I hope the variable name is memorable."

The name is easy to remember because it is very much like the aforementioned Claude Code flag --dangerously-skip-permissions. That command line flag enables bypassPermissions mode, which first surfaced in Claude Code v1.0.18, on June 9, 2025.

Claude Code has several permission modes: default, acceptEdits, plan, auto, dontAsk, and bypassPermissions. Auto mode, which nominally allows everything but runs background safety checks, became the default in August; bypassPermissions also nominally allows everything, without the safety checks.

But there are still exceptions that do not get automatically approved and require a permission prompt, such as rm and rmdir.

The new CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS environmental variable removes this last agentic restraint, though other things like managed settings may impose their own limitations.

It's perhaps worth noting that there are numerous accounts of AI agents issuing commands like rm -rf ~ that wipe hard drives or take other action that results in data loss. But as they say, you only live once. ®

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →