Scanner deep dive
Google Artifact Registry
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
A cloud credential in Codecov’s Docker image
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 scopeCodecov 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 matrixWhat 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
- 1Use the Docker integration and collect the GAR image addresses. For the documented GCP-hosted route, prepare a service account with Artifact Registry Reader access.
- 2Make 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.
| Field | What it does | Type |
|---|---|---|
imagesRequired | GAR images to scan. Untagged images default to latest. | list |
unauthenticatedDepends | Empty object for unauthenticated mode. | object |
dockerKeychainDepends | Use local Docker keychain credentials. | boolean |
basicAuth.usernameDepends | Registry username; use oauth2accesstoken for GAR. | string |
basicAuth.passwordDepends | GCP OAuth access token for basic auth mode. | string |
bearerTokenDepends | GCP 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 permissionroles/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
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.
- Source docs pageUpdated 06 Jul 2026