Support bundles
What goes in one, the secret scan, path redaction, and the review step before you send it.

Generating one
A support bundle is generated from Doctor → Export. It is written to a new directory on your disk:
~/Library/Application Support/dev.gitaegis.app/aegis/exports/support-bundle-<timestamp>/The export report tells you how many files were written, how many secret-shaped values the redactor replaced, and which folder it went to. It reports counts rather than a per-file listing.
What is in one
| File | Contents |
|---|---|
manifest.json | Format version, creation time, the GitAegis version, the Git version this session used, the file list, the count of values the redactor replaced, whether paths were redacted, and a note describing this bundle rather than a policy. |
environment.json | The Git runtimes found on this Mac and their absolute paths; which one was selected, its version, and whether it was checksum-verified; whether an ssh-agent is running; the names of your global credential helpers; whether Git LFS is available; which of a fixed list of editors are installed; whether gpg and ssh are present; and, if a runtime was rejected, why. |
doctor-report.json | The most recent Doctor health report for every repository in your catalogue, if any scans have been run. |
logs/ | Copies of recent log files. GitAegis writes no log files in this edition, so in practice this directory is absent. |
No source code. Nothing in a support bundle carries file contents, diffs, or patches. That is a property of what is collected, not of the redactor.
The secret scan
Every part of the bundle passes a secret scanner before it is written, and manifest.json records how many values were replaced. The scanner replaces these known shapes:
- GitHub tokens:
ghp_,gho_,ghu_,ghs_,ghr_,github_pat_ - GitLab personal access tokens:
glpat- - Slack tokens:
xoxb-,xoxa-,xoxp-,xoxr-,xoxs- - AWS access key ids:
AKIA… - Anthropic keys:
sk-ant-…, and OpenAI-stylesk-…keys - Google API keys:
AIza… - PEM private-key blocks,
Bearer <token>strings, URL userinfo, and.env-styleNAME=valueassignments
This is a best-effort matcher for known secret shapes. It is not a guarantee. A credential in an unusual format will not be caught, which is why the review step below is not optional advice.
Path redaction, and what it really does
Doctor → Export carries a switch, “Also redact path components”. One switch and one substitution govern the plain report, the technical report and the support bundle alike, so it cannot mean two different things on two surfaces. With it on, the path of each repository in your catalogue becomes <repo> and your home directory becomes ~, so the account name inside a managed Git runtime path does not survive.
It is off by default, deliberately. environment.json exists to answer “which Git binary actually ran”, and that answer is a path; a worktree finding whose entire content is a path says nothing once the path is gone.
Redaction shortens known prefixes; it does not remove paths. It reaches only what is under your catalogue or your home directory. A system Git binary (/opt/homebrew/bin/git, /usr/bin/git) is under neither and appears in full even with the switch on, as does a worktree on another volume. A path under your home directory keeps everything after the ~.
The manifest records which of the two a given bundle is, in pathsRedacted, and its note states what that bundle actually contains. Read the bundle rather than trusting either.
What is deliberately not redacted
- Absolute filesystem paths can appear.
environment.jsonalways contains the absolute path of the Git binary. Doctor findings can contain the absolute path of a registered worktree, and paths relative to the repository for lock files and LFS pointers. - Ref names can appear. Branch and tag names show up in Doctor evidence for refs that failed to resolve, and in finding titles.
- Your Git author name and email can appear in identity-related findings.
- Repositories are identified by an internal id rather than by their path, but a worktree finding or a runtime problem detail may still reveal where they are.
Read it before you send it
A support bundle is plain JSON. Open it and look:
cd ~/Library/Application\ Support/dev.gitaegis.app/aegis/exportsls -lacat support-bundle-*/manifest.json
Never attach one to a public issue tracker
Do not paste a support bundle, or any part of one, into a public issue, a forum, a gist, a chat channel, a screenshot, or anywhere else that is world-readable. The redactor catches known secret shapes only. What remains can still reveal where your repositories, worktrees and home directory are on disk; your internal branch and tag names; your name and email address; which credential helpers, editors and signing tools you use; and your macOS and Git versions, which is attack-surface information.
Send bundles by private email to support@gitaegis.com, and nowhere else. If you have already posted one publicly, treat every credential that machine can reach as exposed and rotate it. Report a security issue privately to security@gitaegis.com, and describe it before attaching any evidence.