AI Skills Wiki 中文

Software Supply Chain Security

AI Skills Wiki › Enterprise Security & Compliance · Last updated: 2026-11-03

Definition

Software supply chain security protects the components, identities, infrastructure, and processes that turn source code into deployed software. Its focus is the trust boundary between producers and consumers: which dependencies entered a build, which platform built an artifact, and whether the delivered bytes match the approved release. An SBOM inventories components; build provenance records origin and construction; signatures bind statements or artifacts to an identity. These controls complement vulnerability scanning but do not prove that signed software is harmless. Unlike secure SDLC as a broader development discipline, this skill concentrates on dependency trust, build integrity, and verifiable distribution.

Why it matters for AI jobs

AI platforms ship Python packages, native libraries, GPU-enabled containers, and serving services through complex CI/CD pipelines. A compromised dependency or builder can reach production even when application tests pass. For AI infrastructure, MLOps, and security roles, demonstrating a verified release pipeline shows that you can turn security requirements into enforceable engineering controls. A useful portfolio project records an artifact digest and provenance, verifies the expected builder identity, and rejects a deliberately altered artifact. Describe exactly what your controls establish rather than claiming that a signature certifies model quality or eliminates all vulnerabilities.

Key concepts

  • Dependency trust: Control package sources, lock dependency versions, and review updates; private-package lookup order matters for dependency confusion.
  • SBOM: A software bill of materials inventories components and versions for investigation and vulnerability matching; it is not a clean bill of health.
  • Build provenance: Metadata links an artifact digest to its source, builder, and build process. Consumers must validate the statement against their expectations.
  • SLSA Build track: L1 provides provenance, L2 adds authenticated provenance from a hosted build platform, and L3 requires stronger platform isolation and tamper resistance.
  • Sigstore: Cosign signs and verifies artifacts; keyless signing uses short-lived identity-bound certificates, while Rekor provides a transparency log in the public service.
  • Verification policy: Check the artifact digest, trusted identity and issuer, and required provenance before promotion or deployment; a valid signature alone is insufficient.
  • Build isolation: Restrict CI permissions and separate build jobs from provenance-signing secrets to limit the effects of compromised build steps.

Learning path

  1. Build a small containerized inference API in a test repository. Record its source commit and image digest, lock dependencies, and document every upstream package and base image source.
  2. Generate an SBOM with your chosen build platform and scan the image. Investigate one finding and record remediation or a justified exception rather than treating a scan as proof of safety.
  3. Use GitHub artifact attestations or another documented hosted builder to generate and retain provenance. Map the actual builder configuration to SLSA Build requirements without assuming all hosted CI qualifies for L3.
  4. Sign and verify a test artifact using Cosign, checking both certificate identity and OIDC issuer. Alternatively, verify the GitHub attestation with its supported tooling and explicit repository expectations.
  5. Add a release gate that checks digest, provenance, and producer identity. Test rejection of a modified artifact and an unexpected signer, then publish the threat model, test results, and remaining limitations.

Resources