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.
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.
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.
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.
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.
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.
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.
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.
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.
CICD-SEC-3 (Dependency Chain Abuse), CICD-SEC-4 (Poisoned Pipeline Execution) and CICD-SEC-5 (Insufficient Pipeline-Based Access Controls) concern what the pipeline pulls in, what code it runs and what it is allowed to reach. These risks matter most when a pipeline runs code from more than one source or holds credentials for production systems.
- Dependency pinning: Check whether build dependencies, base images and plugins are pinned, sourced from trusted registries and recorded in a software bill of materials. Evidence includes lock files, pinning configuration and a comparison of the SBOM with the build log.
- Untrusted code execution: Review whether code from external contributors, forked repositories or modified build scripts can run alongside pipeline secrets or on privileged runners. Evidence includes workflow files and which secrets are exposed to each trigger type.
- Runner isolation: Confirm that self-hosted runners are ephemeral or isolated per project and that job workspaces are not shared between jobs. Evidence includes runner configuration and runner group scopes.
- Job permissions: Map what each pipeline job can reach in cloud accounts, artifact registries and deployment targets, and whether those permissions match the job's purpose. Evidence includes role trust policies, job-to-role mappings and permission changes over time.
Ask for the inventory of third-party actions and plugins with their version pins, and for the full runner inventory.
CICD-SEC-6 (Insufficient Credential Hygiene) and CICD-SEC-7 (Insecure System Configuration) cover the credentials the pipeline depends on and the hosts and services that run it. A single exposed token or unhardened build server can expose every system the pipeline deploys to, so testers usually review both together.
- Secret locations: Identify where secrets are stored, including platform variables, files in repositories, build logs and container images, and who can read each location. Evidence includes a secret inventory, scanner output covering repository history and log samples that show whether masking works.
- Credential lifetime: Check whether tokens are short-lived, narrowly scoped and rotated after staff or contractor changes. Evidence includes token creation dates, expiry settings and rotation records.
- Platform hardening: Review the CI/CD server, agents and build hosts against vendor and project hardening guidance, including administrative interfaces, default settings and network exposure. Evidence includes configuration exports, patch levels and exposure checks limited to authorized address ranges.
- Build host state: Check whether build hosts keep state between jobs, run with unnecessary host privileges or run services the pipeline does not need. Evidence is a host configuration baseline compared with the running state.
Confirm with the tester whether scanning covers repository history and build logs, not only the current state of files.
CICD-SEC-8 (Ungoverned Usage of 3rd Party Services), CICD-SEC-9 (Improper Artifact Integrity Validation) and CICD-SEC-10 (Insufficient Logging and Visibility) determine whether the organization knows what outside services touch its builds, whether it can prove an artifact is what the pipeline produced, and whether it would notice a problem. The SLSA build levels give testers a shared scale for the integrity question.
- External services: Inventory every external action, plugin, hosted tool and webhook the pipeline uses, and check who approved each one. Evidence includes the approved-service list, usage records and ownership notes.
- Artifact integrity: Check whether artifacts are signed, whether signatures are verified before deployment and whether provenance is generated. Build L1 requires that provenance exists, L2 requires signed provenance from a hosted build platform and L3 requires a hardened build platform. Evidence includes provenance documents, verification step configuration and registry immutability settings.
- Audit logging: Confirm that pipeline runs, permission changes, secret access and deployments are logged, retained and forwarded to a team that reviews them. Evidence includes log samples covering one build and one permission change, plus retention settings.
- Detection: Check whether alerts fire on unusual triggers, new tokens or changed workflow files. Evidence includes alert rules and sample alert records from recent test activity.
Ask the tester to map each finding to a CICD-SEC identifier and to state which SLSA build level the pipeline currently meets.
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.
| Driver | Why it changes effort | One-time or recurring | How to keep it down or what to ask for |
|---|---|---|---|
| Number of pipelines and repositories | Each 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 changes | Group pipelines that share templates or reusable workflows and ask the tester to state how many are sampled versus fully tested. |
| Runner types | Hosted, self-hosted and ephemeral runners have different isolation, persistence and network paths that each need checking. | One-time | Inventory runner types in advance and ask whether self-hosted runners are in scope or only reviewed by configuration. |
| Environments tested | Build, staging and production deployment stages each carry different credentials and approval gates. | One-time | Limit scope to environments that hold production secrets or deploy to regulated systems, and confirm test accounts are provided. |
| Roles and identities tested | Each 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-time | Provide 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 testing | Assessing 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 added | Ask 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 depth | Testing 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 change | Agree 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 provided | Testers spend more time when they must rediscover pipeline design, approvals and configuration that the team can supply directly. | One-time | Prepare pipeline diagrams, workflow files, branch protection settings and a named contact for questions before testing starts. |
| Retest | A retest checks whether each fix holds. Effort depends on the number of findings and whether fixes change the pipeline design. | Recurring with each remediation cycle | Ask 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
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 levelsSeverity 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-218Retest 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.
Self-hosted runners execute pipeline jobs on machines the organization operates, so the tester must assess the host as well as the pipeline. Runner isolation, persistence between jobs, network reach to internal systems and the handling of runner registration tokens become central. A shared or long-lived runner can carry state, cached credentials or code from one project into another, which turns a single compromised job into a wider exposure. The tester should confirm whether runners are ephemeral, which groups or projects can register them, and where their logs are sent.
- Ephemeral versus persistent: Confirm whether each job gets a clean environment or whether workspaces and caches survive between runs.
- Runner scope: Check whether runners are shared across projects, teams or trust levels.
- Network reach: Map which internal networks, databases and metadata endpoints runners can reach.
- Registration control: Verify who can register new runners and how registration tokens are stored and rotated.
- Host hardening: Review operating system patching, container or VM isolation and access to the runner's service account.
Ask the tester to state which runners were in scope, how many distinct trust zones they span, and whether any were tested on production-equivalent hosts.
When pipelines build container images, the attack surface includes base images, build tools running inside containers, registry credentials and the signing step that follows the build. Container builds also raise artifact integrity questions: a tag can point to a different image than the one tested, and an image pulled from a public registry without pinning by digest can change silently. The tester should check how images are referenced, where they are pushed, and whether the build environment itself is isolated from the host that runs it.
- Base image pinning: Confirm whether base images are referenced by digest or by mutable tag.
- Registry push rights: Check which identities can push to production registries and whether pushes are restricted to the pipeline.
- Build isolation: Verify whether builds that use privileged container modes or mounted host sockets are necessary and controlled.
- Image signing: Ask whether signatures are generated in the pipeline and verified at deployment.
- Build cache poisoning: Review whether shared layer caches can be written by untrusted jobs.
Ask the tester to show how a single image moves from build to deployment and where each integrity check occurs along that path.
Kubernetes deployment paths add a second control plane. The pipeline may apply manifests directly with a cluster credential, or a GitOps controller may pull desired state from a repository. Each model moves the trust boundary: direct deploys depend on the pipeline's cluster identity, while GitOps depends on who can merge to the state repository and how the controller authenticates. The tester should confirm which model is used for each environment, what role the pipeline holds in the cluster, and whether admission policies verify image provenance before workloads start.
- Cluster credentials: Identify which service accounts the pipeline uses and the verbs and namespaces they can reach.
- Deployment path: Confirm whether the pipeline pushes to the cluster or the cluster pulls from Git, and who can change that path.
- Admission control: Check whether policies block unsigned or unverified images and privileged pods.
- Secret delivery: Verify how secrets reach workloads and whether pipeline logs ever contain them.
- Environment separation: Confirm that non-production pipelines cannot deploy to production namespaces.
Ask the tester to list the cluster roles bound to pipeline identities and to confirm whether the test will include a review of those bindings alongside the pipeline itself.
Open-source projects often run on public hosted platforms with community contributors, so the risk profile centers on who can trigger workflows and what they can reach. OpenSSF Scorecard runs automated checks on public repositories, including Branch-Protection, Dangerous-Workflow, Pinned-Dependencies and Token-Permissions, scores each from 0 to 10 and combines them into a weighted aggregate score. These results are useful signals for prioritizing review, but they check configuration and patterns in code, not the runtime behavior of a specific pipeline, and they do not replace a hands-on test.
- Scorecard as a starting point: Use the per-check results to identify areas for deeper review, such as workflows flagged for dangerous triggers.
- Unpinned dependencies: Note checks that report unpinned dependencies and confirm whether pinning is enforced or only recommended.
- Token scope: Verify whether default token permissions are read-only and whether jobs request write scopes explicitly.
- Protection gaps: Check whether scores reflect protections enforced by settings the tester can verify directly.
- Limits of automation: Ask what the automated checks cannot observe, such as runner hosts, cloud trust policies or secrets stored outside the repository.
Ask the tester to state which scorecard results were reproduced manually and which were taken as reported.
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 risksStated 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
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.

