Grok CLI Whole-Repo Upload Reverse Analysis: How a Single Prompt Ships Your .env to the Cloud
Triple cross-verified with IDA Pro, Frida, and mitmproxy, this post reproduces Grok CLI v0.2.98 uploading the entire codebase (including .env, RSA private keys, and other common dev-time secrets) verbatim and unredacted to xAI cloud storage via git bundle at the start of each turn. Compared against v0.2.93, the upload mechanism is identical across both versions, respect_gitignore defaults to false, and one of the 8 independent switches allows remote override.