Generated banner for Owasp Cicd
Generated logo for Owasp Cicd

Owasp Cicd

MicrosoftOfficialPublished by Microsoft

  • Skill
  • Guidelines
  • Security
  • CC-BY-SA-4.0
  • No issues found

From the author

OWASP CI/CD Top 10 knowledge base for identifying, assessing, and remediating CI/CD pipeline security risks.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The owasp-cicd skill provides a machine-readable reference library derived from the OWASP Top 10 CI/CD Security Risks project. It is designed to assist AI agents in evaluating pipeline security by offering standardized definitions, risk assessments, and remediation strategies for common vulnerabilities such as dependency chain abuse, insufficient flow control, and inadequate identity management. Each vulnerability is documented with specific checklists, attack scenarios, and defensive controls to support security auditing and hardening of CI/CD environments.

What it does

  • Provides structured documentation for the 10 most critical CI/CD security risks.
  • Offers vulnerability checklists to identify potential exposure in pipeline configurations.
  • Details specific prevention controls and remediation steps for each risk category.
  • Includes realistic attack scenarios to help visualize potential exploitation paths.
  • Supplies detection guidance to help identify security signals within CI/CD systems.

When to use it

  • When auditing CI/CD pipeline configurations for security gaps.
  • When developing security policies for automated build and deployment processes.
  • When assessing the risk profile of existing supply chain and deployment workflows.
  • When training or prompting an agent to perform security reviews of infrastructure-as-code or pipeline definitions.

Advantages

  • Standardized, machine-readable format facilitates integration into automated security workflows.
  • Derived from the authoritative OWASP CI/CD Security project.
  • Covers both immediate remediation and long-term defensive strategies.
  • Provides clear, actionable guidance for complex security topics like artifact integrity and credential hygiene.

Usage examples

“What are the risks associated with insufficient flow control in our CI/CD pipeline?”
The agent retrieves the CICD-SEC-1 reference, outlining risks like unauthorized code pushes and deployment bypasses, and provides a checklist to verify branch protection rules.
“How can we prevent dependency chain abuse in our build process?”
The agent accesses the CICD-SEC-3 documentation to provide specific prevention controls and detection methods for securing the software supply chain.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/microsoft/owasp-cicd/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip owasp-cicd.zip -d .agents/skills

Documentation by Microsoft

OWASP® CI/CD Top 10 — Skill Entry

This SKILL.md is the entrypoint for the OWASP CI/CD Top 10 skill.

The skill encodes the OWASP Top 10 CI/CD Security Risks as structured, machine-readable references that an agent can query to identify, assess, and remediate CI/CD pipeline security risks.

Normative references (CI/CD Top 10)

  1. 00 Vulnerability Index

  2. 01 Insufficient Flow Control Mechanisms

  3. 02 Inadequate Identity and Access Management

  4. 03 Dependency Chain Abuse

  5. 04 Poisoned Pipeline Execution

  6. 05 Insufficient PBAC

  7. 06 Insufficient Credential Hygiene

  8. 07 Insecure System Configuration

  9. 08 Ungoverned Usage of 3rd Party Services

  10. 09 Improper Artifact Integrity Validation

  11. 10 Insufficient Logging and Visibility

Skill layout

  • SKILL.md — this file (skill entrypoint).

  • references/ — the CI/CD Top 10 normative documents.

    • 00-vulnerability-index.md — index of all vulnerability identifiers, categories, and cross-references.

    • 01 through 10 — one document per vulnerability aligned with OWASP CI/CD Security numbering.

Third-Party Attribution

Copyright © OWASP Foundation. OWASP® Top 10 CI/CD Security Risks content is derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Source: https://owasp.org/www-project-top-10-ci-cd-security-risks/ Modifications: Vulnerability descriptions restructured into agent-consumable reference documents with added detection and remediation guidance. OWASP® is a registered trademark of the OWASP Foundation. Use does not imply endorsement.

Files

references/02-inadequate-identity-access-management.md


title: 'CICD-SEC-2: Inadequate Identity and Access Management' description: OWASP CI/CD Top 10 reference for identity and access management vulnerabilities including overprivileged accounts and stale permissions

02 Inadequate Identity and Access Management

Identifier: CICD-SEC-2:2025 Category: Identity Management

Description

Inadequate identity and access management risks stem from the difficulties in managing the vast amount of identities spread across the different systems in the engineering ecosystem, from source control to deployment. The existence of poorly managed identities, both human and programmatic accounts, increases the potential and the extent of damage of their compromise.

