Skip to content
Connectors

Scanner deep dive

GitHub (experimental CLI)

SourceOpen source only · Runs wherever the CLI runs

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

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 scope

Truffle 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.

  1. Use a repository your team controls and confirm that this experimental connector is the intended setup.
  2. Review 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

$ trufflehog github-experimental --repo=<repo>

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.

trufflehog github-experimental flags
FlagWhat it doesType
--repoRequiredGitHub repository to scan. Example: https://github.com/<user>/<repo>.gitstring
--object-discoveryDiscover hidden data objects in GitHub repositories.bool
--tokenGitHub token. Can be provided with environment variable GITHUB_TOKEN.string
--collision-thresholdThreshold for short-sha collisions in object-discovery submodule. Default is 1.Default 1.int
--delete-cached-dataDelete 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

OSS codeScraped, not reviewedVersion control systems (Atlas grouping)

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.

Parent connector · GitHub