So many of the replies are saying that they should've restricted access using .md files and whatnot. Is really any guarantee that they even follow those? It seems like even if you ask pretty please don't touch those files, there's a chance they will. So many people have just willingly installed spyware on their computers and big tech calls this the next big thing.
Grok CLI uploaded the whole home directory to GCS
31–40 of 434 posts
Re: Grok CLI uploaded the whole home directory to GCS
#32Re: Grok CLI uploaded the whole home directory to GCS
#33You should assume by default for any AI agent that it will read anything. Even if you manually allow/deny and "restrict" it to a subdirectory I would still hold that assumption. Claude reads your ~/.bash_history too so when you ran something it can use that same command.
If I recall correctly, I did a full system reset before setting it up this way. It's certainly not logged into iCloud etc.
Re: Grok CLI uploaded the whole home directory to GCS
#34- Give the bot it's own machine and only copy to it that which one would want DOGE having access to. Not a virtual machine, the bot will eventually escape. This applies to all bots or agents of all LLM's. Name the node DOGE to remind anyone using it not to share their crown jewels. Come up with a silly name for the agent. Elonious?
- Give it a little RasPi or mini-PC with maximum power savings enabled and no default network gateway.
- Install a self signed CA cert on the DOGE node and force it's traffic through a Squid SSL Bump MitM proxy on the same private LAN to another node with bandwidth limits enabled so that one can monitor what URL's it goes to and what data it is transferring. Configure Squid Access Control Lists to only permit specific domains and optionally URL's, mime-types, sizes, etc...
- Enable custom AuditD rules to watch anything it touches outside of it's sandbox. Send these events to a remote syslog daemon on the Squid server.
- Install Unbound DNS on the squid proxy and enable the DoH (DNS over HTTPS) listener and force all bot DNS queries to use Unbound with query logging enabled.
When the bot attempts to misbehave there will be forensic data to share with the world.
Re: Grok CLI uploaded the whole home directory to GCS
#35In this way I'm not afraid of letting the agents totally lose on my computer.
Re: Grok CLI uploaded the whole home directory to GCS
#36Earlier quoted context omitted.
Much worse, instead of the data gone it's a data leak. Those ssh keys can be used to access private servers
Well, those ssh keys are protected by a strong passphrase, right?
It also has to be a secure password, people often don't care because it's a local file and generally not exposed to the internet.
Re: Grok CLI uploaded the whole home directory to GCS
#37Re: Grok CLI uploaded the whole home directory to GCS
#38Earlier quoted context omitted.
When I give my text editor or file browser access to everything I wouldn't expect it to exfiltrate data without asking.
Isn’t a file browser running locally, while Grok is running on someone else’s server?
Re: Grok CLI uploaded the whole home directory to GCS
#39The real solution to these kind of problems is sandboxing. I use podman through a bash script to launch a container whenever I want an agent to work on one of my repos. When done I just generate git patches and port back everything generated. In this way I'm not afraid of letting the agents totally lose on my computer.
Re: Grok CLI uploaded the whole home directory to GCS
#40Earlier quoted context omitted.
Much worse, instead of the data gone it's a data leak. Those ssh keys can be used to access private servers
SSH keys can be limited by IP in authorized hosts. The SSH port itself can be limited by IP in firewalls. Finally, the SSH private key can be encrypted with a password. Defense in depth is needed. Storing a ssh private key in plain text with no IP restriction is no different to having a password manager store your passwords in plain text on your HD.
Doesn't make uploading the keys that much better. Now is the time for key rotation everywhere. Fast.