The assurance boundary breaks because the same workflow can both produce the artifact and influence the attestation that validates it. That creates a trust loop where a successful CI job may still generate a valid-looking statement from an untrusted path. Separate execution from signing so artifact creation and attestation are not controlled by the same identity.
What actually breaks in the assurance model?
The core failure is that the build path and the trust path collapse into one control point. If the same pipeline that produces the artifact can also influence the signing or attestation step, the signature no longer proves that an independent authority reviewed an independent output. It only proves the workflow completed.
That matters because many release processes treat a valid signature or provenance statement as a shortcut for trust. Once build execution can reach signing authority, the “who made this” question becomes ambiguous, and downstream consumers may accept a malicious or altered artifact as if it came from a clean, bounded process.
In supply-chain terms, this is a separation-of-duties failure. The problem is not merely that a pipeline has too much access, it is that the pipeline can create the very evidence used to bless its own output. That is why build provenance systems such as SLSA focus on provenance and integrity verification as distinct trust signals, not as artifacts generated by the same uncontrolled path.
Why the trust loop is dangerous in practice
When signing authority is reachable from the build workflow, compromise pressure shifts from “can an attacker change the code” to “can an attacker make the pipeline attest to the change.” That creates a higher-value target because the attacker only needs one successful path into CI to potentially obtain a credible attestation for a malicious build. SolarWinds supply chain compromise shows how compromised build trust can cascade into downstream token abuse and broad distribution impact.
The same pattern shows up when secrets or tokens are available inside CI. A pipeline with signing reach often also has access to credentials, environment secrets, or release tooling, so compromise of one step can become privilege amplification. reviewdog Action compromise 2025 and ArtiPACKED 2024 both illustrate how CI-side token exposure can turn normal automation into a trust-break event.
Another subtle failure is consumer overconfidence. Teams often verify that a signature exists, but not whether the signer was isolated from the thing being signed. If signing is just another job in the same pipeline, the consumer sees provenance but not the hidden coupling that made the provenance self-issued.
How to keep artifact creation and signing meaningfully separate
The practical fix is architectural, not cosmetic: artifact production and signing authority must be controlled by different trust boundaries. The signing step should be reachable only after policy checks, and the signer should validate an artifact digest or release candidate rather than trusting the build job to hand over both content and authority.
Use a dedicated signer, restricted credentials, and narrow approval paths for release-time trust decisions. Where possible, treat the build system as untrusted for signing purposes, even if it is trusted to compile code. That mindset keeps release integrity dependent on verified inputs and controlled signing authority, not on the goodwill of the pipeline runtime.
For teams building supply-chain controls, the most useful question is whether a compromised build job can still influence release trust. If the answer is yes, you do not yet have an assurance boundary, you have an administrative convenience.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while SLSA and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| SLSA | Supply-chain Levels for Software Artifacts | Build provenance and integrity are central to trusted signing separation. |
| Recommendation — Separate build execution from signing and require verifiable provenance for released artifacts. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Signing authority depends on protecting and lifecycle-managing credentials used by the release path. |
| AC-6 — Least Privilege | The build pipeline should not hold privileges that let it influence release trust decisions. | |
| Recommendation — Restrict, rotate, and isolate signing credentials from build runners. Limit CI permissions so build jobs cannot access signing authority. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | A pipeline identity reaching signing authority is an overprivilege pattern. |
| NHI-07 — Long-Lived Secrets | Signing access often hinges on secrets that should not live in a general build path. | |
| Recommendation — Reduce pipeline privileges so it cannot approve its own release artifacts. Move signing secrets out of CI and minimize their lifetime and exposure. | ||
Practitioner Guidance
What to verify: Confirm that the signing key, attestation service, or release approval path is outside the build job’s execution and credential scope. If the same runner can both assemble the artifact and access the signer, the boundary is already too weak.
Decision rule: If a CI job can affect both artifact bytes and release trust evidence, treat the pipeline as capable of self-certification and redesign before trusting any produced attestations.
What good looks like: The build system can emit a candidate artifact, but only a separately controlled trust service can sign or attest to it after policy and provenance checks have passed.
Practitioner takeaway: The important control is not “does the pipeline sign,” but “can the pipeline sign its own story?” If yes, the release process is validating workflow completion, not independent assurance.
Related resources from NHI Mgmt Group
- What breaks when signing authority is not tied to employee lifecycle state?
- What breaks when code signing keys are shared across build systems?
- What fails when an AI pipeline has the same authority to build and deploy detections?
- What breaks when a malicious dependency can execute on import in a build or ML pipeline?