Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Docker 8 min read Case study mediumAdept

CNCF Score project improved its security posture by joining the Docker-Sponsored Open Source Program

Score, a CNCF Sandbox project, hardened its container image supply chain by moving images to Docker Hub, adding Docker Scout PR comparisons that report CVEs, package changes and policy compliance, and switching base images to Docker Hardened Images. That switch removed 22 packages and 2 CVEs from the Node sample app. Releases now go through Docker's reusable github-builder workflow, which produces signed SLSA provenance and SBOMs via GitHub OIDC and signs its build cache. Docker Hub OIDC connections replace long-lived access tokens with short-lived per-workflow credentials. Before/after workflow YAML and a cosign verification command are included.

Assumes: GitHub Actions workflowsDockerfiles and multi-stage buildscontainer registries

Related posts

  • Hardened Images Are Free. Now What?

    Docker mediumAdept

    Docker Hardened Images (DHI), now free across 1,000+ images, establish a security "waterline": Docker owns vulnerability remediation for the base layers it hardens, while teams own application code and dependencies above it. Beyond CVE reduction, DHI isolates teams from supply chain attacks that exploit community image trust, such as stolen PATs and tag mutability. The recommended practice treats the container image as the unit of assessment, enforces simple severity-based policies (high/critical remediated, CISA KEV always in scope), and uses OpenVEX statements via vexctl and docker scout attestation add to document and auto-suppress assessed findings. These artifacts also support compliance evidence for ISO 27001, SOC 2 and the EU Cyber Resilience Act.

  • Secure by Design: A Proactive Testing Approach with Testcontainers, Docker Scout, and Hardened Images

    Docker mediumAdept

    Swapping a Node.js API's node:22-slim base image for a Docker Hardened Image (distroless dhi-node:22) eliminated all critical and high CVEs flagged by Docker Scout, including Debian 12's CVE-2025-6020, while avoiding the musl compatibility risk of switching to Alpine. The walkthrough builds images with SBOM and provenance attestations via buildx, scans and compares them with Docker Scout, and uses -dev and runtime DHI variants in a multi-stage Dockerfile. The image shrank from 80 MB and 427 packages to 41 MB and 123 packages. Testcontainers-based API tests against real Postgres confirm the app still works in under 20 seconds, and VEX attestations can be exported for external scanners like Grype or Trivy.

  • Docker Hardened Images enhanced vulnerability scanning with Docker and Aikido

    Docker mediumAdept

    Aikido now scans Docker Hardened Images (DHI) using Docker's signed OpenVEX attestations, automatically suppressing CVEs that Docker has marked fixed or not affected so triage queues show only findings that actually apply. The scanner detects DHI base images, pulls the signed SPDX 2.3 SBOM via OCI 1.1 referrers (or /opt/docker/sbom/) instead of indexing the distroless filesystem, matches components by PURL against the Docker OSV feed and upstream advisories, then overlays VEX statements. Setup amounts to connecting Docker Hub with a read-only personal access token. The full VEX justifications are retained for audits such as FedRAMP and SOC 2.

  • 5 Software Supply Chain Security Best Practices for Development Teams

    Docker mediumAdept

    Software supply chain security for container workloads breaks down into five areas: trusted content, build security, pre-deployment verification, access and policy controls, and continuous monitoring. Concrete practices include pinning images by SHA256 digest and CI actions by commit SHA, producing signed SLSA provenance in in-toto format, generating SBOMs at every build and pairing them with VEX, scoping pipeline credentials per job, and baselining container runtime behavior. The recommended path is incremental, starting with minimal base images and dependency integrity. The guide closes by promoting Docker Hardened Images and Docker Scout.

  • Making the Most of Your Docker Hardened Images Enterprise Trial – Part 3

    Docker mediumAdept

    Docker Hardened Images (DHI) ship without package managers, shells or utilities, so adding agents, CA certificates or libraries needs one of two patterns. Platform teams can build "golden images" through the Docker Hub UI, which adds OS packages or OCI artifacts and automatically rebuilds and re-signs the image when the base DHI is patched. Developers can use a multi-stage Dockerfile: install dependencies (here the Datadog dd-trace library) in a Debian builder stage, then copy only the artifacts into the DHI runtime, setting NODE_PATH and using exec-form CMD. Scanning the result with Docker Scout found a high-severity CVE in a transitive lodash.pick dependency, a reminder that hardened bases do not protect added code, and locally built images should be signed with Cosign in CI because the original DHI signature no longer applies.

The quest for software engineering knowledge.

Look:
Layout: