CI/CD pipeline penetration testing checklist

A buyer's checklist for reviewing a CI/CD pipeline penetration test proposal, organized by the ten OWASP CI/CD risks and SLSA build levels, with the evidence each item should produce.

On this page

Why a CI/CD pipeline penetration test needs its own checklist

When a compliance framework, a customer security review, a product launch or an insurer asks for evidence that the build and deployment pipeline is secure, the buyer usually needs more than a general application test. The pipeline is where source code becomes a released artifact, and it often holds the credentials that reach production, the signing keys that vouch for releases and the permissions that decide who can change any of them. A weakness in one runner, one workflow file or one third-party action can therefore affect every release that passes through it, not just the application it builds. That concentration of trust is why a pipeline test needs its own scope rather than a line item inside a web or cloud assessment.

The checklist in this guide gives buyers a way to test a provider's proposal before signing. It maps coverage to the ten OWASP CI/CD risks (CICD-SEC-1 through CICD-SEC-10) and to the SLSA build levels, so each area the tester plans to examine can be checked against a named risk category and a stated pipeline maturity target. A proposal that cannot say which CICD-SEC identifiers it addresses, or which SLSA build level the pipeline currently meets, is harder to compare with others and harder to use as audit evidence later. Ask the provider to confirm the access they need, such as pipeline configuration, runner details and a test repository, because many of these checks cannot be completed from the outside.

Before commissioning the test, confirm which pipeline platform, runner model and release paths are in scope, and which environments may be touched during testing. Agree in writing how credentials used during the test will be handled and removed afterward. The checklist is most useful when the buyer and provider review it together at the proposal stage, because the gaps they find then are cheaper to close than the ones discovered in the final report.

Which pipelines, runners and accounts belong in scope

A CI/CD penetration test is only as useful as its boundary. Agree the pipelines, runners, accounts and downstream targets in writing before testing starts, so the tester's coverage can be checked against what you actually run.

Source hosting platforms and repositories

List every source hosting platform, organization and repository whose code can trigger a build, including forks, mirrors and archived projects that still hold workflow files. Ask the tester to confirm which branch protections, required reviews and merge rules apply to each one. Repositories that accept external contributions or pull requests from forks deserve explicit attention, because they are the most common entry point for CICD-SEC-4 Poisoned Pipeline Execution.

Pipeline definitions and shared templates

Inventory every pipeline definition file, reusable workflow, shared template and included configuration. A pipeline can inherit risk from a template owned by another team, so templates that many repositories consume belong in scope even when they live in a separate repository. Ask the tester to map which pipelines call which templates and who can change them.

Hosted and self-hosted runners

Separate hosted runners managed by the platform from self-hosted runners in your own network. Self-hosted runners often persist between jobs, sit on internal networks and hold cloud credentials, so isolation between jobs and projects is a core test area. Confirm with the tester whether runner hosts, images, autoscaling groups and their network paths are in scope, and whether the test may run jobs that reach internal systems.

Deployment targets and production access

Name each environment a pipeline can deploy to, including development, staging, production, and any customer-hosted or air-gapped targets. Write down whether the test may exercise production deploys, use production credentials, or trigger rollbacks. Many teams agree to test pipeline logic against a non-production target that mirrors production configuration, and record that choice in the rules of engagement.

Artifact registries and secrets stores

Include the container registries, package repositories and artifact stores that pipelines publish to, and the secrets managers or vaults that supply credentials to jobs. These systems are where CICD-SEC-9 Improper Artifact Integrity Validation and CICD-SEC-6 Insufficient Credential Hygiene show up in practice. Ask the tester to state whether they will attempt to write or overwrite artifacts in a test namespace, and how any test artifacts will be removed afterward.

Roles, service accounts and third-party actions

Define the roles the tester will assume, such as developer, maintainer, reviewer and CI service account, and state which of them receive test credentials. List the third-party actions, plugins, marketplace integrations and OAuth apps connected to the pipelines, since each one is a trust decision under CICD-SEC-8 Ungoverned Usage of 3rd Party Services. Agree in writing that no test account will be granted rights beyond those listed, and that all test accounts will be disabled at the end.

