| name | supply-chain-and-build-provenance |
| description | Use when auditing, building, verifying, or releasing dependencies, lockfiles, CI/CD, GitHub Actions, package publishing, containers, IaC, SBOMs, vulnerability scanning, secret scanning, artifact signatures, SLSA provenance, Sigstore/cosign attestations, build trust, or supply-chain security gates. |
| activation | Activate when the description trigger applies to the current task. |
| required_inputs | Task request, relevant repository context, constraints, and authority dependencies. |
| required_outputs | Skill-specific artifact, verification evidence, canonical verdict, and next action. |
| authority_dependencies | 00_start_here/SOURCE_OF_TRUTH.md; 10_governance/APIVR_EXECUTION_LIFECYCLE.md; 10_governance/source_of_truth/Elite_Build_Goals_v3.md. |
| evidence_requirements | Executed checks or an honest Unknown, Not Run, or Blocked state for every material claim. |
Supply Chain And Build Provenance
Use this skill when release trust depends on what was built, where it came from, how it was built, and whether dependencies or artifacts are safe enough to ship.
Do not release production artifacts when provenance, dependency integrity, secret exposure, or critical vulnerability evidence is unknown for systems where supply-chain compromise would be material.
Required Files
40_knowledge/SECURITY_FRAMEWORK_MAPPING.md
60_templates/SECURITY_EVIDENCE_LEDGER_TEMPLATE.md
10_governance/RELEASE_GATES.md
APIVR Routing
- Phase 1 Audit: identify source repo, lockfiles, package managers, CI/CD, container/IaC targets, artifact registry, signing, and deployment path.
- Phase 2 Plan: choose scans, provenance checks, thresholds, exceptions, and release gates.
- Phase 3 Implement: scan, verify, remediate, sign, or document exceptions.
- Phase 4 Audit Implementation: check changed dependencies, CI config, generated artifacts, and credentials.
- Phase 5 Verify Implementation: verify scans/provenance/signatures or record
Not Run / Blocked.
- Phase 6 Re-Audit: record residual CVEs, accepted risk owners, expiration, and reversal triggers.
Supply Chain Checklist
| Area | Check |
|---|
| Dependencies | Lockfiles present, unexpected dependency changes reviewed, known critical CVEs handled. |
| Secrets | Repository, image, and IaC secret scans are run or explicitly marked. |
| Containers/IaC | Image, Dockerfile, Kubernetes, Terraform, Helm, or cloud config scans as applicable. |
| SBOM | SBOM generated or absence justified for material releases. |
| Provenance | Build source, builder identity, commit/tag, artifact identity, and signature/attestation verified where available. |
| CI/CD | Workflow permissions, OIDC, actions pinning, secret exposure, and deploy boundaries reviewed. |
| Exceptions | Residual risks include owner, reason, compensating control, expiration, and reversal trigger. |
Decision Flow
flowchart TD
A["Release or dependency/security review"] --> B{"Deploys artifact or infra?"}
B -- "Yes" --> C["Scan deps, secrets, images/IaC"]
B -- "No" --> D["Dependency and lockfile review"]
C --> E{"Artifact signing/provenance available?"}
E -- "Yes" --> F["Verify signature and provenance"]
E -- "No" --> G["Record provenance gap and risk"]
F --> H["Release gate verdict"]
G --> H
D --> H