Hardens build pipelines by pinning CI actions to SHAs, locking base images by digest, generating SLSA provenance, and signing artifacts with Sigstore cosign.
The build pipeline is a privileged machine that turns source into artifacts your users trust, and it runs third-party code on every push. If an attacker edits a build step, swaps a base image, or repoints a tag, the malicious output ships signed and looks legitimate. Hardening means pinning what runs, proving where each artifact came from, and signing it so tampering is detectable.
uses: actions/checkout@<40-char-sha> instead of @v4. A tag is mutable
and can be repointed at malicious code; a commit cannot. Let Dependabot
bump the SHAs so pinning does not go stale.image@sha256:... in Dockerfiles and CI, never :latest. Rebuilds then
use the bytes you reviewed instead of whatever the tag points at today.permissions: contents: read
at the top of a GitHub Actions workflow and widen per job only where a
step truly needs write or id-token. A compromised step then cannot push
to the repo or mint a release.slsa-github-generator or cosign attest, recording
the source commit, builder, and inputs. Consumers can then verify the
artifact came from the commit you claim, not from someone's laptop.cosign sign), keyless through OIDC where possible, and
gate deployment on cosign verify. An unsigned or wrongly signed
artifact never reaches production.pull_request workflows from forks. A fork PR must
not be able to read the key that signs your releases.uses: and base image reference resolve to a SHA or digest,
with zero floating tags?This hardens how artifacts are built and released, not the third-party source that goes in (see dependency-auditing) or the runtime that executes the output. Provenance proves origin, not that the source was safe. Follow your platform's mandated attestation format where one exists.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
supply-chain, ci-cd-security, artifact-signing, slsa, cosign
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job