Software delivery processes consist of multiple systems connected together with the aim of moving code and artifacts from development to production. Each system provides multiple methods of access and integration (username and password, personal access tokens, marketplace applications, OAuth applications, plugins, SSH keys). The different types of accounts and methods of access can potentially have their own unique provisioning method, set of security policies, and authorization model. This complexity creates challenges in managing identities throughout the entire identity lifecycle and ensuring their permissions are aligned with the principle of least privilege.

Major concerns include overly permissive identities, stale identities that are no longer active, local identities not federated with a centralized identity provider, external identities registered with unmanaged email domains or belonging to external collaborators, self-registered identities with overly broad default permissions, and shared identities used across multiple humans or applications.

Risk

  • Compromising nearly any user account on any CI/CD system could grant powerful capabilities to the environment and serve as a path into the production environment.

  • Hundreds or thousands of identities across the ecosystem, paired with a lack of strong IAM practices and overly permissive accounts, drastically expand the attack surface.

  • Stale accounts remain valid entry points for attackers long after the original user has departed.

  • Local accounts bypass centralized security policies including MFA enforcement and lockout rules.

  • External collaborator accounts reduce overall security to the level of the external party's environment.

  • Shared identities eliminate accountability and expand credential exposure footprint.

Vulnerability checklist

  • Human or programmatic accounts have permissions beyond what is required for their role.

  • Inactive accounts exist that have not been disabled or removed within the acceptable period.

  • Local user accounts exist on CI/CD systems that are not federated with a centralized IdP.

  • Employees use personal email addresses or domains not owned by the organization.

  • External collaborators have access without predetermined expiry dates.

  • Self-registration is enabled on CI/CD systems with non-zero default permissions.

  • Shared accounts are in use across multiple humans or applications.

  • No periodic review process exists for identity permissions across the ecosystem.

Prevention controls

  1. Conduct continuous analysis and mapping of all identities across all systems within the engineering ecosystem, covering all methods of programmatic access.

  2. Remove permissions not necessary for the ongoing work of each identity across all systems.

  3. Determine an acceptable period for disabling or removing stale accounts and enforce it.

  4. Avoid creating local user accounts; manage identities using a centralized identity provider.

  5. Continuously map all external collaborators and ensure their identities follow least privilege, with predetermined expiry dates for both human and programmatic accounts.

  6. Prevent employees from using personal email addresses or non-organization-owned domains on CI/CD platforms.

  7. Disable self-registration on CI/CD systems and grant permissions on an as-needed basis.

  8. Avoid granting base permissions to all users or large automatically-assigned groups.

  9. Avoid using shared accounts; create dedicated accounts for each specific context with exact required permissions.

Example attack scenarios

Scenario A — Stale account compromise

An engineer leaves the organization but their accounts on the SCM and CI system are not deprovisioned. An attacker compromises the former engineer's credentials through a credential stuffing attack. The stale account still has write access to production repositories, allowing the attacker to push malicious code through the pipeline.

Scenario B — Overly permissive self-registration

A self-managed CI system allows self-registration. New accounts are assigned a base set of permissions that includes access to pipeline configurations and build logs. An attacker self-registers, gains access to the system, and discovers secrets exposed in build logs, which they use to access production cloud environments.

Detection guidance

  • Periodically enumerate all identities across SCM, CI, artifact repositories, and deployment systems, checking for stale, overly permissive, or shared accounts.

  • Monitor for logins from non-organization-owned email domains.

  • Audit self-registration settings and default permission assignments.

  • Alert on identity creation events and permission escalation events across CI/CD systems.

  • Review external collaborator access lists and expiration dates.

Remediation

  • Deprovision all stale accounts across every CI/CD system.

  • Federate all local accounts to the centralized identity provider.

  • Enforce MFA on all human accounts across all CI/CD systems.

  • Remove base permissions from self-registered or automatically-assigned groups.

  • Replace all shared accounts with dedicated, individually-scoped accounts.

  • Establish automated workflows to disable external collaborator access upon contract expiry.

  • Implement periodic access reviews with mandatory re-certification of identity permissions.

Requirements and compatibility

Written for: GitHub Copilot, Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Claude Code frontmatter

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/hve-core · .github/skills/security/owasp-cicd · commit f425e94
Licence
Creative Commons Attribution-ShareAlike 4.0 International (redistribution allowed)
  • LICENSE (written by AutoGineer)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Microsoft or Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-cicd.zip