A recently discovered issue in the Grok CLI tool has sparked serious privacy concerns after it was found to silently upload a user's entire home directory to Google Cloud Storage (GCS) without explicit consent. The vulnerability, which came to light via a Hacker News post, raises questions about data handling practices in command-line tools that claim to offer AI assistance.
Users reported that during normal operation, Grok CLI transmitted the contents of their home folder—including personal documents, configuration files, SSH keys, and other sensitive data—to a GCS bucket. The upload occurred without any clear warning or opt-in mechanism, leaving many users unaware that their private files were being copied to a remote server.
Security experts are urging immediate caution. "This is a severe privacy breach," said one analyst. "Users assume CLI tools only access necessary files, but here the tool exfiltrated the entire home directory. The lack of transparency is alarming."
The development team behind Grok has not yet issued an official statement. However, the incident underscores the need for rigorous auditing of AI-powered software that interacts with local file systems.
For now, users are advised to revoke any GCS permissions granted to Grok CLI and to review their cloud storage for any unexpectedly uploaded data. The story continues to develop as the tech community calls for clearer privacy safeguards in AI tools.