Pentest for web applications and APIs - White-box pentest before go-live: attack on a test instance, proof per confirmed finding, €1,000 to €2,000 excl. VAT, depending on the size of the application. Book an intro call · Pentest subscription
A pentest before go-live tests the state that is about to go into production, while findings can still be fixed without losing the date. This article covers timing, prerequisites and release: which state is testable, which test environment, test data and accounts must be ready, in which order the checks run and which findings should block go-live. The basis is primary sources: the BSI practical guide, NIST SP 800-115, the OWASP Web Security Testing Guide, PCI DSS and the FIRST CVSS specification. The matrix with release criteria is a proposal by the editors and not a standard. It applies to web applications, APIs and SaaS products before launch; the course of the test itself is not covered. Research status: 22 November 2026. More articles are in the knowledge area Security and pentesting.
Table of contents
- Pentest before go-live: the short answer
- Pentest or vulnerability scan before launch: a decision by risk
- A testable state: what must be ready before the test
- Test environment and test data: production or staging
- Order of audit, scan and pentest
- Schedule backwards from go-live
- Release criteria by severity (proposal, not a standard)
- AI-built apps before go-live
- After go-live: retest and repeat after major releases
- Our approach at WZ-IT
- Common misconceptions
- Status and methodology
- Further guides
Pentest before go-live: the short answer
A pentest before go-live is a late check, not the first one: the BSI recommends a multi-stage procedure and calls internal quality assurance important for newly set-up applications (BSI guide, section 2.1.2, in German). What is tested is a frozen state on a test instance with test accounts per role. Findings are decided by severity: critical ones stop go-live, high ones do too unless the responsible party explicitly accepts the risk. The thresholds are our proposal.
| Question | Short answer |
|---|---|
| When? | After quality assurance and before the production go-live, once the state is frozen and there is still time for remediation and retest. The BSI names initial commissioning and significant changes as the usual occasion (BSI guide, section 3.1.1, in German) |
| Where? | On a test instance that matches the production state. NIST names impact on operations, personally identifiable information and similarity of the environments as criteria (NIST SP 800-115, section 6.3) |
| With what? | A state without ongoing changes (BSI, section 3.1.2, in German); test accounts per role and tenant (prerequisite at WZ-IT; OWASP tests the roles, WSTG 4.3.1); test data instead of actual personal data (our assessment; NIST advises it where sensitive data could be exposed, section 6.3) |
| In which order? | Our transfer: quality assurance, configuration review, scan, last the pentest. For web presences the BSI names IS short review, IS web check of the application, last a pentest of gateway and interfaces (BSI, section 2.1.2, in German) |
| When is release? | Proposal: critical and high block, medium only with a condition, low goes on the action list. For high findings an exception is conceivable only with a documented risk acceptance (OWASP WSTG) |
| What stays open? | The test is valid only at the time of testing, and it is not guaranteed that all errors are found (BSI, section 2.3, in German) |
Pentest or vulnerability scan before launch: a decision by risk
Whether a pentest is needed depends on what the application processes and how much logic it contains. According to the BSI, most vulnerability scanners decide from the versions of operating systems and applications whether a vulnerability exists (BSI guide, section 3.1.2, in German). Whether account A can read the data of account B is a question to the application, not to its version numbers. The BSI recommends defining the test object starting from the protection needs and focusing on the systems that are particularly threatened or business-critical (section 3.1.1, in German). The difference between the two methods is explained in the article on the difference between scan and pentest.
The table assigns typical situations. Where it says “WZ-IT assessment”, the assignment is our classification and not a requirement of a source.
| Situation before go-live | Check | Rationale |
|---|---|---|
| Static website without accounts and inputs | Scan and configuration review are often enough | WZ-IT assessment: little application logic that a pentest could additionally check |
| Web application with accounts, roles, tenants or personal data | Pentest before go-live | The BSI names initial commissioning as the usual occasion (section 3.1.1, in German); permissions and tenant separation can be tested with test accounts (WZ-IT assessment) |
| Significant change to sign-in, roles or interfaces of a running application | New test | NIST recommends tests when significant patches, updates or other modifications are made (SP 800-115, appendix C) |
| Application from an AI app builder, with real user data | First builder scan and audit, then pentest | Lovable recommends the order scanners, remediation, pentest (Lovable, as of 22 Nov 2026) |
| Application behind a web application firewall or security gateway | Test application and gateway separately | The BSI advises testing the application without blocks from the gateway and testing the gateway separately (section 3.1.2, in German) |
A testable state: what must be ready before the test
A pentest is only as informative as the state it tests. According to the BSI the client should ensure that no changes are made to the systems during the tests, and a test on a system that is being changed loses informative value (BSI guide, sections 3.1.2 and 2.3, in German). The OWASP Web Security Testing Guide names as the target of the tests in this phase the application build that is representative of the version being deployed into production (OWASP WSTG, introduction).
The checklist sums up what should be settled before the start of the test. The column “Source” names the passage; compiling them is our work, as are the items marked as a prerequisite at WZ-IT or as our recommendation.
| Prerequisite | What must be ready | Source |
|---|---|---|
| Frozen state | A release candidate that is not changed during the test; no maintenance window overlapping the test period | BSI, sections 2.3 and 3.1.2, in German |
| Quality assurance completed | Functional tests have run, because the pentest does not consider functional aspects and works on a sample basis | BSI, section 2.1.2, in German |
| Test instance | A runnable instance that matches the production state. If the original system cannot be tested, the institution is responsible, according to the BSI, for the systems used being set up identically | BSI, section 3.1.2, in German, NIST, section 6.3 |
| Test data | Our recommendation: no actual personal data in the test instance. NIST advises considering test data where testing could expose sensitive personally identifiable information; where personal data is affected, the data protection officer is to be involved beforehand according to the BSI | NIST, section 6.3, BSI, section 2.3, in German |
| Accounts per role and tenant | Documented roles (administrator, support, customer and others). Prerequisite at WZ-IT: one test account per role, and for tenant separation at least two accounts of equal rank | OWASP WSTG 4.3.1 (covers only identifying and testing the roles) |
| Order and scope | Written order with test period, test object and test depth; a hoster to which services are outsourced is to be included in the contract | BSI, sections 2.3 and 3.1.2, in German |
| Documents | Description of the application (functions, participants with access, personal data, important systems) and of the communication links; for white box additionally the source code, where available | BSI, section 3.1.3, in German, OWASP WSTG |
| Protective layers | Blocks of a security gateway are to be switched off for the test period so that the results concern the application itself; the gateway is tested separately | BSI, section 3.1.2, in German |
| Contact person | At least one contact person during the test period who can give information on the application, and technicians on standby | BSI, section 3.1.4, in German |
The BSI generally recommends white-box tests because vulnerabilities can be missed in black-box tests (guide, section 1.3, in German); OWASP advises giving available source code to the testers. Which nine test areas the WZ-IT pentest covers is on the offer page.
Test environment and test data: production or staging
In SP 800-115, section 6.3 NIST names three factors when deciding between a production and a non-production system. The table compares them.
| Criterion | Test instance (staging) | Production system |
|---|---|---|
| Impact on operations | According to NIST, a technique likely to cause an outage should probably be used against a non-production system | A pentest uses real attacks and poses a high risk to networks and systems (NIST, section 5.2); the BSI mentions the option of scheduling the test period at a time with little impact, although the necessary data traffic may then be missing (section 3.1.2, in German) |
| Personal data | Where testing could expose sensitive personally identifiable information to people without authorization, NIST advises considering a non-production system with test data | The exposure risk exists; where personal data is affected, the data protection officer is to be involved beforehand according to the BSI (section 2.3, in German) |
| Informative value | Only as good as the similarity: according to NIST, differences between test and production environment can cause vulnerabilities to be missed; the BSI considers the results of a simulation transferable only to a limited extent | The results relate to the real system |
The OWASP Web Security Testing Guide describes the user acceptance test (UAT) environment as the one most representative of the release configuration, with the exception of the data: test data is used there in place of real data. Typical for security testing there, it says, are configuration issues, for example a server without minimum privileges, without a valid certificate, or a web root directory with test and administration pages (OWASP WSTG, introduction).
After the test: remove test data and test accounts. PCI DSS separates pre-production and production environments (requirement 6.5.3), excludes live card numbers in pre-production environments outside the cardholder data environment (6.5.5) and requires in requirement 6.5.6 that test data and test accounts are removed from system components before the system goes into production, each for entities within its scope (PCI SSC, SAQ D, PCI DSS 4.0). As items on the go-live checklist they are in our assessment sensible for any application: a test account with administrator rights does not belong in production.
Order of audit, scan and pentest
For web presences the BSI describes this sequence: first an IS short review (IS-Kurzrevision: a sample-based check of the baseline protection under IT-Grundschutz), then the web application without an upstream security gateway with an IS web check (common security gaps, input validation), and in the last step the security gateway and further interfaces with an IS penetration test (BSI guide, section 2.1.2, figure 1, in German). The order quality assurance, configuration review, scan, pentest in the following table is not a restatement of this sequence but our transfer of the principle to check the basics first and the deepest test last. The assignment to the offers of WZ-IT is also simplified and not a statement of the BSI.
| Stage | Question | Check | Assignment |
|---|---|---|---|
| 1. Quality assurance | Does the application work as specified? | Functional tests, code review | Internal quality assurance; the pentest does not replace it (BSI, section 2.1.2, in German) |
| 2. Configuration and hardening | Are servers, cloud and network configured securely? | Configuration and hardening review | Security audit: checks configuration, hardening, access, patch level, logging and backup and is not a pentest |
| 3. Scan | Are there known vulnerabilities in dependencies and versions? | Vulnerability scan | Vulnerability scanning in operations |
| 4. Audit of the application (for AI-built apps) | What must be fixed before the start? | Code, configuration, data access and operational readiness | Production Readiness Audit within the audit of AI-generated apps |
| 5. Pentest | What can be exploited on the running target? | White-box pentest against the test instance | Pentest for web applications and APIs |
In our assessment the order has a practical reason: findings that a scan or a configuration review reports reliably should be fixed before the pentest, so that the test can spend its time on permissions, logic and tenant separation. On its offer page WZ-IT describes the scan as a sensible ongoing baseline check that does not replace the pentest, and the pentest does not replace the scan.
Schedule backwards from go-live
Planning runs backwards because the duration of remediation is not known in advance: it depends on the number and type of findings. The sources give no fixed durations; the BSI notes that within the test period sufficient time for familiarisation with the technology and time for writing the report must be planned (guide, section 3.1.2, in German). The table is a planning aid by WZ-IT, not a standard.
| Step (backwards from go-live) | What must be in place |
|---|---|
| Release and go-live | All findings decided according to the matrix; risk acceptances in writing; evidence of remediation; test data and test accounts removed from production |
| Retest | Fixed findings tested again; result available |
| Remediation | Findings prioritized, critical and high first; code changes passed through quality assurance again |
| Report and closing meeting | Report with description of the test object, management summary and technical descriptions with recommendations (BSI, section 4.1.3, in German) |
| Test period | State frozen; test instance, test data, accounts and contact person ready |
| Decision and order | Decision using the table on the decision by risk; test object, test period and test depth agreed; hoster included |
In our assessment the buffer between report and go-live is the most important item: a date without time for remediation and retest leaves only the choice between postponement and a switched-off function when a finding is critical (WZ-IT assessment).
Release criteria by severity (proposal, not a standard)
According to the OWASP Web Security Testing Guide, when go-live is blocked follows the information risk management procedures of the organization. Such procedures can require that all high-risk vulnerabilities are fixed before the application can be deployed, unless such risks are acknowledged and accepted (WSTG, introduction). The BSI assigns the response immediately to damage potential high, short-term to medium, medium-term to low and long-term to for information (guide, section 4.1.3, in German). CVSS provides the bands: Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0, identical in versions 3.1 and 4.0 (CVSS 3.1, table 14, CVSS 4.0, table 22).
Go/No-Go matrix: proposal by the editors, not a standard. The thresholds are our classification. None of the sources names a fixed threshold for go-live, and the assignment of the CVSS bands to the BSI levels is ours. “For information” is a level of the BSI table; CVSS calls the 0.0 band None.
| Severity (CVSS band per FIRST) | Response per BSI level | Decision (proposal) | Condition for go-live | Retest |
|---|---|---|---|---|
| Critical (9.0 to 10.0) | high: immediately | No-Go; no exception provided, the function stays switched off until it is fixed | Finding fixed and tested again on the target | Yes, before go-live |
| High (7.0 to 8.9) | high: immediately | No-Go; exception only with a written risk acceptance by the responsible party | Finding fixed, or risk accepted in a documented way, with reasoning, compensating measure and deadline | Yes, when fixed before go-live |
| Medium (4.0 to 6.9) | medium: short-term | Go with a condition | Remediation date and responsible person named; finding is on the action list | In the next test or retest |
| Low (0.1 to 3.9) | low: medium-term | Go | Finding is on the action list | Not before go-live |
| None (CVSS 0.0), classified by us as purely informational | for information: long-term | Go | Note taken | Not needed |
Four rules complement the matrix. They are also a proposal.
- The value is a starting point. According to the CVSS specification, consumers should enrich the base metrics with threat and environmental metric values specific to their use of the vulnerable system, and the qualitative severity ratings are optional (CVSS 4.0). The BSI rates the same vulnerability differently depending on the protection needs of the data processed (section 4.1.3, in German).
- Combinations count. Most penetration tests look for combinations of vulnerabilities that together allow more access than a single one (NIST, section 5.2). Several medium findings with a common attack path are assessed together.
- Findings that concern the data of other accounts or tenants are rated at least like high findings (WZ-IT assessment).
- Untested areas are a decision. The report shows which parts were not covered; that something was not tested is decided and documented explicitly. At WZ-IT every finding carries one of four states, and the report contains a coverage table (offer page).
What applies to a critical finding shortly before go-live is covered in the questions at the end of this article.
AI-built apps before go-live
The vendor Lovable describes in its documentation (as of 22 November 2026) two built-in scanners: the Quick scan on every publish (database rules, npm dependencies, MCP server without authentication) and the Deep scan over the application code. According to the documentation both scanners and the optional external scanner work statically, by reading code and configuration; an AI pentest through a connected external solution complements this with dynamic analysis against the running application. The recommended order is to run the security scanners first, fix what they surface, then validate with a pentest before a major release (Lovable documentation, Security overview).
The builder scan is therefore a step before the pentest, not a replacement. In our assessment, for an AI-built app sign-in, access rights, secrets and database rules are to be checked first before go-live. How this looks for Lovable apps is shown by the security checklist for Lovable apps; the gaps of code from AI tools are described in the article on the risks of vibe coding, the course of a review in the article Reviewing AI-generated software before production. At WZ-IT the audit (code, configuration, data access, operational readiness) is part of the audit of AI-generated apps: the audit says what must be fixed before the start, the pentest proves what can be exploited.
After go-live: retest and repeat after major releases
Go-live does not end testing. NIST recommends testing applications again periodically after going into production and when significant patches, updates or other modifications are made or when significant changes occur in the threat environment (SP 800-115, appendix C). According to the BSI a pentest is valid only at the time of the test (guide, section 2.3, in German). The sources name significant changes as the trigger, not every release; in our assessment changes to sign-in, roles, tenants and interfaces trigger a new test, while small releases are covered by automated tests, scans and code review. How often to test by standard and trigger is covered in the article on intervals by standard and trigger.
On remediation the sources name two procedures that do not coincide. PCI DSS requires in requirement 11.4.4, for entities within its scope, that exploitable vulnerabilities are corrected according to the entity’s own risk assessment and that the pentest is repeated (PCI SSC, SAQ D). The BSI, by contrast, places the cyclical re-checking of fixed vulnerabilities with internal quality assurance, because the testers would otherwise lose independence and flexibility, and recommends reproducible test procedures that test again after every change (guide, section 1.4.2, in German). With the one-off pentest, WZ-IT offers a retest after remediation. For applications with frequent releases there is the pentest subscription, quarterly or monthly.
Our approach at WZ-IT
For web applications and APIs we offer the automated white-box pentest. For a go-live it runs like this:
- Handover: You hand over the source code, a running test instance and test accounts per role and tenant, at least two accounts of equal rank.
- Ownership check: We verify that the repository and the application belong to you and that you are entitled to commission the test. Without this proof we do not start a test.
- Inventory: We record the routes of the application in an inventory.
- Attack: The attacks run against the test instance in a sealed-off test environment, never against the production system.
- Proof: Confirmed findings come with proof. Every finding carries one of four states: confirmed, refuted, suspicion without confirmation or not tested.
- Manual review: Our team reviews severe confirmed findings by hand.
- Report: The report contains a summary with scope, overall risk and the number of findings per severity, and a coverage table showing what was tested and what was not.
- Retest: With the one-off pentest, a retest within 30 days after remediation is included.
This procedure describes the WZ-IT offer and is not a statement of the cited sources. A test run takes around 6 to 12 hours depending on scope and size of the application; afterwards we review the findings and hand over the report. The runtime view of the routes is currently available for Express (Node.js); whether your framework fits is clarified before the quote. Whether a report is accepted as evidence for a specific audit or certification is decided by the respective testing body.
The one-off pentest costs €1,000 (small), €1,500 (medium) or €2,000 (large), excl. VAT, as a fixed price by size of the application. The pentest subscription costs, excl. VAT per year, €2,500 (small), €3,750 (medium) or €5,000 (large) for quarterly tests and €4,000 (small), €6,000 (medium) or €8,000 (large) for monthly tests. For infrequent releases the one-off pentest is often enough according to the offer page. On request we fix the findings and take over hosting and operations.
Common misconceptions
| Misconception | Correct | Source |
|---|---|---|
| The pentest before go-live is the first security check. | OWASP calls testing only in the deployment phase generally very ineffective and cost-prohibitive; the BSI recommends a multi-stage procedure with quality assurance beforehand. | OWASP WSTG, BSI, section 2.1.2, in German |
| A passed pentest means: secure. | The results are valid only at the time of the test, and because of limited resources it is not guaranteed that all existing errors are found. | BSI, section 2.3, in German |
| It is best to test in the production system; staging applies one to one. | A pentest poses a high risk to networks and systems; differences between test and production environment can cause vulnerabilities to be missed, and the results of a simulation are transferable only to a limited extent. Both are to be weighed. | NIST, sections 5.2 and 6.3, BSI, section 3.1.2, in German |
| The test accounts can stay after go-live. | PCI DSS requires test data and test accounts to be removed from system components before go-live (requirement 6.5.6, version 4.0, for entities within its scope). | PCI SSC, SAQ D |
| The scan of the AI app builder is the pentest. | According to the vendor the scanners read code and configuration statically; dynamic analysis against the running application complements them. | Lovable, as of 22 Nov 2026 |
Status and methodology
Research status: 22 November 2026. The sources were retrieved on the reference date; the passages are given in the text. The sources differ in age (BSI guide 2016, NIST 2008, PCI DSS 4.0 in the SAQ D of 2022; versions in the list of sources), and the Lovable documentation changes continuously. In our assessment attack types and tools have changed since the older sources; the principles on test environment, test data, a frozen state and retest are in our assessment affected less, but we have not checked this.
Statutory texts: section 202a StGB and section 30 BSIG (gesetze-im-internet.de) as well as Article 32 GDPR and Article 21 of the NIS 2 Directive (EUR-Lex) were read in their wording. Article 32(1)(d) GDPR and Article 21(2)(f) of the NIS 2 Directive name a process or procedures to assess the effectiveness of the measures (the GDPR with the qualifier "as appropriate", NIS 2 as a requirement on member states) and no penetration test; we have not evaluated further provisions of the GDPR and NIS 2. PCI DSS applies only to entities within the scope of the standard. The cited requirements come in their wording from the SAQ D for PCI DSS 4.0. The PCI SSC announced that it would retire PCI DSS 4.0 on 31 December 2024; after that, version 4.0.1 of June 2024 is the only supported version. According to the PCI SSC it contains no new or deleted requirements but states individual requirements more clearly (PCI SSC blog). The SAQ D for 4.0.1 was not reachable for automated retrieval (HTTP 403); whether the cited requirements are unchanged in its wording there, we have not checked. We have not re-checked the documentation of other AI app builders. The BSI guide and the German statutes are in German; the quotations from them are our translation.
The Go/No-Go matrix, the assignment of the CVSS bands to the BSI levels, the rules on combinations, tenant data and untested areas, the backwards schedule, the checklist on the testable state, the order of the test stages with their assignment to the offers and all statements marked “WZ-IT assessment” or “our assessment” are our classification. None of the sources names a fixed threshold for go-live. The statements of WZ-IT on procedure, prices, test run time, retest and test accounts come from the offer pages (as of 22 November 2026) and may change. Whether a particular test satisfies a standard depends on the framework and on the testing body; we make no statement on that.
Further guides
- Intervals by standard, trigger and release rhythm
- Price ranges, day rates and fixed fees
- Difference between vulnerability scan and pentest
- White box, black box, grey box: differences and which to choose
- Automated white-box pentest for web applications and APIs
- Pentest subscription: quarterly or monthly
- Audit of AI-generated apps: audit and pentest
- Security audit for servers and cloud
- All articles on security and pentesting
Go-live planned? We classify your application, clarify test instance and test accounts and tell you which check makes sense before go-live. Book an intro call · Request a pentest
Sources
- BSI: Praxis-Leitfaden für IS-Penetrationstests, Version 1.2, November 2016 (in German)
- NIST SP 800-115: Technical Guide to Information Security Testing and Assessment, September 2008
- OWASP Web Security Testing Guide, Version 4.2
- OWASP Web Security Testing Guide: Introduction and Objectives
- OWASP Web Security Testing Guide: Test Role Definitions (WSTG-IDNT-01)
- PCI SSC: SAQ D for Service Providers, PCI DSS 4.0, April 2022
- PCI SSC Blog: Just Published, PCI DSS v4.0.1
- FIRST: CVSS v3.1 Specification Document
- FIRST: CVSS v4.0 Specification Document
- Strafgesetzbuch § 202a: Ausspähen von Daten (German Criminal Code, in German)
- BSIG § 30: Risikomanagementmaßnahmen besonders wichtiger Einrichtungen und wichtiger Einrichtungen (in German)
- Regulation (EU) 2016/679 (GDPR), Article 32: Security of processing
- Directive (EU) 2022/2555 (NIS 2), Article 21: Cybersecurity risk-management measures
- Lovable documentation: Security overview











