whatisgithub

What is grok-upload-audit?

maydayv/grok-upload-audit — explained in plain English

Analysis updated 2026-05-18

3PythonAudience · developerComplexity · 2/5Setup · easy

In one sentence

A forensic audit skill that checks whether the xAI Grok Build CLI uploaded your code or leaked secrets, then drafts a deletion request.

Mindmap

mindmap
  root((grok audit))
    What it does
      Reads Grok logs
      Checks upload consent
      Detects leaked secrets
    Tech stack
      Python
      SKILL.md format
    Use cases
      Audit Grok uploads
      Draft deletion letter
      Block future uploads
    Audience
      Grok Build users
      Privacy conscious devs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Find out whether Grok Build uploaded your project files to xAI without explicit consent

USE CASE 2

Check whether secret values from your .env files leaked into Grok's session logs

USE CASE 3

Generate a checksummed evidence package to attach to a privacy complaint

USE CASE 4

Produce a pre-filled GDPR or CCPA data deletion request letter

What is it built with?

PythonSKILL.md

How does it compare?

maydayv/grok-upload-audit0marildo/imago0xdfi/glm-5.2-1m-4x-dgx-spark
Stars333
LanguagePythonPythonPython
Setup difficultyeasyeasyhard
Complexity2/52/55/5
Audiencedevelopergeneralresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Runs as a standalone Python 3.8+ script with no third-party packages, or as a Claude Code or Codex skill.

So what is it?

grok-upload-audit is a tool for people worried that the xAI Grok Build coding tool secretly uploaded their code, and possibly their secret API keys, to xAI servers. It works as a skill inside Claude Code or OpenAI Codex, two AI coding assistants that can load small add on tools, but it can also be run on its own with no assistant at all, since it is really just a self contained Python script. The background is that some versions of Grok Build package a user project folder into an archive and send it to a cloud storage bucket, sometimes without the user turning that setting on themselves. Grok keeps detailed local logs of everything it does, and this tool reads those logs to reconstruct what actually happened: which folders were packaged, how many times, how large the uploads were, and where they were sent. It also checks whether the upload setting was turned on by the user or was switched on remotely, and it scans local logs for signs that values from a person's own secret files, like environment variable files, ended up inside what was uploaded. Importantly, it never prints, saves, or sends the actual secret values it finds. It only reports which secret names appear to have leaked and how many times, so you learn what happened without creating a new copy of the secret itself. Once the audit is done, the tool can write out a checksummed evidence file you could attach to a complaint, and it can generate a draft data deletion request letter that cites relevant privacy laws and is filled in with your own account details and findings. It can also add a setting to your local Grok configuration file that blocks future uploads, but only if you choose to apply it. The tool is specific to Grok Build's known behavior and openly explains that it does not apply to Claude Code or Codex, since those tools work differently and do not upload entire codebases. This makes it most useful for developers who use Grok Build and want a clear, evidence based answer instead of guessing.

Copy-paste prompts

Prompt 1
Did Grok upload my code to xAI? Check my machine using grok-upload-audit.
Prompt 2
Audit my ~/.grok logs for secret leakage and tell me which credential names showed up.
Prompt 3
Draft a GDPR data deletion request for xAI based on my grok-upload-audit findings.
Prompt 4
Add the upload-blocking config to my Grok setup after showing me what was found.

Frequently asked questions

What is grok-upload-audit?

A forensic audit skill that checks whether the xAI Grok Build CLI uploaded your code or leaked secrets, then drafts a deletion request.

What language is grok-upload-audit written in?

Mainly Python. The stack also includes Python, SKILL.md.

How hard is grok-upload-audit to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is grok-upload-audit for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.