How the engagement runs from scoping to retest

The sequence turns a broad request to test a pipeline into a written scope, a mapped set of test cases, a stated SLSA build level and a retest that shows which fixes held. Each phase produces an artifact the buyer can check before the next one starts.

  1. Agree scope and inventory pipeline assets

    The tester and your team list every pipeline in scope: source repositories, CI/CD platform instances, build runners, deployment targets, artifact registries, signing keys and third-party actions or plugins. The engagement lead records which environments are production-adjacent and which are safe to test, and sets the rules of engagement in writing. The step closes when the asset inventory and rules of engagement are signed off, and the written scope states the timing and the testing windows.

  2. Define accounts, roles and access levels

    Before testing begins, the team agrees which identities the tester will hold, such as a read-only developer account, a contributor who can open pull requests, and a maintainer with access to pipeline configuration. This step covers how the tester is granted and removed access, how secrets are handled during testing, and who on your side can see live findings. The output is a role matrix that maps each account to the controls it exercises, which lets you check that the test reflects how an attacker could actually reach the pipeline.

  3. Map test cases to CICD-SEC risks

    The tester builds a test plan with one group of cases for each OWASP Top 10 CI/CD Security Risk, CICD-SEC-1 through CICD-SEC-10, and notes where a risk does not apply. Cases cover areas such as flow control on protected branches, workflow trigger configuration, dependency and third-party action pinning, credential storage, runner isolation, and log retention. The plan is reviewed by your engineering lead before execution. It is complete when every CICD-SEC identifier has either a planned test or a documented reason for exclusion.

  4. Execute hands-on tests under agreed rules

    The tester runs the planned cases in the agreed environments, following the methodology stages described in NIST SP 800-115, and records evidence for each result. Testing is defensive in purpose: the tester demonstrates whether a weakness exists and how far it reaches, then stops, rather than publishing exploit steps. Any finding that touches live credentials or production deployments is escalated to your named contact immediately. The step is complete when every planned case has a recorded outcome: confirmed, not confirmed, or not applicable.

  5. Assess SLSA build level and provenance

    The tester states which SLSA build level the pipeline currently meets, from L0 to L3 in the Build track, and explains the evidence behind that statement. Where provenance exists, the tester checks whether it is signed by a hosted build platform and whether it could be forged or altered after the build. The assessment also looks at how the build platform isolates builds from each other. The output is a short statement of the current level, the gap to the next level, and the controls needed to close it.

  6. Benchmark recommendations against NIST SSDF

    Each finding is matched to the relevant practice in the NIST Secure Software Development Framework, grouped under Prepare the Organization, Protect the Software, Produce Well-Secured Software or Respond to Vulnerabilities. This shows whether a weakness reflects a missing tool, a missing process or a missing role, which affects the fix. Recommendations are then ranked by the effort they need and the risk they address. The step closes when every finding has a CICD-SEC identifier, a severity, an SSDF reference and a recommended fix.

  7. Deliver the report and agree remediation

    The tester delivers a written report that lists each finding with its CICD-SEC mapping, the evidence, the affected pipeline component, the SLSA level statement and the recommended fix. Your engineers and security leads review it together, and the team agrees which fixes will be made and who owns each one. The report is complete when it has been accepted in writing and the remediation owners are named. Ask in advance whether the report format will suit your auditor or customer reviewers.

  8. Retest fixes and confirm closure

    Once fixes are in place, the tester repeats the test cases that produced the original findings and checks whether each weakness is closed, partly closed or still open. Retest results are added to the report as a dated addendum so the history of each finding is visible. The final output is a closure status for every finding and an updated SLSA level statement. Confirm in your written scope whether retesting is included in the fixed fee or priced separately.

What each OWASP CI/CD risk looks like in a pipeline test

