Skip to content
Connectors

Scanner deep dive

Amazon ECR

SourceNot in indexEnterprise only · Self-hosted only

Scans Amazon ECR images through the Docker integration, using the Enterprise scanner on an AWS host with listed image URIs.

Use cases and coverage

Scanning use cases

  • Check a release candidate stored in ECR

    Authenticate the self-hosted scanner to ECR and list the candidate image URI in the Docker integration. Select a supported linux/amd64 image.

  • Review older images still deployed

    Collect the image URIs your workloads still use and list each one in the scan configuration. ECR images must be supplied individually.

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 Amazon ECR

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

Review Amazon ECR 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

  • container images

This docs page has no Capabilities table.

Limits

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

  • No auto-enumeration; every image URI must be listed.
  • ECR tokens expire about every 12 hours; a cron for docker login keeps recurring scans working.
  • Self-hosted scanner only; not available on the hosted scanner.
  • Run the scanner as the same user that ran docker login.
  • Only linux/amd64 images are scanned.
  • Full egress is recommended because verification calls 800+ endpoints.

What TruffleHog documents

Integration guide

List each ECR image URI in the Docker source configuration. For recurring scans, account for the ECR login token’s roughly 12-hour lifetime on the scanner host.

Read the Amazon ECR 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 list the ECR image URIs explicitly. Prepare an AWS identity with read access to the intended registry.
  2. Authenticate Docker on the scanner host as the scanner user. Plan to refresh the ECR login for recurring scans because its token expires.

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

Suggested first check (Atlas suggestion) · Check the exact image URI and verify that the scanner user can pull it.

Setup reference checked 2026-11-22 · Walkthrough

Config file options

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

No local options documented. Set it up in the web UI.

Access

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

Auth methods

  • Docker keychain (docker login)

If Amazon ECR keys leak

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

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