|
| ▲ | threecheese 5 days ago | parent | next [-] |
| It depends on what you are using it for; I use CC for producing code that’s run elsewhere, but have also found it’s useful for producing code and commands behind day to day sysadmin/maintenance tasks. I don’t actually allow it to YOLO in this case (I have a few brain cells left), but the fact that it’s excellent at using bash suggests there are some terminal-based computer use tasks it could be useful for, or some set of useful tasks that might be considered harmful on your laptop but much less so in a virtual machine or container. |
|
| ▲ | cma 4 days ago | parent | prev | next [-] |
| If you are only glancing over it and not doing a detailed review I think you could get hit with a prompt injection in the way I mentioned, with it writing something into the code that then when you run tests or the app ends up doing the action, which could be spinning up another claude code instance with approval off or turning off safety hooks etc. |
| |
| ▲ | darepublic 4 days ago | parent [-] | | The prompt injection would come from where? If I am chatting with the llm and directly copy paste where is the injection. It would have to ge a malicious llm response but that is much much less likely than when you scrape third party sites or documents | | |
| ▲ | cma 3 days ago | parent [-] | | The prompt injection would come when Claude code searches the web. What it then slips in the code would get there when you approve the edit without carefully looking at it, it can be in one line that fetches a payload somewhere else. The execution would come when you run the program you are building or its unit tests or even when you do a build if it is slipped into a make file. |
|
|
|
| ▲ | ec109685 5 days ago | parent | prev | next [-] |
| It still keeps you in the loop, but doesn’t ask to run shell commands, etc. |
| |
| ▲ | jameshart 2 days ago | parent [-] | | That seems like a bad default. VSCode’s agent mode requires approval for shell commands every time by default, with a whitelisting capability (which is itself risky, because hiding shell commands in args to an executable is quite doable). Are people running agents under their own user identity without supervising the commands they run? | | |
| ▲ | cma 2 days ago | parent [-] | | The default is ask for approval with option to whitelist certain commands. |
|
|
|
| ▲ | szundi 4 days ago | parent | prev [-] |
| [dead] |