unitoneai/securityskills/pipeline-security
Claude Code and agent skill by unitoneai/securityskills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Reviews CI/CD pipeline configurations against SLSA v1.0 build levels and OWASP Top 10 CI/CD Security Risks. Auto-invoked when reviewing GitHub Actions workflows, GitLab CI configs, Jenkins pipelines, or when discussing supply chain security. Produces a pipeline security assessment with SLSA level determination and CICD-SEC risk findings.
Install
npx vskill@latest install unitoneai/securityskills/pipeline-securitySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as unitoneai/securityskills/pipeline-security.
Pipeline Security Assessment
Overview
If a target is provided via arguments, focus the review on: $ARGUMENTS
This skill performs a structured security review of CI/CD pipeline configurations against two industry-standard frameworks:
- SLSA v1.0 (Supply-chain Levels for Software Artifacts) -- Build level determination per slsa.dev specifications.
- OWASP Top 10 CI/CD Security Risks -- Systematic evaluation against all ten CICD-SEC controls defined by the OWASP CI/CD Security project.
The assessment produces a formal report containing a SLSA build level determination, per-control CICD-SEC findings, and prioritized remediation guidance.
Objectives
- Determine the repository's current SLSA Build Level (L1, L2, or L3).
- Evaluate pipeline configurations against each of the ten OWASP CICD-SEC risk categories.
- Identify concrete misconfigurations, insecure patterns, and missing controls.
- Deliver prioritized, actionable remediation steps with control IDs.
Prerequisites
- Access to CI/CD configuration files (e.g.,
.github/workflows/*.yml,.gitlab-ci.yml,Jenkinsfile,cloudbuild.yaml). - Access to repository settings context (branch protection rules, environment configurations).
- Read access to dependency manifests and lock files for supply-chain analysis.
Frameworks Reference
SLSA v1.0 Build Levels
| Level | Requirements | Key Controls | |
|---|---|---|---|
| SLSA Build L1 | Documentation of the build process exists. The build process is scripted (not manual). | Build steps defined in version-controlled config. | |
| SLSA Build L2 | Hosted build platform. Signed provenance generated by the build service. | Builds run on a managed service (GitHub Actions, Cloud Build, etc.). Provenance metadata is produced and signed. | |
| SLSA Build L3 | Hardened builds. Build environment is isolated, ephemeral, and parameterless. Builds cannot influence one another. | Isolated runners, no shared caches across trust boundaries, hermetic builds, non-falsifiable provenance. |
OWASP Top 10 CI/CD Security Risks
| Control ID | Risk Name | |
|---|---|---|
| CICD-SEC-1 | Insufficient Flow Control Mechanisms | |
| CICD-SEC-2 | Inadequate Identity and Access Management | |
| CICD-SEC-3 | Dependency Chain Abuse | |
| CICD-SEC-4 | Poisoned Pipeline Execution (PPE) | |
| CICD-SEC-5 | Insufficient PBAC (Pipeline-Based Access Controls) | |
| CICD-SEC-6 | Insufficient Credential Hygiene | |
| CICD-SEC-7 | Insecure System Configuration | |
| CICD-SEC-8 | Ungoverned Usage of 3rd Party Services | |
| CICD-SEC-9 | Improper Artifact Integrity Validation | |
| CICD-SEC-10 | Insufficient Logging and Visibility |
Process
Step 1: Discovery -- Locate Pipeline Configurations
Use Glob to locate all CI/CD configuration files in the repository.
Patterns to search:
Also locate supporting security configuration:
Record all discovered files. If no CI/CD configurations are found, report that finding and halt.
Step 2: SLSA Build Level Determination
Read each pipeline configuration file and evaluate against SLSA v1.0 build track requirements.
SLSA Build L1 Checklist
- [ ] Build process is defined in version-controlled configuration (not ad-hoc scripts run manually).
- [ ] Build steps are scripted and reproducible.
- [ ] Build inputs (source repo, branch/ref) are documented in the configuration.
SLSA Build L2 Checklist
- [ ] Builds execute on a hosted/managed build platform (GitHub Actions, GitLab CI SaaS, Cloud Build, etc.).
- [ ] Build service generates signed provenance (e.g., using
actions/attest-build-provenance, Sigstore, or in-toto). - [ ] Provenance includes: builder identity, source reference, build configuration reference, and build timestamp.
SLSA Build L3 Checklist
- [ ] Build environments are ephemeral (fresh VM/container per build, no persistent state).
- [ ] Builds are isolated from one another (no shared writable caches across trust boundaries).
- [ ] Build configuration is fetched from a verified source (not from user-controlled inputs).
- [ ] Provenance is non-falsifiable (generated by the build platform, not user-defined steps).
- [ ] No use of self-hosted runners in security-critical build paths (unless hardened and ephemeral).
Determination logic: The repository achieves the highest level for which ALL checklist items are satisfied. Partial compliance at a given level means the repository remains at the level below.
Step 3: OWASP CICD-SEC Risk Evaluation
Evaluate each CICD-SEC control by inspecting pipeline configurations for the specific patterns described below.
CICD-SEC-1: Insufficient Flow Control Mechanisms
What to look for:
- Workflows that can push to protected branches without required reviews.
- Missing or insufficient branch protection rules (no required reviewers, no status checks).
- Workflows that auto-merge without approval gates.
- Deployment pipelines that lack manual approval steps for production.
- Missing environment protection rules on production/staging environments.
Grep patterns:
Finding format: Report whether deployments to production require human approval, whether branch protection enforces review requirements, and whether any workflow can bypass flow controls.
CICD-SEC-2: Inadequate Identity and Access Management
What to look for:
- Overly permissive
permissionsblocks in GitHub Actions (or absence of permissions, which defaults to read-write). - Use of
permissions: write-allor top-level write permissions without scoping. - Shared service accounts across environments.
- Missing
CODEOWNERSfile or broad ownership patterns. - Workflows that do not pin the
GITHUB_TOKENto minimum required permissions.
Specific patterns in GitHub Actions:
Finding format: Report the effective permission model, whether least-privilege is enforced, and whether identity controls (CODEOWNERS, required reviewers) are in place.
CICD-SEC-3: Dependency Chain Abuse
What to look for:
- Missing dependency lock files (
package-lock.json,poetry.lock,go.sum,Cargo.lock). - No Dependabot or Renovate configuration for automated dependency updates.
- Use of floating version ranges in dependency manifests without lock files.
- Missing integrity checks (no
npm civsnpm install, no--frozen-lockfile). - Dependency confusion risk: private package names that could be squatted on public registries.
Grep patterns:
Finding format: Report dependency pinning status, lock file presence, automated update tooling, and whether install commands use locked/frozen modes.
CICD-SEC-4: Poisoned Pipeline Execution (PPE)
What to look for -- this is a critical control:
- Direct PPE: Use of
pull_request_targettrigger with explicit checkout of PR head code. This is the single most dangerous GitHub Actions pattern because it runs PR code with write permissions and secret access.
- Indirect PPE: Workflows that execute scripts, Makefiles, or config files that exist in the repository and can be modified by a pull request.
- Public fork access: Whether the repository allows workflows to run on pull requests from forks with access to secrets.
- Injection of untrusted input into shell commands:
Finding format: Report any pull_request_target usage, direct expression injection in run: steps, fork workflow policies, and whether PR code can influence privileged pipelines.
CICD-SEC-5: Insufficient PBAC (Pipeline-Based Access Controls)
What to look for:
- Workflows that have access to production secrets but run on non-production branches.
- Missing GitHub Actions environment protection rules.
- Secrets available to all workflows rather than scoped to specific environments.
- No conditional checks on branch or environment before accessing sensitive resources.
- Self-hosted runners shared across repositories with different trust levels.
Grep patterns:
Finding format: Report whether secrets and deployment capabilities are scoped to appropriate environments and branches, and whether runner infrastructure is properly segmented.
CICD-SEC-6: Insufficient Credential Hygiene
What to look for:
- Secrets printed to logs (via
echo, debug mode, or error messages). - Long-lived credentials (API keys, service account keys) instead of short-lived tokens (OIDC, workload identity federation).
- Secrets passed as command-line arguments (visible in process listings).
- Hardcoded credentials in pipeline configuration files.
- Missing secret rotation policies.
Grep patterns:
Finding format: Report credential types in use (long-lived vs. short-lived), whether OIDC/workload identity is used where available, and any secrets exposed in logs or command arguments.
CICD-SEC-7: Insecure System Configuration
What to look for:
- Self-hosted runners without hardening (not ephemeral, shared across repos).
- Debug mode enabled in production workflows (
ACTIONS_RUNNER_DEBUG,ACTIONS_STEP_DEBUG). - Insecure runner images or outdated runner versions.
- Missing network controls on build infrastructure.
- Docker-in-Docker without appropriate security boundaries.
Grep patterns:
Finding format: Report runner configuration security, debug settings, and any privileged operations in the build environment.
CICD-SEC-8: Ungoverned Usage of 3rd Party Services
What to look for:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devsecops/pipeline-security/SKILL.md
Popularity
- Repository stars
- 76
- Repository forks
- 133
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Oct 2026, a month ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/unitoneai/securityskills/pipeline-security)