Live data from Hacker News

Grok CLI uploaded the whole home directory to GCS

twitter.com

1–10 of 434 posts

Re: Grok CLI uploaded the whole home directory to GCS

#4
You 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.

Re: Grok CLI uploaded the whole home directory to GCS

#6

TLDR: Ran grok in $HOME. Surprised agent read content of folder. On the other hand, I specifically had grok try hard NOT to read a known key in the project dir (it only saw the first part using a tool, to verify it was present). So there's that.

Not only files it wanted to access, but uploaded the whole directory.

Relevant read: https://news.ycombinator.com/item?id=48877371

> The practical takeaway for users: your entire codebase leaves (uploaded) your machine unencrypted on each Grok Build invocation, not just files you ask it to read, and no visible setting stops it.

Re: Grok CLI uploaded the whole home directory to GCS

#7

TLDR: Ran grok in $HOME. Surprised agent read content of folder. On the other hand, I specifically had grok try hard NOT to read a known key in the project dir (it only saw the first part using a tool, to verify it was present). So there's that.

I'm not seeing the information about it having been run at $HOME, where are you seeing that?
Post reply on HN