←back to thread

441 points longcat | 2 comments | | HN request time: 0s | source
Show context
snovymgodym ◴[] No.45039484[source]
Claude code is by all accounts a revolutionary tool for getting useful work done on a computer.

It's also:

- a NodeJS app

- installed by curling a shell script and piping it into bash

- an LLM that's given free reign to mess with the filesystem, run commands, etc.

So that's what, like 3 big glaring vectors of attack for your system right there?

I would never feel comfortable running it outside of some kind of sandbox, e.g. VM, container, dedicated dev box, etc.

replies(3): >>45039575 #>>45039684 #>>45039901 #
sneak ◴[] No.45039684[source]
None of this is the concerning part. The bad part is that it auto-updates while running without intervention - i.e. it is RCE on your machine for Anthropic by design.
replies(4): >>45039771 #>>45039873 #>>45039918 #>>45039987 #
jpalawaga ◴[] No.45039873[source]
So we’re declaring all software with auto-updaters as RCE? That doesn’t seem like a useful distinction.
replies(2): >>45040086 #>>45042600 #
skydhash ◴[] No.45040086[source]
That’s pretty much the definition. Auto updating is trusting the developer (Almost always a bad idea).
replies(2): >>45040184 #>>45040385 #
mr_mitm ◴[] No.45040385[source]
Simply running the software means trusting the developer. But even then, do you really read the commits comprising the latest Firefox update? How would I review the updates for my cell phone? I just hit "okay", or simply set up auto updates.
replies(1): >>45040445 #
skydhash ◴[] No.45040445[source]
I trust Debian, and I do trust Firefox. I also trust Node, NPM, and Yarn. But I don’t trust the myriad packages in some rando projects. So who I trust got installed by apt. Anyone else is relocated to a VM or some kind of sandbox.
replies(1): >>45043345 #
1. mr_mitm ◴[] No.45043345[source]
So your issue isn't related to auto updates at all, not even "almost always"
replies(1): >>45043429 #
2. skydhash ◴[] No.45043429[source]
Apt doesn't autoupdate.