by joshheitzman · 1mo ago · 0 comments
That's pretty hand wavy. What did y'all have CC doing that it had your GitHub CLI OAuth token in its context at all?
Stuff like this is why my coding agent is a coding agent not shell agent that basically own the machine. Mine has no tool for shell use narrow tools specific things like ripgrep, finding files, and deleting files that limit the paths to explicit workspace directory.
I take care of commits, push/pull, building wheels, and publishing wheels myself. It really doesn't take the much time and the coding agent frees up a lot of my time.
I too was surprised when I see my colleagues telling me that these actions are "not maximizing your efficiency".
They'd rather hand all controls to the LLM, and then be surprised when shit hits the fan.
Ripgrep has the `--pre` flag and `--hostname-bin` flag that enables it to execute arbitrary commands.
> finding files, [...]
Does that tool invoke the `find` command? Because `find` has the `-exec` flag which could then be used to invoke arbitrary commands.
I really think the only safe option is putting your agent in a virtual machine with only a copy of your code (sans credentials), let the agent work, and then copy it back and manually audit it.