Scanner deep dive
GitHub (experimental CLI)
Run an experimental GitHub scan. Must specify at least one experimental sub-module to run: object-discovery.
Use cases and coverage
Scanning use cases
Review repository objects during an internal audit
Use the experimental GitHub command on a repository you administer. Select its object-discovery submodule and the approved repository in the CLI configuration.
Check a repository before an ownership transfer
Include an experimental object review alongside the regular repository scan if your transfer requires it. Confirm scope with the repository owner and record which mode produced each finding.
Related researchWorking API keys persisted after GitHub forks were deleted · Exposure location
July 2024 · Exposure location
Working API keys persisted after GitHub forks were deleted
Truffle Security reported finding 40 valid API keys in deleted forks associated with three public repositories it studied. The result describes that sample.
How this relates to GitHub (experimental CLI)
For an exposure in your own repository network, record which historical copies were reviewed and rotate the affected key. The research shows why deleting a fork alone does not establish that a key is safe.
Review GitHub (experimental CLI) scan scopeTruffle Security study · How often can we find data from deleted forks?
Source check
Atlas AI-assisted source check · 2026-11-22. The publisher describes the event or study. The Atlas explains its relevance to this connector. Detection depends on the scan scope and detectors in use.
Limits
See the pinned CLI guide below for documented scope.
What TruffleHog documents
- Open-source CLI
The project README lists a separate experimental command. It requires a repository and an experimental submodule, so scope this review to a specific repository you administer.
Read the pinned README passage
Sources checked .
CLI setup
Set it up
The open-source CLI is read from the public TruffleHog code at a pinned commit; it’s a separate product from Enterprise.
Check the options in your installed version with trufflehog github-experimental --help.
- 1Use a repository your team controls and confirm that this experimental connector is the intended setup.
- 2Review the installed command’s required repository input and module options with --help. Keep a routine repository-scanning rollout on the standard GitHub path.
Suggested contact (Atlas suggestion) · Owner of the test repository and security evaluation lead
Suggested first check (Atlas suggestion) · Confirm the installed version and selected repository before evaluating the experimental path.
Setup reference checked 2026-11-22 · github-experimental command declaration
Run an experimental GitHub scan. Must specify at least one experimental sub-module to run: object-discovery. pkg/sources/github_experimental · main.go line 145
Open-source TruffleHog, read from the public code at commit ffdee00 (v3.99.9-6-gffdee00a). Newer releases may differ.
| Flag | What it does | Type |
|---|---|---|
| --repoRequired | GitHub repository to scan. Example: https://github.com/<user>/<repo>.git | string |
| --object-discovery | Discover hidden data objects in GitHub repositories. | bool |
| --token | GitHub token. Can be provided with environment variable GITHUB_TOKEN. | string |
| --collision-threshold | Threshold for short-sha collisions in object-discovery submodule. Default is 1.Default 1. | int |
| --delete-cached-data | Delete cached data after object-discovery secret scanning. | bool |
If GitHub (experimental CLI) keys leak
The credentials you give this connector are secrets too. These detectors find GitHub (experimental CLI) keys anywhere TruffleHog scans, not only inside GitHub (experimental CLI).
Sources and related tools
Evidence
Docs scraped 2026-11-17. Each docs page was fetched with Firecrawl twice (an overview pass and a detail pass for capabilities, options, permissions and notes) and read by an extraction prompt. Descriptions are short paraphrases. Open-source CLI facts are parsed from main.go at the pinned TruffleHog commit. Not reviewed by a person. Pinned commit ffdee00. Check the source before quoting a detail, or review this connector so the badge says so. Truffle’s integrations page doesn’t list this connector, so the Atlas picked its category.
- Open-source packagepkg/sources/github_experimental