Software Supply Chain Security¶
A foundational aspect of the Contain Platform's security posture is our rigorous management of the software supply chain. We understand that to trust the platform, you must be able to trust every component that runs on it. This document outlines the formal, multi-phase process we use to vet, curate, and package the open-source software that comprises our managed Components.
Our methodology is designed to provide you with the assurance that the software running your workloads is secure, compliant, and reliable. It combines the innovation of open source with the operational and security excellence of a managed service.
The Component Lifecycle: From Upstream to Your Cluster¶
We manage the entire lifecycle of a component to ensure it is secure, stable, and reliable. This process can be understood in three key phases relevant to supply chain security.
Phase 1: Upstream Project Due Diligence¶
Before any software is considered for inclusion in the platform, it undergoes a comprehensive due diligence process. Our security and engineering teams analyze the upstream open-source project's posture across several key domains:
- Supply Chain Security: We investigate the project's software bill of materials (SBOM) and origin, check for the use of signed commits and signed container images, and assess its overall security posture.
- License Compliance: We perform a thorough analysis of the project's software license and the licenses of all its dependencies to ensure they are compliant with both our legal standards and enterprise use cases.
- Community Health and Governance: We assess the activity, responsiveness, and governance model of the upstream community. This ensures the project is actively maintained, has a healthy contributor base, and is viable for long-term production use.
- Operational Readiness: We conduct a technical review of the project's architecture, configuration options, resource footprint, and overall compatibility to ensure it can be operated efficiently, securely, and reliably on our platform.
Phase 2: Secure Integration and Hardening¶
Once an upstream project passes our due diligence process, it is packaged as a managed platform Component. This is not a simple repackaging; it is an extensive integration and hardening process designed to align the software with our strict security standards.
- Security Hardening: We apply strict
securityContextsettings to all containers, create default-deny network policies to enforce the principle of least privilege, and configure the software to run with the minimum set of permissions required (RBAC). - Image Hardening: We build our container images on minimal, vetted base images (like distroless), remove unnecessary packages, and ensure containers run as non-root users to significantly reduce the attack surface.
- Integrating Observability: We ensure the component exposes the necessary metrics, logs, and traces to seamlessly integrate with our central monitoring, logging, and alerting systems. This is critical for maintaining visibility and enabling auditability.
- Creating a Secure, Verifiable Package: The final component is released as a package with signed evidence of where it came from and what it contains: build provenance, a software bill of materials (SBOM) for the package and for every container image in it, and the signatures upstream published for those images. Verifiable From Release to Your Cluster describes the evidence and how it is checked. All component container images are scanned for vulnerabilities and stored in our secure, private registry.
Phase 3: Continuous Monitoring and Secure Updates¶
Our commitment to security does not end after a component is initially packaged. We continuously monitor upstream projects for new versions, security advisories, and changes in their security posture.
When a new version of an upstream component is released, our process begins again:
- Full Re-Vetting: The new version undergoes the same comprehensive due diligence process as a brand new component. We re-assess its supply chain security, license compliance, and community health to ensure it still meets our standards.
- Vulnerability Scanning: The new container images are scanned for known vulnerabilities (CVEs), and we do not release components with critical or high-severity vulnerabilities that have available fixes.
- Controlled Rollouts: Once vetted and packaged, updates are rolled out in a controlled, progressive manner across the platform to mitigate risk and ensure stability.
This continuous lifecycle management ensures that the components on the platform are not only secure at the time of installation but remain secure as they evolve.
Verifiable From Release to Your Cluster¶
Every component and every distribution of components we release carries evidence that you, or the Contain Platform on your behalf, can check before anything is installed. The evidence follows the software all the way from our build to the nodes in your cluster, including environments with no connection to the internet.
Signed Build Provenance¶
When we release a component, the build platform records how the build ran: which release workflow ran, at which version, from which source repository and release tag, and on which kind of build machine. This record is called provenance, in the format defined by SLSA (Supply-chain Levels for Software Artifacts).
- Signed by the build platform, not by the build. The provenance is generated and signed by GitHub, outside the steps of the build itself, so a build cannot forge its own record. The release workflows are designed to meet SLSA v1.2 Build Level 3.
- Only approved workflows. We trust a package only when a release workflow at a version we have approved built it. Each approved version is pinned by its exact commit.
- Immutable releases. Release tags in our component repositories cannot be moved or deleted, so a released version always names the same source.
- Private by design. Signatures are made with GitHub's own signing service for private repositories. Nothing about our internal repositories is written to a public transparency log.
Software Bills of Materials¶
Every package carries a signed SBOM of the package, and an SBOM for each platform of every container image it ships. See SBOM for what they contain and how to read them.
Upstream Evidence¶
Many upstream projects sign their container images and publish attestations about them. We carry that evidence into the package unchanged, so the original signatures still verify against the original publisher. We select it by type: signatures, attestations and SBOMs are kept, and anything else attached to an upstream image is left behind. We record that upstream published the evidence; we do not vouch for it.
Verified at Assembly¶
A distribution is the set of component versions we release together for you to install. When we assemble one, every component in it is verified against our policy: the provenance must be valid, signed by an approved release workflow, and built from the repository and release tag the component belongs to.
The evidence that passed is then embedded in the distribution itself, and the distribution is signed in the same way as a component. One digest identifies the distribution, its components, and their evidence, so the evidence cannot be swapped or extended after the fact. We are rolling this out component by component; a component released before it carries no evidence yet, and the verification reports it rather than refusing it until every component has moved.
Into Isolated Environments¶
A distribution reaches an environment without internet access as it is, copied registry to registry or through a data diode as standard OCI files. Nothing needs to be unpacked or repackaged on the way, and only new content is transferred.
Verification needs a current copy of the public keys that GitHub signs with. These are distributed through TUF (The Update Framework), and we publish a copy as one more artifact that crosses the same way, on its own schedule. The Contain Platform accepts new keys only when they chain back to keys it already trusts, so an outdated or altered copy is refused.
Verified Again Before Installation¶
Before the Contain Platform installs a distribution in your environment, it verifies the distribution's provenance and the evidence of every component in it, offline. This is the check that counts: it does not depend on anything that happened on the way, and it uses a policy held by your platform, not one supplied by the distribution it checks.
Signed Images in Your Registry¶
When the Contain Platform copies a component's container images into the registry in your environment, their SBOMs and upstream signatures go with them, where scanners and signature tools expect to find them. Once the component has verified, the platform signs each image it copied. Your cluster nodes can check that signature whenever they pull an image from the platform's registry, so an image that did not come through verification is refused.
Built on Open Standards¶
Nothing in a package or a distribution needs Contain tooling to be read or verified. Each part uses a published, widely implemented standard:
| Part | Standard |
|---|---|
| The package and the distribution | OCI image index, manifests and referrers |
| Helm charts | Helm's OCI chart format |
| Provenance and signatures | Sigstore bundles carrying in-toto statements with SLSA provenance |
| SBOMs | CycloneDX 1.6 |
| Signing keys | TUF |
| Transfer into isolated environments | OCI image layout |
We chose plain OCI over a packaging format of our own so that a distribution can be stored, copied, scanned and verified by any registry and tool that speaks OCI. The same choice keeps it interoperable with other OCI-based delivery models, such as the Open Component Model, without depending on any of them.
Check It Yourself¶
The evidence is stored in standard OCI formats, so you can inspect it with common tools, given read access to the registry:
| To see | Run |
|---|---|
| The evidence attached to a component or image | oras discover <reference> |
| A component's provenance | gh attestation verify oci://<reference> --owner containdk --bundle-from-oci |
| A component's signed SBOM | the same, with --predicate-type https://cyclonedx.org/bom |
| The platform's signature on a copied image | cosign verify --key <platform public key> --insecure-ignore-tlog <reference> |
This structured process ensures that every component on the Contain Platform is built upon a foundation of security and trust, providing you with a verifiable and secure environment for your applications.