CICD-SEC-1 (Insufficient Flow Control Mechanisms) and CICD-SEC-2 (Inadequate Identity and Access Management) are the entry points to the OWASP CI/CD risk list. A tester checks whether a change can move from a commit to production without the review and approval the organization intended, and whether the people and automated accounts that drive the pipeline hold only the access they need.

  • Flow control gates: Map which branches, tags and pull requests can trigger builds and deployments, and whether production paths require approval from someone other than the change author. Evidence includes branch protection exports, required reviewer settings and environment approval rules.
  • Bypass paths: Check whether manual runs, scheduled jobs or triggers from external contributions reach deployment without the same gates. Evidence is a list of trigger types for each workflow, compared with the documented release process.
  • Human identities: Review single sign-on enforcement, multi-factor authentication, offboarding and who holds administrator rights on the CI/CD platform. Evidence includes member and role exports and the most recent access review.
  • Service identities: Map bot accounts, personal access tokens and federated trust relationships to the repositories and environments each one can reach. Evidence is a token inventory with owners, scopes and last-use dates.

Ask for the intended permission matrix before testing starts, so the tester can compare documented access with actual access.

What drives the cost and duration of a pipeline test

This table compares the main drivers that change the effort, cost and calendar time of a CI/CD pipeline penetration test, and marks which ones are paid once and which recur. Use it to check that a tester's quote reflects the pipelines, runners and assurance depth you actually need. The main takeaway is that grouping similar pipelines and fixing the SLSA target early usually does more to control cost than cutting test depth.

DriverWhy it changes effortOne-time or recurringHow to keep it down or what to ask for
Number of pipelines and repositoriesEach distinct pipeline needs its own workflow review, trigger analysis and permission mapping, so effort rises with the count.One-time for the test, recurring if retested after changesGroup pipelines that share templates or reusable workflows and ask the tester to state how many are sampled versus fully tested.
Runner typesHosted, self-hosted and ephemeral runners have different isolation, persistence and network paths that each need checking.One-timeInventory runner types in advance and ask whether self-hosted runners are in scope or only reviewed by configuration.
Environments testedBuild, staging and production deployment stages each carry different credentials and approval gates.One-timeLimit scope to environments that hold production secrets or deploy to regulated systems, and confirm test accounts are provided.
Roles and identities testedEach role, service account and bot identity needs its own privilege and access review, which is where Identity and Access Management and PBAC gaps usually appear.One-timeProvide a current list of roles and service accounts. Ask the tester to name which roles it will attempt to abuse under written rules.
Depth of poisoned pipeline execution testingAssessing whether untrusted input such as pull requests or forks can reach privileged build steps requires tracing triggers, code paths and secret exposure.One-time, with recurring effort when new triggers are addedAsk whether the test is configuration and workflow analysis only or includes controlled attempts in a non-production pipeline. Confirm the approach in writing.
SLSA assessment depthTesting provenance forgery and signing at Build L1 is different from testing hosted-platform signing at L2 or hardened build platform isolation at L3, which needs access to platform settings and vendor documentation.One-time, with recurring effort at each level changeAgree the target SLSA build level up front. The SLSA levels page defines each level's requirements, so ask the tester to map findings to the level the pipeline currently meets.
Access and documentation providedTesters spend more time when they must rediscover pipeline design, approvals and configuration that the team can supply directly.One-timePrepare pipeline diagrams, workflow files, branch protection settings and a named contact for questions before testing starts.
RetestA retest checks whether each fix holds. Effort depends on the number of findings and whether fixes change the pipeline design.Recurring with each remediation cycleAsk whether the quote includes one retest round, how findings are tracked to CICD-SEC identifiers and what counts as closed.

What the report should contain for an auditor or customer

A CI/CD penetration test report should let a customer or auditor trace each finding to a named risk, a build level and a fix. The cards below describe the sections to expect and how each one should be read, including what a letter of testing does not establish.

Findings mapped to CICD-SEC identifiers

Each finding should carry the OWASP CI/CD risk it falls under, such as CICD-SEC-4 Poisoned Pipeline Execution or CICD-SEC-6 Insufficient Credential Hygiene. The mapping lets a reviewer group results by risk area and compare them with the ten-risk list used in the test plan. Ask the tester to show the mapping for every finding, and to flag any finding that spans two risks instead of forcing it into one.

Risk identifiers
CICD-SEC-1 to 10
OWASP CI/CD risks

SLSA build level with reasoning

