---
title: "Trivy, KICS, and the shape of supply chain attacks so far in 2026"
description: "On April 22, 2026, attackers used stolen Checkmarx publisher credentials to push malicious images to the checkmarx/kics repository on Docker Hub."
url: "https://swe.quest/articles/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026-254fa10337712b5d"
canonical: "https://www.docker.com/blog/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026/"
source: "Docker"
published: "2026-04-23"
difficulty: "medium"
kind: "Incident"
reading_minutes: 5
tags: ["supply-chain-security","incident-response","containers","threat-detection"]
---

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

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-04-23, 5 min read, Incident. Original: [https://www.docker.com/blog/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026/](https://www.docker.com/blog/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [Threat detection](https://swe.quest/tags/threat-detection.md) (Security)

## Prerequisites

- Docker image tags and digests ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- CI/CD pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

Docker Hub, Checkmarx KICS, Trivy, Socket, Docker Hardened Images, provenance

## Related posts

- [Trivy supply chain compromise: What Docker Hub users should know](https://swe.quest/articles/trivy-supply-chain-compromise-what-docker-hub-users-should-know-765818eeb0f714d2.md): Docker · 2026-03-23 · Medium · 5 min read · Supply chain security, Containers, Incidents & postmortems, CI/CD
  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.
- [Hardened Images Are Free. Now What?](https://swe.quest/articles/hardened-images-are-free-now-what-129617cf36f8913b.md): Docker · 2026-02-10 · Medium · 6 min read · Supply chain security, Containers, Security
  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.
- [CNCF Score project improved its security posture by joining the Docker-Sponsored Open Source Program](https://swe.quest/articles/cncf-score-project-improved-its-security-posture-by-joining-the-docker-203499a569bdd49d.md): Docker · 2026-11-05 · Medium · 8 min read · Supply chain security, Containers, CI/CD, Open source
  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.
- [From Security Blocked to Prod Ready: ClickHouse on Docker Hardened Images](https://swe.quest/articles/from-security-blocked-to-prod-ready-clickhouse-on-docker-hardened-images-fbdddd6267212370.md): Docker · 2026-04-30 · Medium · 11 min read · Containers, Supply chain security, Kubernetes, Security
  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.
- [Defending Your Software Supply Chain: What Every Engineering Team Should Do Now](https://swe.quest/articles/defending-your-software-supply-chain-what-every-engineering-team-should-do-now-434c4d75b0885a00.md): Docker · 2026-04-02 · Medium · 9 min read · Supply chain security, CI/CD, Containers, AI agents
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
