Lex Technologies

Guide Penetration testing • scope • deliverables

How to scope a pentest that finds real risk.

A strong scope focuses on trust boundaries and business-critical workflows, not just a list of endpoints. Use this guide to write a statement of work that produces high-signal findings and fix-ready reporting.

Guide

Pentest scoping checklist

Use this to align stakeholders, avoid surprises during testing, and make sure the report maps to real risk.

1. Start with trust boundaries

A pentest is most valuable when it validates the boundaries you rely on: identity, authorization, and separation between tenants, services, and environments.

  • What are the primary roles (user, admin, support, service accounts)?
  • Where is sensitive data stored, transformed, or exported?
  • Which workflows can cause business impact (payments, payouts, refunds, onboarding, admin changes)?

2. Define what is in scope

List systems by impact and boundary, not just by URL count.

  • Public web app(s), APIs, and any admin portals
  • Mobile apps (if applicable) and their APIs
  • Critical third-party integrations (SSO, payments, storage, email)
  • Cloud accounts/projects/subscriptions (where testing is allowed)

3. Define what is out of scope

Clear exclusions reduce operational risk and prevent a mismatch between expectations and method. Common exclusions include:

  • Denial of service / stress testing (unless explicitly authorized)
  • Social engineering and phishing (unless explicitly authorized)
  • Physical security testing
  • Targets owned by a third party where you do not have permission

4. Constraints and safe testing rules

Specify the guardrails that keep testing safe and repeatable.

  • Allowed hours / test windows (and blackout dates)
  • Rate limits, data handling rules, and whether safe exploitation is permitted
  • Who to notify if a high-severity issue is found during testing
  • Incident escalation path and contact emails

5. Access, accounts, and test data

Avoid wasted days by preparing access before the engagement starts.

  • Test accounts for each role (user/admin/support) and realistic permissions
  • Non-production test data that mirrors real permission edge cases
  • IP allowlisting requirements (if any)
  • Architecture notes for auth, multi-tenancy, and critical services

6. Deliverables that engineering can ship

Make deliverables explicit. A pentest report should be readable by leadership and actionable for engineers.

  • Executive summary with risk narrative and prioritized roadmap
  • Technical findings with evidence, reproduction, and secure fix guidance
  • Scope and methodology section aligned to the agreed constraints
  • Retest plan and criteria for closure

7. Retesting and remediation

A pentest is only finished when the top findings are fixed and verified. Plan for retesting as part of the engagement.

  • Target retest window (for example within 2-4 weeks of report delivery)
  • How fixes will be tracked (tickets, owners, due dates)
  • How closure will be recorded (evidence of fix + verification)

8. Common scoping mistakes

  • Only listing URLs and missing critical workflows (admin, data export, account recovery).
  • Not providing representative roles (admin/support) and then being surprised by authorization issues.
  • Allowing testing only on a stale staging environment that does not match production reality.
  • Skipping retesting and treating a report as the end state.

Want a scope drafted for your environment?

Lex is an India-based cybersecurity company supporting teams in India, the USA, Europe, and Australia. Share your stack and timeline and we will propose a clean scope and deliverables.

Contact Lex