The report should state which SLSA Build level the pipeline currently meets, and explain why. Provenance that exists but can be forged only meets Build L1, while signed provenance from a hosted build platform is the Build L2 requirement and a hardened build platform is the Build L3 requirement. Reviewers should check that the tester tested the claim, not only read the build configuration.

SLSA security levels

Severity ratings with stated basis

Each finding needs a severity rating and a short basis for it, such as whether the affected pipeline deploys to production or holds signing keys. A bare label without context cannot be compared across findings or with the client's own risk register. Ask the tester to state the rating method in the report and to say where the client's business context changed a rating.

Reproduction context at a defensive level

Findings should describe the condition that was observed, the pipeline stage affected and the evidence collected, such as a workflow file, a permission setting or a log gap. The report should not include working exploit code, payloads or step-by-step attack commands. Ask for enough detail that the client's engineers can confirm the condition in their own repositories.

Fixes tied to NIST SSDF practices

Each recommended fix should name the NIST SSDF practice it supports, such as a Protect the Software (PS) or Produce Well-Secured Software (PW) practice. This gives the client a path to show how the fix addresses a recognized practice, rather than a free-standing task. Ask whether each fix has an owner, a target and a verification step.

NIST SP 800-218

Retest results and open items

A retest section should show, for each original finding, whether the fix was verified, partly fixed or not yet done, with the date and evidence checked. Findings accepted as risk should be listed with the accepting owner. Ask the tester to separate what was retested from what was assumed fixed, because an unverified fix should not appear as closed.

What a letter of testing does not establish

A letter or summary from a tester confirms that a test was performed, when, against which scope and by whom. It does not certify the pipeline, does not attest compliance and does not state that no other weaknesses exist. Auditors and customers should read it alongside the full report and the agreed scope, and confirm with their own assessor which evidence their framework accepts.

How pipeline testing differs by platform and runner model

Hosted CI services run jobs on infrastructure the vendor manages, so the tester's attention moves to workflow definitions, identity federation, token scopes and the trust placed in third-party actions or plugins. Much of the risk sits in configuration the buyer controls: who can edit workflow files, which branches trigger privileged jobs, and whether pull requests from forks receive secrets. The tester should confirm which platform features exist in your tenant, such as environment protection rules, required reviewers, default token permission settings and OIDC trust conditions, because availability and naming differ by vendor and plan.

  • Workflow edit rights: Confirm who can change pipeline definitions and whether those changes require review on the protected branch.
  • Fork and untrusted triggers: Check whether external contributions can reach jobs that hold secrets or deploy credentials.
  • Token defaults: Verify the default permissions granted to the pipeline token and whether they are restricted per job.
  • Third-party actions: Ask how actions and plugins are pinned, from where they are pulled, and who approves updates.
  • Federated cloud access: Confirm that cloud trust policies bind to a specific repository, branch and environment.

Ask the tester to list which of these checks depend on platform settings you can export or screenshot, and which depend on administrator access they will need during the engagement.

What the client prepares before the pipeline test starts

The most useful preparation is access, and it should be agreed in writing before the test window opens. The tester needs read access to pipeline definitions (for example, workflow files such as .gitlab-ci.yml or files under .github/workflows), repository settings including branch protection and required reviews, and the written policy that says who may approve a production deployment. Ask for a sandbox or staging pipeline that mirrors production runners, approval gates and deployment targets, because testing live release paths can change the state you are trying to measure. Confirm whether the test may trigger builds, create test branches and read pipeline logs, and who in the organization can revoke access quickly if something unexpected happens.

Secrets and contacts need the same care. Agree how non-production credentials will be provided to the tester, through a secrets manager, a time-limited account or a sealed hand-off, and confirm that no production signing keys or deployment tokens will be exposed to the test. Name one contact from deployment engineering who can explain how runners are provisioned and one from security who can make decisions during the test. Also set change freezes around release windows so that pipeline configuration is not edited mid-test, and plan a point where the tester can explain its findings to the people who own each pipeline.

