owasp-cicd

Identifies, assesses, and remediates CI/CD pipeline security risks using the OWASP Top 10.

1.4k|284|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/microsoft/hve-core --skill owasp-cicd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: owasp-cicd
Source: https://github.com/microsoft/hve-core/tree/main/.github/skills/security/owasp-cicd
Command: npx skills add https://github.com/microsoft/hve-core --skill owasp-cicd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CI/CD pipelines are high-value attack targets, but most teams lack a structured way to identify and fix pipeline security weaknesses. This Skill encodes the OWASP Top 10 CI/CD Security Risks as machine-readable references so an agent can systematically assess and remediate pipeline vulnerabilities.

Core Features & Use Cases

  • Structured Vulnerability Knowledge Base: Provides ten normative reference documents covering risks from insufficient flow control to inadequate logging, each with description, risk, checklist, prevention controls, attack scenarios, detection guidance, and remediation steps.
  • Assessment Checklists: Each risk includes a vulnerability checklist that maps directly to observable pipeline misconfigurations, enabling systematic audits of SCM, CI, and artifact systems.
  • Use Case: While reviewing a GitHub Actions workflow, ask the agent to check for Poisoned Pipeline Execution (CICD-SEC-4) exposure; it consults the reference and returns concrete risks, detection signals, and remediation steps such as isolating unreviewed-code pipelines and protecting CI configuration files.

Quick Start

Assess my CI/CD pipeline configuration against the OWASP CI/CD Top 10 and list any vulnerabilities with remediation steps.

Frequently Asked Questions about owasp-cicd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I assess CI/CD pipeline security risks?

Use the OWASP CI/CD Top 10 framework to systematically review your pipeline against ten risk categories, from insufficient flow control to inadequate logging. Each category includes a vulnerability checklist you can map to your SCM, CI, and artifact repository configurations.

What is poisoned pipeline execution and how do I prevent it?

Poisoned Pipeline Execution (CICD-SEC-4) occurs when an attacker with source control access injects malicious commands into CI configuration or referenced files. Prevent it by isolating pipelines running unreviewed code, protecting CI configuration files, and scoping pipeline credentials minimally.

What are the OWASP Top 10 CI/CD security risks?

The ten risks are: insufficient flow control, inadequate identity and access management, dependency chain abuse, poisoned pipeline execution, insufficient PBAC, insufficient credential hygiene, insecure system configuration, ungoverned third-party usage, improper artifact integrity validation, and insufficient logging and visibility.

How do I prevent dependency confusion attacks in build pipelines?

Route all package fetches through an internal proxy, register internal package names under your organization's scope, pin dependency versions with lock files, and enable checksum and signature verification. Run pre-install scripts in isolated contexts without access to secrets.

Does this skill work with GitHub Actions and Jenkins?

Yes, the reference guidance is platform-agnostic and includes example scenarios for GitHub Actions workflows and Jenkins pipelines. The checklists and controls apply to any SCM, CI server, or artifact repository, whether self-managed or SaaS.

What are the limitations of a knowledge-base security skill?

This skill provides reference guidance rather than automated scanning; it does not execute tools or directly inspect your infrastructure. You must apply its checklists and detection guidance manually or pair it with dedicated scanning and monitoring tools.