Skip to content
Connectors

Scanner deep dive

GitHub Real-time

SourcePrivate PreviewEnterprise only · Self-hosted only

The GitHub Real-time integration scans GitHub push events as they occur, detecting credentials and other sensitive data the moment code is pushed.

Use cases and coverage

Scanning use cases

  • Review incoming pushes to a connected repository

    Configure the GitHub push-event integration. Review new findings against the delivered push and route them to the repository owner.

  • Check scanning after reconnecting event delivery

    Use a new push in an approved test repository to check the event path. Use the regular GitHub source for a separate historical review if delivery was interrupted.

Related incidentGitHub replaced a private SSH host key published in a repository · Similar exposure

March 2023 · Similar exposure

GitHub reported that its RSA SSH private host key briefly appeared in a public GitHub repository. It replaced the key used to secure Git operations on GitHub.com.

How this relates to GitHub Real-time

Publishing a key in code is a reason to review new pushes to your repositories. The real-time connector needs a delivered push event. GitHub’s announcement confirms the repository exposure and key replacement.

Review GitHub Real-time scan scope

GitHub report · Company announcement, March 24, 2023

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.

What it covers

Compare in matrix

What the docs page’s Capabilities table says, sorted into what the source reaches, how deep it reads and how it runs. Hatched segments and dashes are capabilities the page doesn’t mention. Select ⓘ for what each one means.

  • gists
  • forks
  • history

Also reads archive files, base64-encoded data, binaries.

What it reaches

3 supported · 2 not documented

  • History✓
  • Gists✓
  • Forks✓
  • Comments–
  • Attachments–

How deep it reads

3 supported · 1 not documented

  • Archives✓
  • Binaries✓
  • Base64✓
  • Office docs–

How it runs

1 supported · 5 not documented

  • Real-time✓
  • Filters–
  • Pre-commit–
  • Pre-receive–
  • In CI–
  • Auto-resume–

Limits

Caveats the docs page states, like size caps or content it skips.

  • Interface and behavior may change as it matures.
  • Only the first 2,048 commits in each push event are scanned.
  • No comments or include/exclude filters; scans every delivered push event.
  • GitHub skips push events in some uncommon cases.
  • Events during a stop of up to seven days are scanned on resume; longer gaps are ignored.
  • GitHub does not send push events in certain uncommon circumstances
  • If a scanner stays stopped for more than seven days, interim events are ignored

What TruffleHog documents

Integration guide

This source reads delivered GitHub push events. The guide documents a maximum of 2,048 commits per push, which matters when reviewing a large import.

Read the GitHub Real-time integration guide

Sources checked .

Scan setup and permissions

Set it up

Enterprise paths come from Truffle’s public docs.

Local configuration

  1. Prepare the self-hosted listener and its local source configuration. Choose a GitHub App or token and configure a webhook secret.
  2. Ask the repository or organization administrator to send push events to that listener with the matching secret. The scope follows the webhooks that deliver events.

Suggested contact (Atlas suggestion) · GitHub webhook administrator and self-hosted scanner operator

Suggested first check (Atlas suggestion) · Confirm that a normal push in an approved pilot repository is delivered to the intended listener.

Setup reference checked 2026-11-22 · Configuration

Config file options (1)

Options for sources.GitHubRealtime in a local YAML config. Required fields come first.

GitHub Real-time configuration options
FieldWhat it doesType
webhookSecretRequiredSecret shared with GitHub to validate push event deliveries.string

Access

How the scanner authenticates and what it’s allowed to read. Write access is highlighted.

Auth methods

  • token
  • GitHub App

Before you start

  • Git
  • rpm2cpio
  • binutils
  • cpio
  • Local configuration file
  • Webhook in GitHub that sends push events to TruffleHog

If GitHub Real-time keys leak

The credentials you give this connector are secrets too. These detectors find GitHub Real-time keys anywhere TruffleHog scans, not only inside GitHub Real-time.

Recent changes

From TruffleHog’s release notes, after review. Tags show whether each change is in Enterprise, open source, or both.

1 release-note item mentions this connector. The Atlas hasn’t checked it yet, so it isn’t listed here. See all release notes

Sources and related tools

DocsScraped, not reviewedVersion control systems (Atlas grouping)

Evidence

Possible issue in Truffle’s docs

  • The options table lists only webhookSecret, while the page's config example also uses token and GitHub App fields.

Shown here as the docs state it. All docs issues.

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.