The OWASP Application Security Verification Standard (ASVS) makes a point that applies directly here. Its guidance notes that verifying many Level 2 and Level 3 requirements needs access to documentation, source code, configuration and the development team, not only black box testing. A pipeline test is largely a white box exercise for this reason: a tester cannot judge whether a workflow restricts a token's permissions or whether a build is hermetic from the outside alone. Ask the tester to state, in the proposal, which checks depend on source or configuration access, and treat a proposal that offers only external testing of the pipeline as a reduced scope to be confirmed explicitly.

What to ask a provider before signing a pipeline test

A pipeline penetration test is only as useful as its coverage, its method and its evidence. The cards below set out the decisions to settle in writing before work starts, so you can compare proposals on what will actually be tested and what you will receive.

Coverage across all ten CICD-SEC risks

Ask the tester to show how each planned test case maps to a CICD-SEC identifier, from CICD-SEC-1 through CICD-SEC-10. A proposal that covers only build secrets or only third-party actions leaves gaps that a buyer may not notice until a finding surfaces later. Ask which identifiers are out of scope and why, and whether each finding in the report will carry its CICD-SEC label. Treat a proposal with no mapping as incomplete.

OWASP CI/CD risks

Stated SLSA build level and method

The tester should state which SLSA build level the pipeline currently meets and explain how they reached that view. Ask whether they tried to forge or alter provenance, or only read it, because provenance that exists can still be trivial to bypass or forge at lower levels. Ask what evidence they reviewed, such as build configuration, signing keys and provenance generation, and which levels they consider out of reach.

Build track levels
L0 to L3
SLSA security levels

Handling of secrets and production access

Pipeline tests often reach credentials, signing material and deployment targets, so the rules of engagement must say how these are handled. Ask who will hold credentials during the test, whether testing uses a dedicated staging pipeline or production runners, how secrets seen during testing are masked and destroyed, and who approves any action that could affect a live deployment. Get these rules in the written scope before testing begins.

Report and retest terms

Ask for a sample report with sensitive data removed, and check that each finding shows severity, affected pipeline component, evidence, the CICD-SEC mapping and a concrete fix. Confirm whether a retest is included, what it covers, and how long you have to request it. A report that reads as a list of tool output without pipeline context is weak evidence for an auditor or a customer's security team.

Configuration review versus hands-on testing

A configuration review checks settings against expected values, while a hands-on test attempts to abuse the pipeline in a controlled way to see whether a weakness is exploitable. Ask the tester to state which checks are configuration review, which are active testing, and which findings were confirmed by attempting the abuse path. Many proposals blend the two, so the split should appear in the scope document.

Evidence the client must provide

Testing quality depends on access to pipeline definitions, runner configuration, identity provider settings, branch protection rules and the team that owns the build. Ask the tester to list these inputs in writing, along with who on your side will provide them and by when. Missing access often shows up as untested areas, so a clear inventory at the start protects both parties.

Questions buyers ask about CI/CD pipeline penetration testing

How much does a CI/CD pipeline penetration test cost?

The price depends on the written scope, not on a standard rate, and DeployOpen does not publish a price list, so a quote follows from the scope document. The main cost drivers are the number of pipelines and repositories in scope, how many runners, build environments and deployment targets the tester must reach, whether the tester gets read-only access to pipeline definitions and settings, and how many CICD-SEC categories the test must cover. Ask the provider to separate the hands-on testing from the report, the debrief and any retest, and to state which items are one-time and which recur if the pipelines are tested on a schedule. Quotes are easier to compare when both sides use the same list of pipelines, and the same statement of which SLSA build level the pipeline is expected to meet.

How long does a CI/CD pipeline penetration test take?

The duration is set by the number of pipelines in scope, their complexity and how quickly the client grants access, and DeployOpen agrees a timeline in writing before work starts. Timelines usually grow with the number of distinct build paths, self-hosted runners, third-party actions and deployment environments, because each one needs its own testing and evidence. Delays often come from waiting for access approvals, for test credentials, or for the development team to answer questions about intended behavior. Ask the provider for the phases they will run and how long each one takes in their proposal, and confirm how the report and retest dates are tied to the testing window.

What does the client need to provide for a CI/CD pipeline test?

