pipeline-security

Solid

Secure CI/CD pipelines with keyless signing, OIDC federation, provenance attestations, policy enforcement, and hardened runners.

AI & Automation 15 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
40
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Skill: Pipeline Security > **Expertise:** OIDC cloud auth, least-privilege workflow permissions, secret scanning, keyless artifact signing, SLSA provenance, and admission policy checks. ## When to load When designing or hardening CI/CD pipelines for production deployments, especially where compliance or high-risk workloads are involved. ## Security Outcomes (definition of done) - Pipeline uses **OIDC federation** (no long-lived cloud keys in CI secrets). - Artifacts are **signed keylessly** and verified with identity constraints. - **Provenance + SBOM** are generated and validated before deploy. - Workflows use **minimal GitHub/GitLab permissions**. - Runtime admission policies block unsigned/unattested artifacts. ## OIDC Authentication (no long-lived credentials) ```yaml jobs: deploy: permissions: id-token: write contents: read steps: - uses: aws-actions/configure-aws-credentials@<pinned-sha> with: role-to-assume: arn:aws:iam::123456789012:role/github-actions-deploy aws-region: us-east-1 ``` - Constrain trust policy by repo, ref, and workflow identity. - Prefer short session duration and environment-scoped roles. ## Minimal Permissions Model ```yaml permissions: contents: read id-token: write packages: write ``` - Deny by default; explicitly request only required scopes. - Split build and deploy into separate jobs with separate permissions. ## Keyless Signing + Verification ```bash # Sign immutable ...

Details

Author
sawrus
Repository
sawrus/agent-guides
Created
3 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category