---
title: "Defending Your Software Supply Chain: What Every Engineering Team Should Do Now"
description: "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."
url: "https://swe.quest/articles/defending-your-software-supply-chain-what-every-engineering-team-should-do-now-434c4d75b0885a00"
canonical: "https://www.docker.com/blog/defending-your-software-supply-chain-what-every-engineering-team-should-do-now/"
source: "Docker"
published: "2026-04-02"
difficulty: "medium"
kind: "Opinion"
reading_minutes: 9
tags: ["supply-chain-security","ci-cd","containers","ai-agents"]
---

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

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-04-02, 9 min read, Opinion. Original: [https://www.docker.com/blog/defending-your-software-supply-chain-what-every-engineering-team-should-do-now/](https://www.docker.com/blog/defending-your-software-supply-chain-what-every-engineering-team-should-do-now/)

## Summary

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.

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)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- GitHub Actions basics ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- npm package management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))
- container images

## Keywords

axios, Trivy, TeamPCP, GitHub Actions, Docker Hardened Images, SBOM, SLSA, MCP

## Related posts

- [Coding Agent Horror Stories: The 29 Million Secret Problem](https://swe.quest/articles/coding-agent-horror-stories-the-29-million-secret-problem-7f5056c95d2769e4.md): Docker · 2026-07-28 · Medium · 12 min read · Supply chain security, AI for coding, Sandboxing & isolation, JavaScript, AI agents
  The s1ngularity supply-chain attack on the Nx npm package used a post-install script to find installed AI coding CLIs (Claude Code, Gemini CLI, Amazon Q) and invoke them with permission-bypass flags like --dangerously-skip-permissions, prompting the agent to inventory secrets across the home directory before exfiltrating them to public repos under the victim's GitHub account.
- [Open source security at Astral](https://swe.quest/articles/open-source-security-at-astral-4e24d0de3a4c872a.md): Astral · 2026-04-08 · Medium · 14 min read · Supply chain security, CI/CD, Security, Open source
  Astral secures Ruff, uv and ty against supply chain attacks with layered controls across CI/CD, repository settings, releases and dependencies.
- [Securing the Docker MCP Catalog: Commit Pinning, Agentic Auditing, and Publisher Trust Levels](https://swe.quest/articles/securing-the-docker-mcp-catalog-commit-pinning-agentic-auditing-and-publisher-91efbeaa90e18d9c.md): Docker · 2025-12-03 · Medium · 8 min read · Supply chain security, AI agents, Sandboxing & isolation, Containers, CI/CD
  Docker's MCP Registry now pins every Docker-built MCP server to a specific Git commit, enforced in CI and propagated to the org.opencontainers.image.revision label, so builds are deterministic and verifiable with docker inspect or cosign.
- [Our response to the TanStack npm supply chain attack](https://swe.quest/articles/our-response-to-the-tanstack-npm-supply-chain-attack-a4ee1bd194da9989.md): OpenAI · 2026-05-13 · Easy · 6 min read · Supply chain security, Incidents & postmortems, JavaScript, CI/CD
  Two OpenAI employee devices were compromised via the malicious TanStack npm package in the Mini Shai-Hulud supply chain attack, leading to credential-focused exfiltration from a limited set of internal repositories that held code-signing certificates for iOS, macOS and Windows apps.
- [Trivy, KICS, and the shape of supply chain attacks so far in 2026](https://swe.quest/articles/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026-254fa10337712b5d.md): Docker · 2026-04-23 · Medium · 5 min read · Supply chain security, Incidents & postmortems, Containers, Threat detection
  On April 22, 2026, attackers used stolen Checkmarx publisher credentials to push malicious images to the checkmarx/kics repository on Docker Hub.

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)