The client needs to provide the pipeline definitions, the list of repositories and branches in scope, the runner and build infrastructure details, and a named contact who can answer questions about how the pipelines are meant to work. Testing also needs approved access to the CI/CD platform, ideally a non-production test project or a supervised test account with the permissions a developer or maintainer would hold. Ask the provider to list every item they need before the start date, including network paths to self-hosted runners, the artifact registries and signing keys involved, and the rules that apply to testing shared or hosted services. Clear rules of engagement reduce disruption to live deployments.

Can our internal team run a CI/CD pipeline penetration test?

An internal team can run useful pipeline checks, such as reviewing workflow files, token scopes and branch protection settings against the OWASP CI/CD risk list, and an internal team can also track findings over time. A penetration test is harder to run in-house when the team also owns the pipelines, because testers need to challenge assumptions made by the people who built them, and the report needs to stand up to an external reviewer. Many organizations combine both approaches. Whoever runs the test should be able to map each finding to a CICD-SEC identifier and state the SLSA build level the pipeline currently meets, which makes the result easier to check.

How does a CI/CD penetration test differ from a configuration review or SAST scan?

A configuration review checks settings against a benchmark, and a SAST scan analyzes source code for coding flaws, while a penetration test attempts to show how an attacker could move through the pipeline and what the result would be. For example, a configuration review may confirm that a workflow has an overly broad token, and a penetration test would assess whether a pull request from an untrusted contributor could reach that token in practice. The three approaches answer different questions and are often used together. The penetration test should draw on configuration and code evidence, and the written scope should say which of these methods each finding relies on.

Does a CI/CD penetration test satisfy an auditor?

A penetration test provides evidence, but DeployOpen does not issue audit reports, attestations or certifications, and the auditor or certification body decides whether the evidence meets its requirements. Relevant references include ISO/IEC 27001:2022 Annex A control A.8.29, which concerns security testing in development and acceptance, and A.8.28, which concerns secure coding. The CMMC Assessment Guide Level 2 says custom-developed software may need penetration testing or source code scanning when assessing requirement 3.11.2. Confirm with your auditor which control and framework the test should support, then agree in the scope which evidence the report must contain.

How is retesting priced after a CI/CD penetration test?

Retesting is usually scoped separately from the original test, so the quote should state which findings will be rechecked, on which pipelines, and whether the retest is included in the original fee or billed as additional work. The effort depends on the number of findings, whether fixes change shared pipeline templates, and whether the tester needs new access. Ask for the retest process in writing, including how fixed findings are verified, how the status of each CICD-SEC item is recorded, and whether the retest report is issued with the same format as the original. Ongoing retesting after pipeline changes can be arranged as a retainer.

How DeployOpen scopes, tests, reports and retests pipelines

DeployOpen tests CI/CD pipelines as part of a fixed-scope engagement, with coverage agreed in writing before work starts. Each pipeline is checked against the checklist areas in this guide, and findings are mapped to CICD-SEC identifiers so your team and auditors can follow them.

How we scope

  • The written scope names each pipeline, repository group, runner type and deployment target in the test.
  • Scope states which OWASP CI/CD risks and SLSA build levels the tester will assess and which are excluded.
  • Access needed, such as read-only pipeline configuration, test accounts and a named contact, is listed before testing starts.

How we build

  • Testing covers flow control, identity, dependency use, pipeline execution, credentials, configuration, third-party services, artifact integrity and logging.
  • Each test case is recorded with its CICD-SEC mapping and the SLSA build level the pipeline currently meets.
  • Tests run in a manner agreed with your team, with rules for what may be changed and where test artifacts are kept.

How we hand over

  • The report lists each finding with evidence, affected pipeline, risk rating, CICD-SEC identifier and a recommended fix.
  • Recommendations are framed against SLSA and NIST SSDF practices so your team can track progress against those references.
  • Findings are reviewed with your engineering and security leads, and the report is delivered in the format agreed in the scope.

How we support

  • A retest of agreed findings is included in the engagement scope so fixes can be verified against the original evidence.
  • Ongoing support, upgrades and continuous testing of pipelines are available as a retainer.
  • Confirm with us in the quote which retest rounds and follow-up support are included before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.