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
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/microsoft/owasp-cicd/downloadUnzip 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)
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.01through10— 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
- ATTRIBUTION.mdAdded by AutoGineer975 B
- LICENSEAdded by AutoGineer17.9 KiB
- SKILL.md2.6 KiB
- references/00-vulnerability-index.md2.8 KiB
- references/01-insufficient-flow-control-mechanisms.md5.2 KiB
- references/02-inadequate-identity-access-management.md6.0 KiB
- references/03-dependency-chain-abuse.md5.9 KiB
- references/04-poisoned-pipeline-execution.md6.9 KiB
- references/05-insufficient-pbac.md5.6 KiB
- references/06-insufficient-credential-hygiene.md6.1 KiB
- references/07-insecure-system-configuration.md5.9 KiB
- references/08-ungoverned-usage-of-3rd-party-services.md6.5 KiB
- references/09-improper-artifact-integrity-validation.md5.7 KiB
- references/10-insufficient-logging-visibility.md6.5 KiB
references/09-improper-artifact-integrity-validation.md
title: 'CICD-SEC-9: Improper Artifact Integrity Validation' description: OWASP CI/CD Top 10 reference for artifact integrity validation vulnerabilities including unsigned artifacts and missing provenance
09 Improper Artifact Integrity Validation
Identifier: CICD-SEC-9:2025 Category: Artifact Integrity
Description
Improper artifact integrity validation risks allow an attacker with access to one of the systems in the CI/CD process to push malicious (although seemingly benign) code or artifacts down the pipeline, due to insufficient mechanisms for ensuring the validation of code and artifacts.
CI/CD processes consist of multiple steps, ultimately responsible for taking code all the way from an engineer's workstation to production. There are multiple resources being fed into each step, combining internal resources and artifacts with third-party packages and artifacts fetched from remote locations. The fact that the ultimate resource is reliant upon multiple sources spread across different steps, provided by multiple contributors, creates multiple entry points through which this ultimate resource can be tampered with.
If a tampered resource is able to infiltrate the delivery process without raising suspicion or encountering security gates, it will most likely continue flowing through the pipeline, all the way to production, in the guise of a legitimate resource.
Risk
A malicious artifact shipped through the pipeline can result in the execution of malicious code on systems within the CI/CD process or in production.
Unsigned or unverified code commits can introduce tampered code without attribution.
Tampered artifacts persisting across pipeline stages can compromise downstream systems.
Third-party resources fetched without hash verification can be substituted with malicious versions.
Configuration drifts between deployed resources and CI/CD-managed templates may indicate unauthorized changes deployed by untrusted sources.
Vulnerability checklist
Code commits are not signed and the pipeline does not enforce commit signature verification.
No artifact signing infrastructure exists to sign resources generated during the pipeline.
Artifacts are not verified against a signing authority before being consumed in subsequent pipeline stages.
Third-party resources fetched during build or deploy are not verified against published hashes.
No configuration drift detection exists for production resources versus their CI/CD source definitions.
Pipeline stages accept artifacts from untrusted sources without integrity checks.
Container images used in production are not signed or verified before deployment.
No software bill of materials (SBOM) is generated or tracked for pipeline-produced artifacts.
Prevention controls
Implement code signing and enforce signature verification on all commits before they enter the pipeline.
Sign all artifacts generated during the pipeline using an external resource signing infrastructure.
Verify artifact integrity against the signing authority before consuming resources in subsequent pipeline stages.
Calculate and cross-reference hashes of third-party resources against the official published hashes of the resource provider before use in build or deploy pipelines.
Implement configuration drift detection for production resources, alerting on resources that are not managed through a signed infrastructure-as-code template.
Generate and track software bills of materials for all pipeline-produced artifacts.
Enforce container image signing and verification before deployment to any environment.
Example attack scenarios
Scenario A — Tampered build artifact
An attacker gains access to the build server and modifies the application binary after it is compiled but before it is uploaded to the artifact repository. No signing or integrity validation exists between the build and deploy stages. The tampered binary is picked up by the deployment pipeline and deployed to production, executing the attacker's backdoor code on production servers.
Scenario B — Compromised third-party script
A CI pipeline fetches a third-party script from an external URL during the build process to perform a specific build task. An attacker gains access to the hosting environment of the third-party script and replaces it with a malicious version. Because the pipeline does not verify the script's hash against a known-good value, the compromised script is executed during the next build, stealing credentials and injecting a backdoor into the build output.
Detection guidance
Audit pipeline configurations for stages that consume artifacts without integrity verification.
Monitor for unsigned commits entering protected branches.
Detect configuration drifts between production resources and their CI/CD source definitions.
Compare hashes of fetched third-party resources against known-good reference values.
Track artifact provenance across pipeline stages and alert on artifacts without valid signatures.
Monitor for container images deployed without valid signatures.
Remediation
Deploy an artifact signing infrastructure and integrate signing into all pipeline stages.
Enforce commit signature verification on all branches feeding into CI/CD pipelines.
Implement hash verification for all third-party resources fetched during pipeline execution.
Deploy configuration drift detection tooling for all production environments.
Establish a policy requiring all artifacts to be signed before entering subsequent pipeline stages.
Implement container image signing and enforce verification before deployment.
Generate and maintain SBOMs for all artifacts produced by CI/CD pipelines.
Audit and remediate all existing pipeline stages that currently lack integrity validation.
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.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-cicd.zip