Skip to content
Connectors

Scanner deep dive

CircleCI

SourceGAOpen source + Enterprise · Hosted or self-hosted

The CircleCI integration scans CircleCI build logs for credentials and other sensitive data.

Use cases and coverage

Scanning use cases

  • Find credentials printed by a debug step

    Connect a token limited to the intended projects. The source reads all build logs that token can reach. Review matches against the build that produced them.

  • Check a logging fix

    Run the corrected job and scan again. Compare its new log with earlier findings. Build artifacts require a separate review.

Related incidentCustomer credentials taken from CircleCI data stores · Separate credential store

December 2022 · Separate credential store

CircleCI’s January 2023 report says an intruder took customer environment variables, keys and tokens from its databases and stores in December. CircleCI advised customers to rotate the secrets they had stored on the platform.

How this relates to CircleCI

The CircleCI integration scans build logs. It can help check whether a job also printed a credential. CircleCI called for rotating stored credentials regardless of whether a job had printed them.

Review CircleCI scan scope

CircleCI report · Incident account and customer guidance, January 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.

  • build logs

Also reads base64-encoded data.

What it reaches

1 supported · 3 not documented

  • Build logs✓
  • History–
  • Comments–
  • Attachments–

How deep it reads

1 supported · 3 not documented

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

How it runs

1 supported · 5 not documented

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

Limits

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

  • Build artifacts are not scanned; build logs only.
  • Include and exclude filters are not supported; scans all logs the token can reach.

What TruffleHog documents

Integration guide

The integration reads build logs accessible to its token. It offers no per-project include or exclude filter, so the token determines the scope.

Read the CircleCI integration guide
Open-source CLI

The CLI reads job step output and the configuration used for each build. Downloadable build artifacts fall outside that scan.

Read the pinned README passage

Sources checked .

Scan setup and permissions

Set it up

Pick how you’ll run it: each tab has its steps and its options. Enterprise paths come from Truffle’s public docs. The open-source CLI is read from the public TruffleHog code at a pinned commit; it’s a separate product from Enterprise.

Local configuration

  1. Prepare a CircleCI API token and a local scanner configuration for build-log scanning.
  2. Choose a token whose access matches the rollout. This connector scans accessible build logs and offers no per-project include/exclude filter.

Suggested contact (Atlas suggestion) · CircleCI administrator or CI platform owner

Suggested first check (Atlas suggestion) · Check which projects’ build logs the chosen token can read.

Setup reference checked 2026-11-22 · Configuration

Config file options (1)

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

CircleCI configuration options
FieldWhat it doesType
tokenRequiredA CircleCI API access token.string

Check the options in your installed version with trufflehog circleci --help.

  1. Prepare the CircleCI token for the build logs you intend to inspect.
  2. Supply it to the CLI through CIRCLECI_TOKEN in the scanner environment.

Suggested contact (Atlas suggestion) · CI platform owner

Suggested first check (Atlas suggestion) · Confirm the token’s project reach before the first scan.

Setup reference checked 2026-11-22 · circleci command declaration

$ trufflehog circleci --token=<token>

Scan CircleCI pkg/sources/circleci · main.go line 214

Open-source TruffleHog, read from the public code at commit ffdee00 (v3.99.9-6-gffdee00a). Newer releases may differ.

trufflehog circleci flags
FlagWhat it doesType
--tokenRequiredCircleCI token. Can also be provided with environment variableEnv CIRCLECI_TOKEN.string

Access

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

Auth methods

  • token

Before you start

  • A CircleCI API access token

If CircleCI keys leak

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

Sources and related tools

Docs OSS codeScraped, not reviewedCI / CD pipelines

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.