A penetration testing scope document is a short written agreement that says exactly what will be tested, how, when, by whom and under what limits. It lists the targets (URLs, APIs, apps, IP ranges), the testing approach, the accounts the tester will use, what is off-limits, the testing window, the people to call if something goes wrong, and what the final report must contain.
Getting the scope right is the single biggest factor in whether a VAPT engagement is useful. A vague scope leads to a quote that does not match the work, a test that misses the features you actually care about, and a report your client or auditor will question. This guide shows you what to put in the document, a simple structure you can copy, and the mistakes that cost teams time and money.
Key takeaways
- The scope document defines targets, approach, accounts, exclusions, timing, contacts and reporting. Anything not written down is open to argument later.
- Rules of engagement are part of the scope: they set what the tester may and may not do, and when testing must stop.
- List every in-scope asset explicitly, and list exclusions just as clearly, including third-party services you do not own.
- Prepare test accounts for every user role before testing starts. Missing accounts are the most common reason tests stall.
- Get written authorisation from whoever owns each system, including your cloud or hosting provider's rules where they apply.
- A precise scope gives you an accurate fixed quote and a report that stands up to a client or auditor review.
Why the penetration testing scope matters
A penetration test is time-boxed. The tester has a fixed amount of effort, and the scope decides where that effort goes. If the scope says "test our website", one vendor may test only the public pages while another tests every logged-in workflow. Both have technically done what was asked, but the results are not comparable.
The scope also protects both sides. It is the written permission that makes the testing lawful, it tells your operations team what traffic to expect, and it sets the boundaries the tester must respect. Methodologies such as the Penetration Testing Execution Standard (PTES) treat this "pre-engagement" stage as a phase of its own, and NIST SP 800-115 also stresses planning and rules of engagement before any testing begins.
The scope also shapes the report: an auditor or enterprise customer first checks what was covered. See what a good VAPT report contains.
What to include in a scope of work for VAPT
A good scope of work for VAPT does not need to be long. What matters is that each item below is answered clearly.
1. Objectives
Start with why you are testing. Typical reasons are a customer security questionnaire, a compliance requirement, a major release, a new mobile app launch or a yearly check. The objective decides the depth. A test to satisfy an enterprise client's procurement team may need full coverage of the customer-facing product, while a pre-release check might focus only on the new features.
2. In-scope assets
List every target explicitly. Do not write "all our systems". For each asset, give enough detail that the tester can find it and size the work:
- Web applications: the exact URLs and environments (staging or production), the user roles, and the main modules such as onboarding, payments, reports and admin.
- APIs: the base URLs, the API documentation or a Postman/OpenAPI collection, the authentication method, and whether the API is used by a web front end, a mobile app or partners.
- Mobile apps: Android and/or iOS, the build to test (store version or a test build), and the backend APIs the app calls.
- Network and cloud: public IP addresses or ranges, internal subnets if internal testing is planned, and the cloud accounts or services in scope.
- Source code: repositories, branches or commit IDs, languages and frameworks, if a source code review is included.
3. Out-of-scope items
Exclusions matter as much as inclusions. Common ones are third-party services you use but do not own (payment gateways, email providers), denial-of-service testing, social engineering and physical access. Write them down so nobody assumes they were tested.
4. Testing approach
State whether the test is black box, grey box or white box. For most applications, grey box (the tester gets user accounts and documentation) gives the best coverage for the effort. Our guide on black box vs white box testing explains the trade-offs. Also mention the standards you expect the work to follow, such as the OWASP Web Security Testing Guide, the OWASP API Security Top 10 or OWASP MASVS for mobile.
5. Test accounts and access
Provide at least two accounts for each role so the tester can check whether one user can see or change another user's data. Include admin accounts if admin features are in scope. If the app uses OTP, multi-factor authentication or CAPTCHA, agree in advance how the tester will handle them: test numbers, a bypass in staging, or a contact who can share codes. If VPN or IP allow-listing is needed, set it up before day one.
6. Environment and data
Say which environment will be tested. Staging is safer, but it must match production closely, or the results may not apply. If production is tested, agree what the tester can create, change or delete, and whether test records should be cleaned up afterwards. Never put real customer data into a test environment just for the test.
7. Schedule and testing window
Give start and end dates, the hours when testing is allowed and any freeze periods, such as a sale or month-end close. Avoid large releases mid-test, or agree which build is being tested, because changes make findings hard to reproduce.
8. Contacts and escalation
Name a technical contact and a backup on your side, and the lead tester on the vendor's side, with phone numbers. Agree what happens if the tester finds a critical issue, such as exposed customer data: who is informed, how fast, and whether testing pauses.
9. Reporting and retest
Describe what you need in the report: an executive summary, findings with severity (for example CVSS v3.1 scores), proof of each issue, clear steps to fix, and a retest after you fix them. If your client needs a summary letter or a specific format, mention it here, not after the report is delivered.
Not sure how big your scope is? Our VAPT cost estimator asks the same scoping questions a tester would, so you can see what drives the effort before you speak to anyone.
Rules of engagement: the part people forget
Rules of engagement are the operating rules for the test. They are often a section of the scope document rather than a separate file. They answer questions like these:
- Which source IP addresses will the tester use, so your team can recognise and, if needed, allow-list the traffic?
- Are automated scanners allowed, and at what request rate?
- Is exploitation allowed, or should the tester stop at confirming a vulnerability exists?
- May the tester try to move from one system to another after gaining access?
- What must the tester do with any sensitive data they see, and how will evidence be stored and deleted after the engagement?
- What are the stop conditions, for example service slowdown or an unexpected error in production?
Write the answers down, and tell your monitoring team or security provider about the test in advance so alerts do not trigger automatic blocking.
Authorisation and third-party permissions
Testing without permission can be unlawful, even when the intention is good. The scope document should be signed by someone who has the authority to approve testing of the listed systems. If a system belongs to a group company, a client or a vendor, get their written approval too.
Cloud and hosting providers publish their own rules for penetration testing on their platforms. Some major providers allow testing of many services without prior approval but prohibit certain activities such as denial-of-service attacks. Check the current policy of each provider you use, because these rules change. Third-party services that you only consume, such as a payment gateway, generally cannot be tested without that provider's permission.
A simple pentest scoping questionnaire
Most vendors send a pentest scoping questionnaire before quoting. You can save time by preparing the answers in advance. The table below shows the questions that matter most and why the tester asks them.
| Question | Why it matters | Example answer |
|---|---|---|
| What are the exact targets? | Defines the work and avoids testing the wrong system | app.example.in (staging), api.example.in v2 |
| How many user roles exist? | Access control testing grows with each role | Customer, branch staff, admin |
| Roughly how many screens or API endpoints? | Main input for effort estimation | Shared OpenAPI file attached |
| Which login methods are used? | OTP, SSO or MFA need planning | Mobile OTP, admin via SSO |
| Black, grey or white box? | Changes depth and what the report can claim | Grey box with API docs |
| Staging or production? | Affects risk, allowed actions and timing | Staging, mirrors production |
| What is excluded? | Prevents unauthorised testing | Payment gateway, email service, DoS |
| Who needs the report? | Sets format and level of detail | Enterprise client, internal dev team |
| Any compliance driver? | Some requirements specify auditor type or format | Client questionnaire, ISO 27001 audit |
If a compliance requirement names a particular type of auditor or report format, check that requirement directly. For example, some regulators and clients ask for a CERT-In-empanelled auditor, while others do not. Our CERT-In audit page explains how we help in such cases.
A scope document structure you can copy
Here is a practical outline in plain language.
- Purpose and objectives: why the test is happening and what decision it supports.
- In-scope assets: a table of targets with environment, roles and notes.
- Out-of-scope items: systems, techniques and data that must not be touched.
- Approach and standards: black, grey or white box, and the methodology references.
- Access provided: accounts per role, documentation, VPN, allow-listing, devices or builds.
- Rules of engagement: allowed techniques, rate limits, exploitation limits, data handling, stop conditions.
- Schedule: dates, permitted hours, freeze periods, planned deployments.
- Contacts and escalation: names, phone numbers and the process for critical findings.
- Deliverables: report format, severity scoring, retest, any summary letter.
- Authorisation: sign-off from your side and any third-party approvals.
Common scoping mistakes and how to avoid them
Scoping too narrowly to save money
Excluding the admin panel or the mobile API to reduce the quote often removes the most risky parts. Attackers do not respect your budget lines. If you must reduce the scope, drop low-risk static pages, not the features that handle money, personal data or permissions.
Forgetting the API behind the app
A mobile app or single-page web app is mostly a front end for an API. If the API is not in scope, the test misses where most real issues sit. Our API security checklist shows what an API review should cover.
Accounts that arrive late or do not work
Time spent waiting for working credentials is wasted. Test every account yourself before the start date, including OTP delivery.
How Xtreme InfoSec handles scoping
At Xtreme InfoSec, every engagement starts with a short scoping call and a written scope that both sides agree before testing begins. We ask for the details in the questionnaire above, confirm test accounts and access, and share a fixed quote based on that scope. Our testing is manual and expert-led, findings are manually verified, and every report maps issues to OWASP categories with step-by-step fixes. A free retest after you fix the issues is included, and we sign an NDA on request.
Frequently asked questions
What is a penetration testing scope?
It is the agreed definition of what will be tested, how, when and under what limits. It covers targets, exclusions, approach, accounts, rules of engagement, schedule, contacts and deliverables, and it serves as written permission for the test.
Who should write the scope document?
Usually the buyer drafts the list of assets and objectives, and the testing vendor helps turn it into a complete scope with rules of engagement. Both sides should review and sign it before testing starts.
Can we add more systems after testing begins?
You can, but it should be done through a written change to the scope, because it changes the effort and the timeline. Adding targets informally often means they are tested less thoroughly than planned.
Should we test staging or production?
Staging is safer and usually preferred, as long as it closely matches production in code and configuration. Some checks, such as server configuration or exposed services, may be more accurate in production. Many teams test the application in staging and do limited, agreed checks in production.
Do we need permission from our cloud provider?
It depends on the provider and the services you use. Several major cloud providers publish testing policies that allow many tests without prior approval but forbid some activities. Read the current policy for each provider before testing starts.
Get your scope reviewed and a fixed quote
Share your targets and we will help you turn them into a clear scope, then send a fixed quote. Email contact@xtremeinfosec.com or call +91 98183 63944.