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/08-ungoverned-usage-of-3rd-party-services.md


title: 'CICD-SEC-8: Ungoverned Usage of 3rd Party Services' description: OWASP CI/CD Top 10 reference for ungoverned third-party service usage including excessive permissions and unaudited integrations

08 Ungoverned Usage of 3rd Party Services

Identifier: CICD-SEC-8:2025 Category: Third-Party Governance

Description

The CI/CD attack surface consists of an organization's organic assets, such as the SCM or CI, and the third-party services which are granted access to those organic assets. Risks having to do with ungoverned usage of third-party services rely on the extreme ease with which a third-party service can be granted access to resources in CI/CD systems, effectively expanding the attack surface of the organization.

Third-party applications can be connected through many methods depending on the platform, including marketplace applications, OAuth applications, provisioned access tokens, provisioned SSH keys, and webhook events. Each method takes seconds to minutes to implement and can grant third parties numerous capabilities, ranging from reading code in a single repository to fully administering the organization. In many cases no special permissions or approvals are required by the organization prior to implementation.

Build systems also allow easy integration of third parties by adding one or two lines of code to the pipeline configuration file or installing a plugin from a marketplace. The third-party functionality is imported and executed as part of the build process with full access to whatever resources are available from the pipeline stage.

Organizations face significant challenges in obtaining full visibility around which third parties have access to different systems, what methods of access they have, what level of permissions they have been granted, and what level of permissions they actually use.

Risk

  • Organizations are only as secure as the third parties they implement.

  • Insufficient RBAC and least privilege around third parties, coupled with minimal governance and diligence, significantly increase the organization's attack surface.

  • Compromise of a single third party can cause damage far outside the scope of the system the third party is connected to.

  • Third parties with write permissions on a repository can be leveraged to push code that triggers a build and runs malicious code on the build system.

  • Third parties integrated into build processes execute with full access to pipeline stage resources including secrets.

  • Lack of visibility over the actual permissions used by third parties versus permissions granted prevents effective access control.

Vulnerability checklist

  • Third-party services are granted access to CI/CD systems without a formal approval or vetting process.

  • Third-party permissions exceed the minimum required for their function.

  • No comprehensive inventory exists of all third parties integrated with CI/CD systems.

  • Third-party integrations are not reviewed for all methods of access (marketplace apps, OAuth, tokens, SSH keys, webhooks).

  • Third parties integrated into build processes run without scoped access to secrets and code.

  • No ingress or egress filters exist for third-party components executing within pipelines.

  • Unused or redundant third-party integrations are not periodically removed.

  • Third-party integrations lack predetermined expiry or review dates.

Prevention controls

  1. Establish vetting procedures to ensure third parties are approved prior to being granted access and that their permissions align with the principle of least privilege.

  2. Introduce controls and procedures to maintain continuous visibility over all third parties integrated to CI/CD systems, including method of integration, permissions granted, and permissions actually used.

  3. Limit and scope each third party to the specific resources it requires access to.

  4. Ensure third parties executing as part of the build process run inside a scoped context with limited access to secrets and code, and with strict ingress and egress filters.

  5. Remove unused and redundant third-party permissions.

  6. Periodically review all third-party integrations and deprovision those no longer in use.

  7. Require predetermined expiry dates for third-party access grants.

Example attack scenarios

Scenario A — Compromised code coverage tool

A popular code coverage tool is integrated into the CI pipeline through a marketplace application. The tool's infrastructure is compromised by an attacker, who modifies the tool's script to exfiltrate environment variables from builds. Since the tool executes within the build context with access to all pipeline secrets, the attacker steals credentials for cloud providers, artifact registries, and the SCM from every organization using the compromised tool.

Scenario B — OAuth token theft from analytics platform

A git analytics platform is granted OAuth access to the organization's GitHub repositories for code analysis. An attacker gains access to the analytics platform's database and steals the stored OAuth tokens for all customers. The attacker uses the tokens to access and modify source code in production repositories, inject backdoors, and trigger deployment pipelines.

Detection guidance

  • Enumerate all third-party integrations across CI/CD systems, covering all methods of access (marketplace apps, OAuth applications, access tokens, SSH keys, webhooks).

  • Compare permissions granted to each third party against permissions actually used.

  • Monitor third-party activity logs for unexpected access patterns.

  • Alert on new third-party integrations being added without going through the approval process.

  • Audit pipeline configurations for third-party components that execute with pipeline-level credentials.

  • Review webhook configurations for endpoints that are no longer maintained or recognized.

Remediation

  • Conduct a comprehensive inventory of all third-party integrations across every CI/CD system.

  • Remove all third-party integrations that are unused, redundant, or unrecognized.

  • Reduce permissions of remaining third-party integrations to the minimum required.

  • Implement an approval workflow for new third-party integrations with mandatory security review.

  • Scope third-party components in build pipelines to isolated contexts with restricted secret access and network filtering.

  • Establish expiry dates on all third-party access grants and implement periodic re-certification.

  • Rotate all credentials that third-party services have had access to after removing unnecessary integrations.

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