Skip to content

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

Engineering@Microsoft 6 min read Case study easyNovice

The Journey to Secure the Software Supply Chain at Microsoft

Microsoft secures its software supply chain by threat-modeling its CI/CD platform, identities and developer devices, risk-scoring each threat, and folding supply chain requirements into the Security Development Lifecycle with policy enforcement such as blocked pushes, broken builds and gated releases. Builds use secure-booted, ephemeral, network-isolated agents and SBOMs are validated at release. On the open-source consumption side, the S2C2F framework routes packages through Azure Artifacts for caching and dependency-confusion protection, flags vulnerabilities in PRs, and gates ingestion on typosquatting and malware checks without imposing an approved-package list. Access is hardened with phish-resistant MFA, just-in-time admin access and replacing PATs with managed identities, while a detection coverage matrix based on MITRE ATT&CK monitors source, build and release systems.

Assumes: CI/CD pipelinespackage managersthreat modeling basics

Related posts

  • What is Software Supply Chain Security?

    Docker easyNovice

    Software supply chain security protects every stage of software delivery, from source and dependencies through build, registry, deployment and runtime, rather than only first-party code. The main vectors are dependency confusion, typosquatting, maintainer takeovers, build system compromise, tampered or lookalike container images, and CI/CD pipeline exploitation. The recommended defenses are trusted minimal base images, signed artifacts, SLSA provenance attestations, SBOMs generated automatically on every build, admission-time image verification and runtime sandboxing. Policy should be enforced by infrastructure at each pipeline transition rather than by documentation.

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

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

  • Microsoft open sources its software bill of materials (SBOM) generation tool

    Engineering@Microsoft easyNovice

    Microsoft has open sourced its build-time SBOM generator, a cross-platform (Windows, Linux, Mac) tool that emits SPDX documents and auto-detects dependencies from npm, NuGet, PyPI, Maven, Go, Rust crates, RubyGems, container Linux packages and more via the Component Detection library. Generated SBOMs contain four SPDX sections: document creation info, files with SHA-1/SHA-256 hashes, packages with versions, suppliers, hashes and purl identifiers, and relationships between elements. SBOMs can reference other SBOM documents through externalDocumentRefs with checksums, so layered builds can capture a full dependency tree across predecessor builds.

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

The quest for software engineering knowledge.

Look:
Layout: