Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Azure Pipelines Security Audit

    1

    CI/CD pipelines often run on agents with high-privilege service connections, making them a prime target for script injection and credential theft.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Azure Pipelines Security Audit

    Azure Pipelines Security Audit

    Example session with this skill installed

    Audit the Azure Pipelines config in ./deploy/ci-cd for the 'AcmePay' project. Use hex code #22c55e for the accent color.

    • Read your context and instructions
    • Compiled the azure pipelines security
    • Generated the document

    I have completed the security audit for the

    AcmePay project. The scan analyzed the configuration files in the ./deploy/ci-cd directory.

    The audit identifies several critical risks related to script injection and artifact exposure. A visual score-card has been generated at scan-2024-05-20.png.

    Audit Results: AcmePay

    Score: 24/100
    Grade: F
    Risk Level: CRITICAL
    Total findings: 28

    CheckScoreStatus
    Script Injection0/15FAIL: Untrusted $(Build.SourceBranchName) used in bash step
    Secrets in Config5/15WARN: Hardcoded secret found in variables block
    Task Pinning5/10WARN: vmImage: ubuntu-latest is floating
    Trigger Scope4/10WARN: Trigger is unscoped and runs on all branches
    Checkout Hygiene0/10FAIL: persistCredentials: true set on checkout step
    Deploy Gating0/10FAIL: Production job lacks environment or PR condition
    Artifact Exposure0/10FAIL: PublishPipelineArtifact path includes .pem files
    Pool Security5/10WARN: Self-hosted pool exposed to untrusted pull requests
    Job Resilience5/5PASS
    Template Pinning0/5FAIL: Template reference is unpinned

    Top 3 Prioritized Fixes

    Sanitize Script Inputs: Move $(Build.SourceBranchName) from inline bash scripts to mapped environment variables to prevent injection.
    2. Gate Deployments: Add an environment: production property to the 'Deploy' job to enforce manual approvals.
    3.

    Pin Virtual Machine Images: Replace ubuntu-latest with a specific version like ubuntu-22.04 to ensure build reproducibility.

    The full detailed report is available at scan-report.md.

    Clean demo project

    Score: 100/100
    Grade: A
    Risk Level: NONE
    Total findings: 0 — all 10 checks pass.

    Next steps

    • Review the scan-report.md file for exact line numbers of the script injection vulnerabilities.
    • Map sensitive variables to the env: block in your YAML rather than using macro interpolation.
    • Re-run the scan after applying fixes to update your security grade.

    scan-2024-05-20.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    CI/CD pipelines often run on agents with high-privilege service connections, making them a prime target for script injection and credential theft. This skill audits your Azure Pipelines configuration to identify security gaps before they are exploited.

    What it does

    • Detects script injection by identifying untrusted fork-controlled variables like $(Build.SourceBranch) used in shell steps.
    • Finds hardcoded secrets across variables blocks, task inputs, and environment variables.
    • Enforces version pinning for tasks using @major tags and container images to prevent supply chain attacks.
    • Audits deployment gates to ensure production jobs use environment-specific approvals or PR exclusions.
    • Scans artifact exposure to prevent accidental publishing of .env, .pem, or SSH keys.
    • Evaluates pool security to ensure self-hosted agents are not exposed to untrusted pull requests.

    How it works

    1. Provide the local path to the project directory containing your azure-pipelines.yml.
    2. The scanner runs a local analysis of the configuration files without uploading data or calling external APIs.
    3. Review the generated visual score-card (PNG) and the detailed Markdown security report.
    4. Apply the prioritized fixes, starting with high-impact risks like secret leaks and gated deployments.

    Frameworks & tools

    This skill is built for Azure DevOps (Azure Pipelines) and analyzes YAML-based pipeline configurations. It uses a Python-based scanner to evaluate 10 specific security domains.

    Why this beats prompting it yourself

    Generic LLM prompts often miss the nuances of Azure-specific variables that allow for script injection from forks. This skill uses a structured 10-check scoring system (0-100) to provide a repeatable, objective audit rather than subjective advice.

    Use cases

    • Auditing a new pipeline configuration before pushing it to a production repository.
    • Reviewing third-party or tutorial YAML files for hidden security risks.
    • Generating a shareable security score-card for client reports or compliance checks.
    • Continuous monitoring of CI/CD security posture during local development.

    Known limitations

    The skill audits local YAML files only and cannot scan live Azure DevOps organization settings, variable groups, or service connection permissions. Files over 2 MB are skipped.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Local YAML audit only. No access to live Azure DevOps API, variable groups, or environment approvals. Skips files over 2 MB and directories like node_modules.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    The skill identifies hidden risks unique to Azure DevOps, such as script injection through $(Build.SourceBranch) variables, unpinned task versions (@v1 vs @v1.2.3), and accidental exposure of .pem or .env files in build artifacts.

    No, this skill performs a local analysis of your YAML files. It does not require access to your Azure DevOps organization, nor does it upload your configuration data to external servers or APIs.

    This skill is designed for use with AI agents that have local file system access, such as ChatGPT Plus (with Code Interpreter/Advanced Data Analysis) or local IDE-based agents like Claude Dev or AutoGPT.

    The audit generates a high-level visual PNG scorecard (0-100) for quick reporting and a detailed Markdown file containing prioritized remediation steps for every security vulnerability found.

    The current version is optimized for YAML-based Azure Pipelines; it does not support the older Classic (Visual Designer) pipelines or GitHub Actions configurations.

    New in LLM Ops