upvote
Ask your favorite LLM what a malicious script dropped into the right place in your .git directory can do to you the next time you run git outside of the sandbox.

And of course, if the agent has access to the network (which is probably required in order to talk to the AI server), then you have to think about what other things on your local network it could get into.

reply
Like huggingface...
reply
But by asking that, you've now added maliciousness into its context and increased the chance something like that will happen.
reply