An application pentest (also called a penetration test) is a manual, authorized security test in which specialists try to find real weaknesses in a web application, API or mobile app before someone else exploits them. Its value lies in the report: it tells you what was tested, what was found, how serious each finding is and how to fix it.
This guide is for the people who buy and manage security testing (CISOs, CTOs, IT managers, product leaders and compliance owners). It answers two practical questions: when hiring a pentest makes sense, and what to demand from the provider in the report. It does not teach attack techniques; the focus is decisions, scope and the quality of the deliverable.

What Is an Application Pentest (and What It Is Not)
An application pentest is an authorized test, with a defined scope and timeframe, in which professionals simulate attacker behavior against a system (for example, a web portal, an API or a mobile app) to identify exploitable weaknesses and measure real impact. The result is a report with evidence and remediation recommendations.
This definition separates pentesting from other activities that are often confused with it. The confusion is expensive: many companies buy a “pentest” and, in practice, receive the output of an automated tool.
| Activity | Who does it | Depth | When to use it |
|---|---|---|---|
| Automated vulnerability scan | A tool, with minimal review | Broad and shallow: finds known issues, with false positives | Continuous routine (weekly or every release) |
| Vulnerability assessment | An analyst, supported by tools | Medium: catalogs and rates issues, without necessarily exploiting them | Periodic inventory and prioritization |
| Pentest | A specialist, mostly manual work | Deep: chains weaknesses, tests business logic and measures impact | Before launches, after major changes and on an annual cycle |
| Red team | An offensive team | Objective-driven (for example, reaching a critical asset), including people and processes | Mature organizations that already have defense and incident response |
| Bug bounty | External researchers, paid per valid finding | Variable; depends on who participates | Complement to planned testing, not a replacement |
Two points matter for buyers. First, scanning and pentesting are complementary: under the PCI DSS payment standard, for example, they are separate requirements, and one does not replace the other. Second, a pentest is a snapshot of a moment and a scope: it does not prove that a system is “secure”; it shows what was found within that boundary.
When to Hire an Application Pentest
The short answer: hire when an application that matters to the business is about to change in a significant way, when someone outside the company requires proof of testing (a customer, an auditor, a standard), or when you already have an annual routine. Hiring “just in case,” with no trigger and no scope, tends to produce a generic report.
Before a Launch or Major Change
A new product, a new public API, an authentication change, an architecture migration or a partner integration all change the attack surface. Testing before go-live lets you fix issues while the cost of change is still low. Testing after launch is better than never testing, but it usually means fixing under pressure.
When a Customer, Audit or Standard Requires It
Enterprise contracts, customer security questionnaires and certifications often ask for evidence of independent testing. If your company handles card data, PCI DSS v4.0.1 (requirement 11.4) calls for internal and external penetration testing at least every 12 months and after significant infrastructure or application changes; see the requirement described in this Blaze Infosec guide (a vendor source; confirm the wording in the official PCI Security Standards Council document). This applies to PCI scope, not to every company.
After an Incident
An incident shows at least one real weakness. A well-scoped pentest after containment helps you find similar weaknesses and confirm that the fix works.
As an Annual Routine
Even without an external trigger, an annual cycle for your most critical applications is a common practice. One caveat: the cycle is a risk decision for your company, not a universal obligation. Fast-changing systems call for more frequent or change-focused tests; stable ones can follow the annual cycle.
When Not to Hire Yet
If the application still has basic flaws that a tool or a code review would catch, the pentest will spend time (and budget) on what was avoidable, and the report will list problems your own team could have fixed. It is worth preparing first.
Signs that it is too early:
- There is no clear inventory of exposed applications and APIs;
- there is no staging environment close enough to production for safe testing;
- the team cannot fix findings (no owner, no backlog, no release window);
- basic automated scans have never been run, or their results were never addressed;
- the system is about to be rewritten, so the test would cover code that will be discarded.
In these cases, the path is code review, automated testing, continuous scanning and hardening, and only then the pentest. A software factory with dedicated QA, automated testing and code review helps you reach the test with fewer avoidable problems and, above all, with a team ready to fix whatever comes up.
Pentest Types: Black, Gray and White Box; Web, API and Mobile
The test type defines what the provider can see before starting, which changes depth, timeline and cost.
| Type | What the tester receives | Advantage | Limit |
|---|---|---|---|
| Black box | Almost nothing (only the target, like an outside attacker) | Simulates an external point of view | Spends time on discovery and may leave deeper areas uncovered |
| Gray box | User accounts for different roles, basic API documentation | Balance between realism and depth; a good default for applications | Depends on good test accounts |
| White box | Source code, architecture, technical access | Greatest coverage; finds flaws an external test cannot reach | Takes more time and more trust between the parties |
On application fronts: for web applications, the focus is usually authentication, authorization, input validation and business logic; for APIs, access control per object and per function, usage limits and excessive data exposure; for mobile, local storage, communication with the back end and app protection. Public services already describe this split: the Brazilian government’s CISC penetration testing service (page in Portuguese), for example, lists web applications, APIs, intranet systems and infrastructure as testing fronts.
In practice, most relevant flaws in enterprise systems sit in business rules and access control (who can see or change what), not on the login page. That is why you should require gray box testing with real user roles, at least for your most important applications.
How to Define Scope and Rules of Engagement
Scope is the list of what will be tested, in which environment, with which accounts and during which period. Rules of engagement are the limits: what the provider can and cannot do. Vague scope is the most common cause of a weak pentest, because the provider tests what is easiest, not what is most critical.
What to settle in writing before the start:
- Assets: URLs, APIs, apps and versions; what is out of scope;
- environment: staging or production; if production, windows and load limits;
- user roles: test accounts for each role (regular user, administrator, partner);
- data: real or fictional data; handling of personal data during the test (relevant for privacy laws such as Brazil’s LGPD);
- formal authorization: a signed document authorizing the test; testing without authorization is illegal, for the provider and for whoever requests it without the authority to do so;
- contacts and communication: who calls whom if the test causes instability, and how critical findings are reported before the final report;
- dates and deadlines: testing period, report delivery and retest window;
- confidentiality: where the report is stored and who can access it.
| In scope (example) | Out of scope (example) |
|---|---|
| Customer portal in staging, with three roles | Integrated third-party systems, without their authorization |
| Orders API v2 | Denial-of-service attacks |
| Mobile app, version 3.4 | Social engineering of employees |
Hypothetical example (illustrative): a company asks for a “pentest of the system” and the provider tests only the public page. If the real risk is in the orders API used by partners, the report will come back clean and the risk will remain untouched. A well-written scope avoids that outcome.
What to Demand from the Pentest Report
The report is the product. A good report lets leadership understand the risk, lets the engineering team reproduce and fix each finding, and lets an auditor or customer see what was covered. The reporting guide in the OWASP Web Security Testing Guide (v4.2) recommends an introduction with scope and limitations, an executive summary, findings and appendices, and says each finding should be detailed enough that an engineer can act on it without further questions.
| Report part | What it should contain | What to demand |
|---|---|---|
| Executive summary | Test objective, business risk, top findings by real impact, next steps, no jargon | One page that leadership can understand |
| Scope and methodology | What was and was not tested; type (black, gray or white box); standards followed (such as OWASP); limitations and period | An explicit statement of what was left out |
| Findings summary | Table with ID, title and severity | Count by severity and ordering by risk |
| Finding detail | Clear title, affected component, description, reproducible evidence, realistic impact, specific fix, references (CWE, OWASP) | Your engineer can reproduce and fix it without asking questions |
| Remediation plan | Findings grouped by urgency and root cause | Architectural changes flagged |
| Retest | What was fixed, what persists and what is new | Retest included in the contract, with a window |
| Appendices | Severity level definitions, curated tool output, list of tests performed | No raw scanner dumps |
Points that deserve attention when you write the requirements:
Severity with Context, Not Just a Number
OWASP suggests levels from Informational to Critical, defined in an appendix, and treats CVSS as optional in some engagements. CVSS (Common Vulnerability Scoring System) is a standardized technical severity score; it is a useful reference but not enough on its own: a widely exposed flaw rated 7.5 can matter more than a 9.8 behind multi-factor authentication on a single admin account, according to SecureLayer7 (a vendor source). Ask for severity justified by your business context.
Reproducible Evidence
Every finding needs evidence (a request, a screenshot, steps) that your team can use to reproduce it. Without that, fixing turns into a debate over whether the problem exists.
A Specific Fix
“Apply best practices” is not a recommendation. The fix should point to what to change (configuration, code, access control) and, when possible, to the root cause shared by several findings.
Declared Limitations
The report should state what was not tested, which accounts were used and during which period. OWASP also recommends a disclaimer that the result is a point-in-time snapshot, with no guarantee of complete coverage. Anyone promising “100% secure” is selling something a pentest does not deliver.
Checklist to copy into your contract:
- Executive summary in business language;
- scope, methodology and limitations described;
- test type (black, gray or white box) stated;
- findings with ID, title, severity and affected component;
- reproducible evidence for every finding;
- realistic impact described;
- a specific fix for each finding;
- severity level definitions;
- remediation plan by urgency and root cause;
- retest included in the contract;
- confidentiality and report delivery method;
- a short attestation letter, if a customer or auditor requires one.
Signs of a Weak Report
SecureLayer7 lists warning signs (a vendor source, but the signs match what open guides recommend):
- Scanner output relabeled as a pentest: hundreds of low-confidence findings, with no curation or business context. It may mean the service was really a vulnerability scan;
- ranking by CVSS alone, without context;
- no retest and no remediation guidance, leaving the customer to start over;
- no evidence, or evidence your team cannot reproduce;
- no mention of what was not tested;
- generic recommendations copied between findings.
If the delivered report shows several of these signs, document it in writing, ask for a revision and use the contract (scope, retest, evidence) as the basis for the conversation.
How to Choose a Provider
Compare providers by their answers to objective questions, not by their sales pitch.
| Question | Good answer |
|---|---|
| Who performs the test? | Named professionals with proven experience; discloses any subcontracting |
| What is the methodology? | Open references (OWASP, NIST) and a described process |
| Is there a sample report? | Yes, with customer data removed |
| Is the retest included? | Yes, with a window and limits defined in the contract |
| How is scope defined? | Built with you, with user roles and environments |
| How is confidentiality handled? | Non-disclosure agreement, secure storage, agreed disposal |
| What happens if something breaks during the test? | Communication and stop plans defined in advance |
| Is the test manual? | Yes, tool-assisted, and the proportion is explained |
On methodology: NIST SP 800-115, from 2008, describes a process of planning, execution and post-execution, and is a process reference, not a reference for current techniques; citing it is valid as long as the date is acknowledged. Avoid provider rankings based on quotation platforms: they indicate the number of companies listed, not delivery quality.
How Much Does a Pentest Cost (and Why There Is No Single Number)
There is no reliable, verifiable price range for the Brazilian market in the public sources researched for this text. The figures circulating on vendor blogs vary widely, mix dollars and reais and do not explain their methodology. So this guide does not reproduce ranges; it shows what moves the price and how to request comparable proposals.
The factors that most influence cost:
- number of applications, APIs and mobile apps;
- number of features, endpoints and user roles;
- test type (black, gray or white box);
- required depth and timeline;
- inclusion of a retest and an attestation letter;
- environment (staging or production) and restricted windows;
- compliance requirements (for example, a report aligned to PCI DSS).
To compare proposals, give every provider the same written scope, ask for a fixed price per scope and timeline, and check what is included (retest, a report walkthrough meeting, support for fixes). A cheap proposal without a retest often turns out expensive.
After the Report: Fix, Retest and Measure
Receiving the report is the start of the work. Data from the State of Pentesting Report 2025, by Cyentia and Cobalt (Cobalt is a pentest-as-a-service vendor, so this is an industry source based on the company’s own data), shows that fixing is the hard part: the median time to resolve all findings is 67 days, about five times the two-week target that three quarters of organizations say they have; the good news is that the median for serious findings fell from 112 days in 2017 to 37 days in 2024. Read this as an order of magnitude, not a universal target.
A simple flow after the report:
- Triage within a few days: confirm each finding, discard false positives and record the decision;
- an owner and a deadline per finding, in the same backlog as the product team;
- fix the root cause, not just the symptom (if several findings come from one access-control weakness, fix the rule, not each screen);
- retest by the provider, within the contracted window;
- keep the evidence (for audits and customers) and review what to change in the development process.
Suggested deadlines by severity, as a starting point (an editorial proposal from NextAge, to be adjusted to your reality and internal policy):
| Severity | Initial action | Suggested fix deadline |
|---|---|---|
| Critical | Activate the team and assess immediate mitigation | A few days |
| High | Prioritize in the next sprint or release | Up to about 30 days |
| Medium | Add to the backlog with an owner | Up to about 90 days |
| Low and informational | Handle through continuous improvement | As capacity allows |
This is where engineering capacity decides the outcome. The pentest finds the flaws; the development team fixes them, tests them and ships them. A software factory like NextAge’s, with a dedicated team, QA, automated testing, code review and ongoing support (AMS), works on exactly the layer that turns a report into delivered fixes and continuous evolution of the system.
Pentest, LGPD and Compliance
Brazil’s LGPD (the General Data Protection Law) does not expressly require pentesting. Article 46 requires data processing agents to adopt technical and administrative security measures able to protect personal data from unauthorized access and from accidental or unlawful destruction, loss, alteration, disclosure or any form of improper processing (annotated text in this Aurum material, in Portuguese; confirm the statute’s text at the official source). A pentest is one way to show that you test your measures, but it is neither the only way nor required by name.
In its information security guide for small processing agents, the ANPD, Brazil’s data protection authority, lists maintaining a vulnerability management program among the technical measures. That reinforces the logic: handling vulnerabilities systematically is expected; the pentest is one of the tools for that.
| Standard | What it says about testing | What it does not say |
|---|---|---|
| LGPD, art. 46 | Requires adequate technical and administrative security measures | Does not mention pentesting or set a frequency |
| ANPD security guide (small agents) | Treats vulnerability management as a technical measure | It is not a pentest obligation |
| PCI DSS v4.0.1 (req. 11.4) | Internal and external pentest at least every 12 months and after significant changes, for those handling card data | Does not apply to companies outside PCI scope |
In short: use the pentest as evidence of diligence, not as a compliance certificate. For legal questions specific to your company, consult your legal team or data protection officer.
Conclusion and Next Step
Three ideas sum up this text. First, hire a pentest when there is a clear trigger (a launch, a major change, an external requirement or an annual cycle) and when the team is ready to fix what is found. Second, the report is the product: demand declared scope and limitations, severity with context, reproducible evidence, a specific fix and a retest. Third, a pentest only reduces risk if the fixes reach production.
If your pentest report has pending fixes and you lack the engineering capacity to execute them, talk to NextAge about how to organize and deliver those fixes with a software factory.
Frequently Asked Questions About Application Pentesting
What is an application pentest?
It is a manual, authorized security test in which specialists simulate attacker behavior against web applications, APIs or mobile apps, within an agreed scope. The goal is to find exploitable weaknesses, measure the impact and deliver a report with evidence and remediation recommendations.
What is the difference between a pentest and a vulnerability assessment?
A vulnerability assessment catalogs and rates known weaknesses, usually with tool support, without necessarily exploiting them. A pentest goes deeper and is mostly manual: it chains weaknesses, tests business logic and measures real impact. The two activities complement each other.
How often should you run a pentest?
It depends on risk and on how much the system changes. A common practice is an annual cycle for critical applications, plus tests after relevant changes. For companies within PCI DSS v4.0.1 scope, requirement 11.4 calls for testing at least every 12 months and after significant changes.
What should a pentest report include?
An executive summary, scope and limitations, a findings summary and detail (severity, affected component, reproducible evidence, impact and a specific fix), a remediation plan, retest results and appendices defining the severity levels. Raw scanner output is not a report.
Is a pentest mandatory under the LGPD?
Not expressly. Article 46 of the LGPD requires adequate technical and administrative security measures to protect personal data, without mentioning pentesting. A pentest can serve as evidence of diligence, but the obligation is security appropriate to the risk, not a specific type of test.
How much does a pentest cost?
There is no reliable, verifiable range for Brazil in the sources researched. Price depends on the number of applications and user roles, the test type (black, gray or white box), depth, timeline and items such as a retest. Ask for a fixed-scope proposal and compare what is included.
Do I need a retest after the fixes?
Yes. It is what confirms that the fixes worked and that no new problems appeared. Without a retest, you do not know whether the risk went down. Agree in the contract on the window, the limit and the format of the retest result.

English
Português









