What it means for teams

Each stage of a pipeline consumes what an earlier stage, or a third party, produced. Without signatures or provenance checked against an expected identity, a tampered build output, script or image looks exactly like a good one.

How to prevent it

  • Sign artifacts when they are produced and verify the signature, and the signer's identity, before each stage consumes them.
  • Generate and check build provenance, for example in the SLSA format, and sign commits where your platform can enforce it.
  • Verify the hash or signature of every third-party script or tool a pipeline downloads before running it.
  • Detect configuration drift: resources that were not deployed from the reviewed, signed definition.

Guides on this site

Practice

References

  1. CICD-SEC-9 Improper Artifact Integrity Validation (OWASP)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.