Skip to content

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

Docker 5 min read Incident mediumAdept

Trivy, KICS, and the shape of supply chain attacks so far in 2026

On April 22, 2026, attackers used stolen Checkmarx publisher credentials to push malicious images to the checkmarx/kics repository on Docker Hub. Five existing tags were overwritten and two new tags were created. The trojaned KICS binary kept scanning normally but encrypted the scan output, which often holds secrets and infrastructure details, and sent it to audit.checkmarx[.]cx using a KICS-Telemetry/2.0 User-Agent. Docker caught the push within about 30 minutes by correlating several signals: a tag with no matching upstream release, provenance pointing to a day-old source repository, and unusual publishing timing. Affected users should rotate any credentials in scope, pin the image by digest, purge cached digests from runners and mirrors, and check egress logs, and Docker argues that only layered defenses and real-time signal sharing across registries can keep these attacks contained.

Related posts

  • Trivy supply chain compromise: What Docker Hub users should know

    Docker mediumAdept

    Attackers used stolen Aqua Security publishing credentials to push infostealer-laden aquasec/trivy images (0.69.4, 0.69.5, 0.69.6 and latest) to Docker Hub between March 19 and March 23, 2026. The malware targets Docker registry tokens, cloud credentials, SSH keys, Kubernetes tokens, CI/CD secrets and .env files. Anyone who pulled those tags or digests should remove them, rotate all reachable credentials at once, treat hosts with the Docker socket mounted as fully compromised, and pin to 0.69.3. Takeaways: mutable tags are not a security boundary, digest pinning should be paired with signed provenance verification, and scanning cannot detect a compromised publishing pipeline.

  • 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.

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

    Docker mediumAdept

    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.

  • From Security Blocked to Prod Ready: ClickHouse on Docker Hardened Images

    Docker mediumAdept

    Security scanners block the standard ClickHouse image because its Ubuntu 22.04 base ships unused packages carrying unpatched CVEs, such as wget (CVE-2021-31879) and tar. Docker Hardened Images remove apt, wget, curl and other unneeded packages. They run as non-root uid 65532, ship SLSA Level 3 provenance with VEX attestations, and come in dev and runtime variants. A Docker Scout comparison shows all medium-severity findings eliminated, with only unfixable low findings in glibc and openssl remaining. The guide covers docker run setup, custom XML config, Kubernetes fsGroup settings, a smaller metrics exporter (10.3 MB vs 29.4 MB), and debugging with docker debug in place of in-container tools.

  • Defending Your Software Supply Chain: What Every Engineering Team Should Do Now

    Docker mediumAdept

    Recent supply chain compromises (the axios npm hijack attributed to Lazarus Group, the TeamPCP campaign via Trivy's GitHub Action, Shai-Hulud, GlassWorm) share one root cause: implicit trust in mutable tags, broad long-lived tokens and unsandboxed runners. The recommended defenses start with pinning Actions to commit SHAs and images to digests, using lock files with npm ci, and applying 3-day cooldowns on new dependency versions, since most malicious releases live only hours. Further layers are short-lived scoped CI credentials, avoiding pull_request_target, artifact proxies and build-time SBOMs, plus canary tokens and credential cleanup on developer machines. AI coding agents should run in microVM sandboxes and MCP servers should be governed. Many recommendations are paired with Docker products such as Hardened Images, Scout, Sandboxes and MCP Gateway.

The quest for software engineering knowledge.

Look:
Layout: