Penetration testing firm vs PTaaS for code: which fits your supply chain risk
A penetration test mostly exercises running systems, so a team that must test code, CI/CD pipelines and third-party dependencies needs source, pipeline and dependency work alongside it. The highest-impact pipeline weaknesses sit in workflow files, runner permissions and build artifacts, and a tester working only against a deployed URL may never reach them. The OWASP Top 10 CI/CD Security Risks list dependency chain abuse (CICD-SEC-3) and poisoned pipeline execution (CICD-SEC-4) as separate risks, each needing its own evidence. NIST SP 800-115 notes that organizations often combine techniques to reach an in-depth assessment at an acceptable level of risk, and the OWASP Web Security Testing Guide says no single technique is enough. Before you buy either model, map which supply chain risks each one will reach.
A one-off firm engagement fits when you need an independent report for a release, an auditor or a customer review, or when one defined application needs deep manual review. The deliverable is a written report with a fixed scope and named testers, which is the kind of evidence an assessor typically asks to see. Manual work matters here because PCI SSC's penetration testing guidance describes the method as essentially manual and says that running an automated tool alone does not meet the requirement. OWASP ASVS 5.0.0 also notes that many Level 2 and Level 3 requirements need documentation, source code, configuration and access to the development team, so black box testing alone will not verify them. Put that access in the written scope, and confirm whether source, build configuration and dependency manifests are included before work starts.
PTaaS fits when repositories change often, findings must reach engineering as tickets, and fixed issues need retests on demand. The condition that matters is cadence: if pipelines change every week, a report delivered once is out of date before the fix window closes. Ask how live findings sync to your tracker, how retests are requested and whether the same testers stay on your account. The combined model works well for many teams: run a scheduled PTaaS stream for continuous coverage and buy a one-off firm engagement before a major release or audit. Between engagements, automated checks such as Pinned-Dependencies and Token-Permissions in OpenSSF Scorecard can run against your repositories, and CIS Safeguard 18.4 asks that security measures be validated after each test.
Penetration testing firm vs PTaaS side by side for code and supply chain
This table compares a penetration testing firm with a PTaaS platform for code and supply chain work, covering scope, method, evidence, access and cost. Read each row as a question to put to both providers, since most cells depend on the written scope and contract. The main takeaway: a firm suits a bounded review of a build and its pipeline, while PTaaS suits repeated checks across many releases, provided source and CI access is tightly controlled.
| Decision point | Penetration testing firm | PTaaS platform |
|---|---|---|
| Goal and typical trigger | A scoped review of a named build, repository or release, often set by a customer, assessor or major change. | Ongoing testing of many releases and pipeline changes, where findings flow into the team's tracker as they appear. |
| Scope of code and pipeline | Written scope names repositories, branches, build servers and release paths. Confirm whether dependency and artifact stores are included. | Scope covers connected repositories and pipelines. Confirm which CI systems, runners and branches the platform can reach. |
| Method and tester mix | Manual review by named testers, with tools in support. Confirm the tester hours spent on source review and pipeline attack paths. | Automated checks plus tester review. PCI SSC says running an automated tool alone does not satisfy a penetration test requirement. Confirm the manual share. |
| Cadence and retest | Set per engagement and agreed in writing. Retest may be a separately scoped item. Confirm the retest count and window. | On-demand retests in the platform, with cadence set by subscription terms. Confirm whether retests are included and how many. |
| Evidence produced | Written report with method, scope, findings and retest results. Confirm the format an assessor accepts. | Live findings, exports and ticket history from the platform. Confirm whether exports carry tester identity and method detail. |
| Access to source and CI | Repository and pipeline access, ideally read-only, for the engagement period under named accounts. Confirm least privilege and revocation dates. | Integration tokens for repositories and CI that may persist between tests. Confirm scopes, storage and expiry against CICD-SEC-6. |
| Handling of source code | Code is viewed under the contract terms. Confirm where it is stored, how long it is kept and how it is deleted. | Code may be processed by the platform or a third party. Confirm hosting region, sub-processors, and whether data is used for model training. |
| Cost model | Paid for tester time against a written scope, usually one-time per engagement. Cost rises with repos, pipelines and retests. | Recurring platform subscription, sometimes with add-ons for retests or extra scope. Confirm what is included and what drives overage. |
| Cost of switching later | Findings live in documents, so a new firm starts from the report and the written scope. | History and integrations sit in the platform. Confirm full export of findings, retests and pipeline mappings before signing. |
What each approach finds and misses in code and supply chain work
Code and supply chain testing answers three different questions: what an attacker can exploit in running code, what the code and its dependencies contain, and whether the build that produced the artifact can be trusted. A penetration test answers the first question well and the others only when the scope and data include them. Use these cards to decide what evidence to add before an auditor or customer asks for it.
Runtime flaws reachable through the app
A penetration test sends real requests to the running application and shows whether an injection, broken access control or session flaw can be exploited from the tester's position. A PTaaS platform can run similar probes and retest fixes on demand. Coverage is only as complete as the entry points and accounts in scope, so a tester who never receives a manager or administrator login will not reach features behind that role. Check that the scope lists every user role and every API version that ships to customers.
OWASP WSTG introductionCode paths unreachable at runtime
Static analysis and manual source review read code that a black-box test never executes, such as administrator-only jobs, feature-flagged branches and rarely used error handlers. A penetration test confirms what can be exploited through the running system, so unreachable code with a weakness can go unreported. NIST SP 800-53 control SA-11 treats static analysis, manual code review and attack surface reviews as developer testing. Ask whether the contract includes source access, which reviews the provider performs, and who reads the results.
OWASP ASVS 5.0.0 sourceSecrets and pipeline configuration
Credentials left in repositories, CI variables and build logs, and workflows with overly broad tokens, fall inside a penetration test only where the statement of work names them. The OWASP Top 10 CI/CD Security Risks cover credential hygiene, insecure system configuration and poisoned pipeline execution. Without named repositories, runners and CI settings, a tester is unlikely to review the build platform at all. Ask whether the tester can inspect secrets managers and branch protection rules, or can only observe them from outside.
CI/CD risks listVulnerable dependencies and transitive packages
A penetration test usually reports a vulnerable library only when a flaw in it is reachable through the application, so a loaded but unused package can be missed. Software composition analysis (SCA) matches every component, including transitive packages, against vulnerability data, and it needs an software bill of materials (SBOM) or lock files to work from. The NTIA minimum elements describe SBOM data fields, automation support, and practices. Ask which SCA tool runs, whether transitive dependencies are included, and how often the inventory refreshes.
NTIA SBOM minimum elementsBuild integrity and provenance
A penetration test does not establish whether the artifact you deploy came from the reviewed source through a trusted build. Build integrity depends on evidence such as signed provenance, a repeatable build process and controlled build inputs. SLSA v1.2 defines Build track levels L0 to L3, with increasing assurance that software has not been tampered with and can be traced to its source. Ask the provider whether it verifies provenance at all, and if it does not, assign that check to your own platform or supply chain team.
SLSA specificationFirm tests and PTaaS first meet the code once it runs
The flow starts at design and threat modeling, where teams decide what the code must protect. Source code review happens in the developer repositories. Build pipeline review and SCA with SBOM work happen in the CI runners. The boundary between these two environments matters most: repository permissions decide who can trigger a build, and runner credentials decide what a build can reach. A penetration testing firm or a PTaaS platform has nothing real to exploit until the release is deployed as a running application, so both start there. Check whether your SCA and SBOM output reaches the vulnerability response step, and whether the agreed test scope includes the pipeline itself.
Lifecycle path from design to vulnerability response, with test entry points marked.
What you receive from a penetration testing firm vs PTaaS
This table compares what you receive from a penetration testing firm and from a PTaaS platform when the target is code and supply chain. Read each row as a question to put into your scope and quote. Neither a tester's report nor a platform dashboard is an audit report or certification, because independent auditors and certification bodies issue those. The main takeaway is that PTaaS changes how findings arrive and get tracked, while source access and SBOM output depend on what you write into scope.
| Output | Penetration testing firm | PTaaS platform |
|---|---|---|
| Report format | Written report at the end of the engagement, with scope, method and findings | Findings visible during testing, plus an exported report; confirm the export format |
| Findings tracking | Findings move into your ticketing system after delivery, usually by hand | Findings sync to a dashboard and ticketing integrations; confirm which systems connect |
| Retest rounds | Retests are usually defined in the written scope; confirm the number of rounds | Retests requested in the platform; confirm whether they are included and how many |
| Raw tool output | Scanner output shared only if agreed; ask for it in the statement of work | Tool output and proof-of-concept artifacts often attached per finding; confirm |
| Dependency inventory or SBOM | Produced only when written into scope; ask for CycloneDX or SPDX format | Confirm whether dependency or SBOM output is included and in which format |
| Source access | Access granted under the agreement; define repositories, branches and reviewer accounts | Confirm whether code is uploaded, linked to a repository or tested from outside only |
| Evidence an auditor can read | Scope, method, dates, tester identity and reproduction steps for each finding | Same evidence types in the dashboard; export a copy for your audit file |
| Audit status | A tester's report is an assessment record, not an audit report or certification | A platform dashboard is an assessment record, not an audit report or certification |
Which approach fits which team: a decision by situation
A product team that ships several times a week gets the most from PTaaS when the question is whether each release changed the attack surface. A firm engagement suits a defined major release, because it ends in a written report that describes one point in time. Between tests, the supply chain changes through new dependencies, new CI actions and new base images, so code and pipeline need continuous checks alongside the test.
- Dependency drift: New packages enter through pull requests between tests. Generate an SBOM in CI with CycloneDX or SPDX and run software composition analysis on every merge.
- Pipeline changes: Workflow edits can change who runs builds and what gets published. Review them against CICD-SEC-4 Poisoned Pipeline Execution and CICD-SEC-9 Improper Artifact Integrity Validation in the OWASP Top 10 CI/CD Security Risks.
- Retest speed: Live findings and on-demand retests suit a team that fixes issues continuously. Confirm the retest allowance and ticket integration in writing before you sign.
- Automated repository checks: OpenSSF Scorecard runs checks such as Dangerous-Workflow and Pinned-Dependencies on each repository and surfaces drift between tests.
Check whether your subscription includes source and pipeline review, or only testing of the running application.
A regulated release that needs independent evidence usually calls for a firm engagement, because assessors read a signed report with scope, method and tester qualifications. DORA Article 25(1) lists penetration testing and source code reviews where feasible among the tests a financial entity may need, and the CMMC Assessment Guide Level 2 notes that custom software may need penetration testing or source code scanning. PTaaS can add live findings and retests, but the evidence an assessor accepts depends on the regulator and the control.
- Independence: NIST SP 800-53 control CA-8 has an enhancement for an independent penetration testing team, and SP 800-53B selects CA-8 only in the high baseline. Ask who assigns testers and whether they had any role in building the release.
- Source review: Control SA-11 lists manual code reviews, static code analysis and interactive application security testing. Put source review in the written scope so the report covers code as well as the running system.
- Report contents: Confirm the report template, the methodology reference and the retest documentation with your assessor before testing begins.
- Tester credentials: CREST accredits companies and certifies individuals in security testing. Ask whether the firm or its testers hold any credential your assessor recognizes, and verify it directly with the issuing body.
Ask your assessor which test types and report contents they accept before the scope is agreed, and confirm that open source analysis is included where DORA applies.
An organization that consumes many open-source components faces a gap a penetration test cannot fully close: the test examines what is deployed, while the risk sits in how each dependency was built, maintained and updated. NIST SP 800-218, the Secure Software Development Framework, groups these practices under Prepare the Organization, Protect the Software, Produce Well-Secured Software and Respond to Vulnerabilities. Penetration testing shows whether a weakness is exploitable, and it is most useful when paired with inventory and provenance work.
- Inventory: NTIA's 2021 minimum elements describe SBOM data fields, automation support, and practices and processes. Generate SBOMs for each build in CycloneDX or SPDX so the inventory exists before a test starts.
- Build provenance: The SLSA v1.2 Build track has levels L0 to L3 with increasing guarantees that artifacts have not been tampered with and can be traced to source. Set a target level your pipeline can meet.
- Exploitability: Use test findings to decide which flagged components are reachable in your deployment and which only need a version update.
- Maintainer health: OpenSSF Scorecard scores checks such as Branch-Protection and Token-Permissions from 0 to 10 and combines them into a weighted aggregate, which helps compare critical dependencies.
Confirm whether the test scope includes dependency analysis, and who keeps the SBOM current after the engagement ends.
A team that deploys self-hosted open-source platforms in its own infrastructure owns the build, the configuration and the upgrade path, so the test has to reach beyond the public login page. The supply chain includes container images, packages, plugins and the update channel, and each upgrade changes that chain. OWASP ASVS 5.0.0 notes that verifying many Level 2 and Level 3 requirements needs access to documentation, source code, configuration and the development team.
- Image and package provenance: Record which container images, charts and packages each deployment uses, and generate an SBOM for the deployed set.
- Configuration access: Give the tester read access to configuration, secrets handling and access control settings, which the tester cannot assess from the public interface alone.
- Upgrade testing: Schedule a test after major upgrades and after adding plugins, since each change alters what runs in your environment. PTaaS retests suit this cycle well when fixes arrive often.
- Air-gapped builds: Where the platform has no internet access, confirm how dependency updates arrive, who verifies them and how hashes or signatures are checked.
Confirm tester access to configuration and source, and whether the vendor update channel and your internal mirror are part of the scope.
What drives cost in a penetration testing firm vs PTaaS engagement
Most of the cost difference between a penetration testing firm and a PTaaS subscription comes from how much code, pipeline and developer time the work touches, not from the headline test itself. The six factors below set the effort for either model, and each one should appear as a line item in a written quote.
Scope: repositories, languages and pipelines
Every repository, language and CI pipeline in scope adds review and triage work, so scope is the first cost driver for either model. Count deployable components instead, since one monorepo can hold several services. Ask the quote to list each repository, language and pipeline, along with package registries and any excluded modules. Confirm whether a subscription meters assets, tests or hours, because that setting decides what a new repository adds to the bill later.
CI/CD risk listAccess to source, CI and developers
Source code review, pipeline configuration review and developer interviews need access that black box testing does not. OWASP's ASVS 5.0.0 notes that many Level 2 and Level 3 requirements need documentation, source code, configuration and the development team. DORA Article 25(1) lists source code reviews where feasible. Each access grant, read-only role or sandbox adds onboarding time, and developer time spent answering questions is an internal cost even when the vendor does not bill for it.
ASVS 5.0.0 sourceDepth and manual share
The manual share of the work drives both depth and price. PCI SSC's penetration testing guidance describes penetration testing as essentially a manual process and says running an automated tool alone does not meet the requirement. Scanners and SAST output can cover breadth with less tester effort, but flaws in pipeline logic and code paths need a person's time. Ask the quote how many hours are manual, which steps are automated, and whether a subscription includes manual test cycles or only tool output.
PCI testing guidanceProduction or staging environment
NIST SP 800-115 notes that penetration testing uses working exploits against production systems and data and carries high risk, so the target environment changes both the risk and the price. A staging copy of the pipeline needs its own secrets, runners and data sets, and environment parity becomes a setup cost. Testing production CI runners or live signing keys calls for stricter rules of engagement. Ask the quote whether testing runs in production or staging, who builds that environment and who signs the rules of engagement.
NIST SP 800-115Retest rounds and reporting
Retests are where a firm engagement and a subscription often differ in what is billed. A firm may price a defined retest round, while a subscription may include retests within its term. Reporting needs also set cost, since an auditor-facing report, a ticket export and an evidence pack each take separate tester and triage time. CIS Safeguard 18.4 asks that security measures be validated after each test, so your SOC needs the technique list. Ask how many retest rounds are included and in what format results arrive.
One-time and recurring fees
One-time costs usually cover scoping, environment setup, access provisioning and the first full test. Recurring costs appear when you retest, add scope or renew a subscription or retainer. A firm engagement typically ends at a written report, while a PTaaS subscription runs for a term and may charge separately for onboarding. Ask the quote to separate onboarding, the first test, retests, added scope and renewal, and to state what happens to findings if you stop renewing. Compare totals over the period you plan to run the program, not a single test.
How long does code and supply chain testing take, and what does it need from my team?
What drives the cost of code and supply chain testing?
Cost follows the amount of code, the number of pipelines and the depth of review you agree in writing before work starts. The main drivers are the number of repositories and languages in scope, whether the team reviews source code, build and CI/CD configuration or only dependencies, how many applications or services share a build system, and how much validation of findings the team expects. The firm or PTaaS provider is paid for tester time and reporting. Your team carries internal costs: staff time to grant access, explain architecture and triage results. Most of this is one-time for a fixed-scope review, while continuous scanning, retests and upgrades recur under a retainer. Ask for the quote to list each repository, pipeline and retest separately, and to state what is excluded. DeployOpen scopes these in writing, but it does not publish prices.
What sets the timeline for a source code review and supply chain test?
The timeline is set by the size of the code in scope, how fast your team can grant access and how many review rounds and retests the written scope includes. No duration is fixed here, so ask the provider for a written schedule with milestones before you sign. Access lead time can matter as much as tester hours: accounts, read access to repositories, pipeline definitions and a named contact can each delay the start. Findings that need fixes add time for retesting, which should appear as its own line in the scope. Source code review also depends on how many languages and frameworks are involved, since each may need a reviewer who knows it. Ask what happens if access arrives late, and whether the schedule pauses or the scope changes. Treat any duration quoted without these inputs as a guess.
What access and documentation does a code review need from my team?
Plan for read access to the source repositories, the build and CI/CD configuration, dependency manifests and lockfiles, and the infrastructure-as-code that deploys the software. Add architecture diagrams, data flow notes, an up-to-date threat model if one exists, and a list of trust boundaries and third-party services. Test accounts for each role matter for authorization checks. For controls that go beyond black box testing, OWASP ASVS 5.0.0 notes that verifying many Level 2 and Level 3 requirements needs access to documentation, source code, configuration and the development team. Name one engineer who can answer questions within an agreed window. Agree in the rules of engagement what the testers may run against staging, and confirm that no production credentials are shared unless the scope requires them. Your security or legal team should sign off on the access model before work begins.
Can our own team run SAST, SCA, SBOM generation or OpenSSF Scorecard?
Usually yes: most of these checks can run in your own pipelines, and running them first reduces the number of basic findings a tester reports. SAST tools flag suspicious code patterns, SCA tools match dependencies against known vulnerabilities, SBOM generators list components, and OpenSSF Scorecard runs automated checks such as Branch-Protection, Dangerous-Workflow, Pinned-Dependencies and Token-Permissions, scoring each from 0 to 10 and combining them into a weighted aggregate score. Tool output alone rarely shows whether a flagged pattern is exploitable in your deployment, tests business logic, or follows an attack path across your pipeline. A test team uses that output as a starting point, so ask whether it will consume your scanner results or run its own, and how each result is validated. Confirm licenses and support for each tool in your environment before you commit. The Scorecard repository describes the checks.
Which SBOM format should we ask for, CycloneDX 1.7 or SPDX 3.0.0?
Request one format and name it in the written scope, so you can check the file on receipt. CycloneDX 1.7 was released on 21 October 2025 and is published as Ecma standard ECMA-424. SPDX 3.0.0 was released in April 2024 under Linux Foundation governance, and SPDX is recognized as the international open standard ISO/IEC 5962:2021. Choose the format your customers, scanners and procurement reviewers can read. The NTIA minimum elements, published 12 July 2021 under Executive Order 14028, define three categories: data fields, automation support, and practices and processes, so ask the provider to address all three. Also ask which fields it fills, how it validates the file, and how it refreshes the SBOM after each release. Confirm the choice with your customers before you commit.
Does a penetration test alone meet DORA or CMMC expectations for code?
A penetration test alone is unlikely to cover what either framework expects for code, so confirm the required mix with your assessor first. DORA Article 25(1) lists several tests for a digital operational resilience testing programme: vulnerability assessments and scans, open source analyses, source code reviews where feasible, scenario-based tests and penetration testing. A penetration test covers only one item on that list. Article 26 separately requires threat-led penetration testing at least every 3 years for entities their competent authority identifies, so check whether that applies to you. For CMMC Level 2, the CMMC Assessment Guide says custom-developed software may need penetration testing or source code scanning when assessing vulnerability scanning requirement 3.11.2. Your assessor decides what evidence is accepted for your environment.
What should a written quote for code testing include?
Ask for a quote that follows the written scope, so each line item matches a deliverable. Expect it to list the repositories, pipelines, applications and environments included, along with the test types, and whether source code review, dependency analysis and SBOM generation are separate items. Ask what the report contains, how many retest rounds are included, and what evidence the report gives for each finding, such as steps to reproduce and proposed fixes. Confirm who performs the work, whether testers stay on the engagement, and what happens to copies of source code after the engagement ends. Ask for a schedule with milestones and a list of exclusions. DeployOpen issues quotes from written scope and does not publish a price list.
Where compliance frameworks call for code review, penetration tests or both
Most frameworks do not treat code review and penetration testing as a single choice. NIST SP 800-53 Rev. 5 control SA-11, Developer Testing and Evaluation, lists static code analysis, threat modeling and vulnerability analyses, manual code reviews, penetration testing, attack surface reviews, dynamic code analysis and interactive application security testing among its nine enhancements. Which enhancements apply depends on the control baseline and the assessor's scope, so treat the list as options to confirm. For each in-scope application, ask your assessor which enhancements apply and who must produce the output: your developers, your security team or the external tester. A penetration report on its own may not show that static analysis ran or that code review findings were tracked to closure.
DORA Article 25(1) takes a mixed view for financial entities. Its list of appropriate tests includes vulnerability assessments and scans, open source analyses, scenario-based tests and penetration testing, and source code reviews where feasible (Regulation (EU) 2022/2554). The qualifier matters. If source access is not feasible for a vendor-supplied component, record why and test that component another way. The CMMC Level 2 assessment guide says custom-developed software may need penetration testing or source code scanning when assessing vulnerability scanning requirement 3.11.2, so an organization with in-house applications should expect that question. ISO/IEC 27001:2022 Annex A control A.8.29, Security testing in development and acceptance, asks for security testing processes to be defined and implemented within the development life cycle, alongside A.8.28 on secure coding.
Write the code scope down before you buy. List which applications are custom-built, which components are vendor-supplied, and which test evidence each framework's assessor has accepted for each one. OWASP ASVS 5.0.0 notes that verifying many Level 2 and Level 3 requirements needs documentation, source code, configuration and access to the development team, which goes beyond black box testing. That is a reason to include code access in the same engagement as the penetration test. Then confirm the scope with your assessor in writing. Ask whether a scanner report, a code review or a penetration test satisfies each requirement. Simply running an automated tool does not satisfy a penetration testing requirement, according to the PCI SSC Penetration Testing Guidance (v1.1, September 2017), which describes the work as essentially a manual process. Do not present an automated code scan as a penetration test.
How DeployOpen scopes and delivers code and supply chain security testing
Code and supply chain testing works best when the written scope says which repositories, build pipelines, dependencies and deployed applications are in view, because a point-in-time test and a platform-delivered program cover those differently. DeployOpen plans and runs security testing of applications and APIs, cloud and infrastructure, and AI systems inside the client's own environment, and most engagements are fixed-scope with deliverables agreed in writing before work starts.
How we scope
- The written scope names each repository, build pipeline, dependency set and deployed application in view before testing starts.
- We agree whether source code review, dependency analysis and CI/CD pipeline review are included, and which are excluded.
- Access is settled up front, including test accounts, repository read access and any build credentials the testers may use.
How we test
- Testing combines automated scanning with manual review, since automated tools alone miss logic flaws in code and pipelines.
- Pipeline findings map to the OWASP Top 10 CI/CD Security Risks, such as poisoned pipeline execution.
- Dependency and component inventory is checked against SBOM elements, using the NTIA minimum elements as the baseline.
How we hand over
- Findings are written with reproduction steps, affected code or pipeline locations, and a fix recommendation for each.
- Deliverables are listed in the written scope, so you know which documents, evidence files and retest reports you will receive.
- Ask whether the report maps to your SSDF, SLSA or DORA evidence needs, and confirm that mapping in the scope.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, so fixed-scope work can lead into regular retesting.
- Retests after fixes are confirmed in the scope, including whether each retest is included or billed separately.
- Ask for a quote that itemizes testing, reporting, retest and any retainer, so the cost components are visible.
Sources and further reading
- NIST SP 800-115, Technical Guide to Information Security Testing and Assessment ↗
- OWASP Web Security Testing Guide v4.2: Introduction and testing techniques ↗
- NIST SP 800-218, Secure Software Development Framework v1.1 ↗
- PCI SSC Information Supplement: Penetration Testing Guidance v1.1 ↗
- OpenSSF Scorecard, GitHub ↗

