Certified Information Systems Security Professional (CISSP)
Software supply chain security in CI/CD pipelines (CISSP)
NIST SP 800-204D gives two security goals for software supply chain measures in CI/CD pipelines: actively defend the pipeline and build processes, and ensure the integrity of upstream sources and artifacts. It treats write access to source repositories as high risk and has builds produce signed attestations that consumers can verify independently.
What are the baseline measures for open-source components?
SP 800-204D section 3.2.1 lists baseline measures for integrating open-source software into an enterprise project. The security team sets a policy for trusted sources, such as allow lists. The security team, not the developer, approves merging open-source software from unverified sources.
Developers should download open-source software as source code instead of pre-compiled libraries or binaries when available. They should verify digital signatures, run vulnerability scans, and generate an SBOM with dependency scanning on the first commit to identify risks from upstream or downstream dependencies.
Artifacts in internal repositories should be scanned for newly discovered defects, with the ability to stop their use in builds based on criticality.
How should access to source repositories be controlled?
Pull access depends on the project's policy. Open-source projects typically let anyone pull the code, and proprietary vendors often restrict who can read it. In all cases, SP 800-204D says write access to the source-code management system should be considered high risk and tightly controlled.
Developers propose patches, and another developer should perform a code review before a patch is merged.
For public repositories, CI workflows triggered by outside contributors should either run in sandboxed environments without network access, privileged access or the ability to read secrets, or be delayed until a maintainer with write access approves them. The setting should be at the strictest level.
What are build attestations and GitOps rules?
A build should generate evidence as it runs. The hash of the final build artifact and of the files, libraries and other materials used is signed by a trusted component of the build framework that is not under the developers' control. Consumers can then verify the artifact independently of the producer.
SP 800-204D names four attestation components. Environment attestation is an inventory of the platform the build ran on. Process attestation covers the programs that transformed or tested the source. Materials attestation covers raw inputs such as configuration, source code and dependencies. Artifacts attestation covers the output of a CI step, such as a compiled binary or a SAST scan result.
For GitOps deployment, changes should not be applied manually at runtime. The change is made in the relevant code and a new release is triggered, so Git commits stay the single source of truth for what runs in the cluster. The process should rely on automation and not manual operations.
Where the exam catches people
- Believing read access to proprietary source is the permission SP 800-204D singles out as high risk: it singles out write access, in all cases.
- Believing an urgent production fix should be applied straight to the cluster: under GitOps the fix is committed and a new release triggered.
- Believing a developer can approve an open-source library from an unlisted source: the security team approves merging unverified sources.
- Believing a SAST scan result belongs in the process attestation: the scanner is process, and its output is an artifact.
- Believing developers should sign their own build evidence: the signer is a trusted build-framework component outside the developers' control.