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/10-insufficient-logging-visibility.md
title: 'CICD-SEC-10: Insufficient Logging and Visibility' description: OWASP CI/CD Top 10 reference for insufficient logging and visibility vulnerabilities including blind spots and inadequate audit trails
10 Insufficient Logging and Visibility
Identifier: CICD-SEC-10:2025 Category: Logging and Visibility
Description
Insufficient logging and visibility risks allow an adversary to carry out malicious activities within the CI/CD environment without being detected during any phase of the attack kill chain, including identifying the attacker's TTPs (Techniques, Tactics, and Procedures) as part of any post-incident investigation.
The existence of strong logging and visibility capabilities is essential for an organization's ability to prepare for, detect, and investigate a security-related incident. While workstations, servers, network devices, and key IT and business applications are typically covered in depth within an organization's logging and visibility programs, it is often not the case with systems and processes in engineering environments.
Given the amount of potential attack vectors leveraging engineering environments and processes, it is imperative that security teams build the appropriate capabilities to detect these attacks as soon as they happen. As many of these vectors involve leveraging programmatic access against the different systems, a key aspect is to create strong levels of visibility around both human and programmatic access.
Both audit logs (user access, user creation, permission modification) and applicative logs (push events, build executions, artifact uploads) are equally important for maintaining sufficient visibility.
Risk
Organizations that do not ensure appropriate logging and visibility around engineering environments may fail to detect a breach entirely.
Minimal investigative capabilities create great difficulties in mitigation and remediation after a breach.
Time and data are the most valuable commodities during incident response, and the absence of all relevant data sources in a centralized location can be the difference between a successful and devastating outcome.
Attackers can operate undetected for extended periods within CI/CD systems.
Post-incident analysis is severely hampered without comprehensive audit trails across all CI/CD systems.
Inability to correlate events across SCM, CI, artifact repositories, and deployment systems prevents detection of multi-stage attacks.
Vulnerability checklist
No complete inventory exists of all CI/CD systems, including all instances of self-managed systems.
Audit logs are not enabled on all CI/CD systems, or are not enabled to their full extent.
Applicative logs (pipeline execution, artifact operations, code operations) are not captured.
Logs from CI/CD systems are not shipped to a centralized location such as a SIEM.
No alerts exist to detect anomalies or potential malicious activity in CI/CD systems.
Programmatic access to CI/CD systems is not logged or monitored to the same degree as human access.
No correlation rules exist to detect anomalies across the code shipping process involving multiple systems.
Log retention periods are insufficient for investigation of incidents discovered with a delay.
Prevention controls
Build and maintain a comprehensive inventory of all CI/CD systems in use, including every instance of self-managed systems.
Identify and enable all relevant log sources across every CI/CD system, covering both human and programmatic access through all available methods.
Enable both audit log sources (user access, user creation, permission changes) and applicative log sources (push events, build executions, artifact operations).
Ship all CI/CD logs to a centralized location such as a SIEM to support aggregation and correlation across systems.
Create alerts to detect anomalies and potential malicious activity within each system as well as across the code shipping process spanning multiple systems.
Ensure log retention periods are sufficient for post-incident investigation requirements.
Monitor programmatic access with the same rigor as human access.
Example attack scenarios
Scenario A — Undetected credential exfiltration
An attacker compromises a CI pipeline through a poisoned dependency and exfiltrates credentials stored as environment variables. Because no logging exists for outbound network connections from build nodes and pipeline execution events are not shipped to a centralized monitoring system, the credential theft goes undetected. The attacker uses the stolen credentials for months, laterally moving across production environments, before the breach is discovered through an unrelated investigation.
Scenario B — Delayed incident response due to missing logs
A build server is compromised and used to inject a backdoor into production artifacts. When the compromise is eventually discovered, the incident response team attempts to reconstruct the attack timeline. However, audit logs were not enabled on the CI system, and execution logs were retained for only seven days. The team cannot determine when the compromise began, what credentials were accessed, or which artifacts were affected, leading to a full rebuild of all production infrastructure.
Detection guidance
Verify that all CI/CD systems have audit and applicative logging enabled and configured.
Confirm that logs from all CI/CD systems are being shipped to and received by the centralized SIEM.
Test alert rules by simulating anomalous activities across CI/CD systems.
Periodically review log coverage to identify CI/CD systems or event types that are not being captured.
Validate that programmatic access events (API calls, token usage, webhook invocations) are logged.
Confirm log retention periods meet investigation requirements.
Remediation
Conduct a comprehensive inventory of all CI/CD systems and instances, identifying gaps in log coverage.
Enable all audit and applicative log sources on every CI/CD system.
Configure log shipping from all CI/CD systems to the centralized SIEM or logging platform.
Develop and deploy detection rules and alerts for anomalous activity across CI/CD systems, including multi-system correlation rules.
Extend log retention periods to meet organizational incident investigation requirements.
Ensure programmatic access is logged and monitored at parity with human access.
Conduct periodic log coverage reviews to catch newly-added systems or configuration drifts.
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