Skip to content
Connectors

Scanner deep dive

Google Artifact Registry

SourceNot in indexOpen source + Enterprise · Hosted or self-hosted

Scans Google Artifact Registry images through the Docker integration with local configuration.

Use cases and coverage

Scanning use cases

  • Review an image before promoting it

    Authenticate Docker to the regional Artifact Registry hostname. List the candidate linux/amd64 image in the Docker integration’s local configuration.

  • Recheck images after a base-image change

    List each rebuilt image explicitly and compare results by image reference. The integration requires individual image references.

Related incidentA cloud credential in Codecov’s Docker image · Similar exposure

April 2021 · Similar exposure

Codecov traced a change to its Bash Uploader back to a service-account key left in an intermediate layer of a published Docker image. The key allowed changes to the uploader in Google Cloud Storage.

How this relates to Google Artifact Registry

Codecov identified a Docker image as the exposure location. A release image stored in this registry is the analogous item to review.

Review Google Artifact Registry scan scope

Codecov report · Root Cause

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.

  • container images

What it reaches

0 supported · 3 not documented

  • History–
  • Comments–
  • Attachments–

How deep it reads

3 supported · 1 not documented

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

How it runs

0 supported · 6 not documented

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

Limits

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

  • Images must be listed explicitly; no enumeration.
  • Only linux/amd64 images are scanned.
  • Hostnames are region-specific (LOCATION-docker.pkg.dev).
  • Legacy gcr.io images work with the same config after gcloud auth configure-docker.

What TruffleHog documents

Integration guide

List each image explicitly using its registry address. The scanner needs registry read access, and the guide identifies linux/amd64 as the supported image platform.

Read the Google Artifact Registry integration guide

Sources checked .

Scan setup and permissions

Set it up

Enterprise paths come from Truffle’s public docs.

Local configuration

  1. Use the Docker integration and collect the GAR image addresses. For the documented GCP-hosted route, prepare a service account with Artifact Registry Reader access.
  2. Make registry credentials available to the scanner. Review the Docker keychain or token-refresh approach before scheduling recurring scans.

Suggested contact (Atlas suggestion) · Google Cloud registry owner and scanner host operator

Suggested first check (Atlas suggestion) · Check a fully qualified GAR image reference and the lifetime of the selected authentication method.

Setup reference checked 2026-11-22 · Walkthrough

Config file options (6)

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

Google Artifact Registry configuration options
FieldWhat it doesType
imagesRequiredGAR images to scan. Untagged images default to latest.list
unauthenticatedDependsEmpty object for unauthenticated mode.object
dockerKeychainDependsUse local Docker keychain credentials.boolean
basicAuth.usernameDependsRegistry username; use oauth2accesstoken for GAR.string
basicAuth.passwordDependsGCP OAuth access token for basic auth mode.string
bearerTokenDependsGCP OAuth access token for bearer mode.string

Access

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

All read-only, as documented.

Auth methods

  • Unauthenticated
  • Docker keychain
  • Basic authentication
  • Bearer token

Permissions

1 permission
  • roles/artifactregistry.readerpull images

If Google Artifact Registry keys leak

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

Sources and related tools

DocsScraped, not reviewedArtifact repositories (Atlas grouping)

Evidence

Possible issue in Truffle’s docs

  • This page exists but isn't listed on the Connect sources index.

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.

Parent connector · Docker