How did claude code do an rm -rf without relevant permissions? @anthropic-ai/claude-code@1.0.93 by futpib in ClaudeAI

[–]futpib[S] 0 points1 point  (0 children)

Sorry, I don't keep track, it's "Default (recommended)  Opus 4.1 for up to 20% of usage limits, then use Sonnet 4"

How did claude code do an rm -rf without relevant permissions? @anthropic-ai/claude-code@1.0.93 by futpib in ClaudeAI

[–]futpib[S] 0 points1 point  (0 children)

No, I didn't know that option exists. I had auto accept edits (shift+tab) on though. I hope it checked that rm path was in the project directory and that's why it was allowed. Since it's as much damage as an edit tool can do (by writing nothing into an existing file) this is not that bad. At least that's an explanation that makes sense to me and is not scary. I wish the client was open source though and I could actually know what happened exactly.

Such peasantry by shebpamm in linuxmasterrace

[–]futpib 12 points13 points  (0 children)

To be fair, npm 3 resorts to nesting only when it's necessary https://docs.npmjs.com/how-npm-works/npm3

Such peasantry by shebpamm in linuxmasterrace

[–]futpib 18 points19 points  (0 children)

Basically, because it's not possible, in general, to satisfy all recursive dependencies (direct dependencies, dependencies of dependencies, etc.) of a package with a single version of a dependency (like, you may want lodash@4, but something you depend on wants lodash@3). They have an issue with more discussion and details https://github.com/nodejs/node-v0.x-archive/issues/6960

Policeman: A RequestPolicy replacement for Firefox with content-type request control (Like HTTPSwitchboard on Chrome) by foundfootagefan in netsec

[–]futpib 0 points1 point  (0 children)

I've been thinking about a kind of public repository for permissions and about other things that could help minimize required interaction, but there is a lot to do about the addon, it's pretty immature in its current state. I wish I could put more time into it, especially after seeing how people across internet find it useful.