Skip to main content

audit-a-build-pipeline

Audit a build pipeline for source provenance, dependency integrity, isolated execution, secrets, artifact reproducibility, signing, promotion, and evidence. Use when release trust depends on CI or build infrastructure.

Quellinformationen

Repository
protosphinx/sphinxstack
Letzte Quellaktivität
29. Juli 2026 um 13:55
Erkannte Sprache von SKILL.md
Englisch
Sterne
2
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
audit-a-build-pipeline
category
code
description
Audit a build pipeline for source provenance, dependency integrity, isolated execution, secrets, artifact reproducibility, signing, promotion, and evidence. Use when release trust depends on CI or build infrastructure.
# audit-a-build-pipeline Trace the released artifact back to authorized source and controlled inputs. ## When to use - Use before release, after pipeline change, or during supply-chain review. - Never expose credentials or execute untrusted build steps with production authority. ## Preconditions - Inventory repositories, triggers, runners, identities, dependencies, caches, registries, artifacts, signing, environments, and deployments. ## Procedure 1. Map source commit to trigger, workflow version, runner, inputs, dependencies, outputs, and promotion. 2. Verify branch protection, review, workflow-change authority, pinning, and fork boundaries. 3. Inspect runner isolation, network, filesystem, persistence, cache keys, and cleanup. 4. Trace secrets, tokens, OIDC claims, permissions, lifetime, masking, and environment separation. 5. Verify lockfiles, sources, integrity, generated code, compilers, base images, and build scripts. 6. Record artifact hashes, provenance, SBOM, signing, attestations, and immutable promotion. 7. Rebuild cleanly where feasible and compare expected outputs or explain nondeterminism. 8. Test compromise, cache poison, secret exposure, tampering, rollback, and revocation. ## Failure plan - Stop promotion when artifact provenance or builder trust cannot be established. ## Worked example An audit finds a mutable third-party action and cross-branch cache; both are pinned and isolated before a clean signed rebuild. ## Done - A build-pipeline audit report records source, workflow, runner, dependencies, secrets, artifacts, provenance, promotion, and findings - Fork, cache, pin, permission, clean-build, signature, tamper, revocation, and rollback tests verify trust
Auf GitHub ansehen