Provenance attestations: prove which pipeline built this artifact
You make the pipeline produce SLSA provenance, an in-toto attestation that records which repository, commit and workflow built each artifact. You sign it and verify it before deploy. Then you try to pass off an artifact built outside the pipeline and show the provenance check rejects it, which meets SLSA Build L2.