Before the test
Define the scope
- which domains, subdomains and applications are in scope
- which are out of scope — especially third-party services you do not own, such as hosted payment pages
- production or staging? Testing staging is safer but must match production
- whether logged-in areas will be tested, and which user roles
Sort out permissions
- confirm you own or have written permission to test every target
- verify domain ownership (DNS record or file) if your provider asks — a good sign they are responsible
- tell your hosting provider if their terms require notice
Prepare accounts and data
- create test accounts for each role (customer, staff, admin) rather than sharing real ones
- use test payment modes where possible
- back up the site and database before testing
Agree logistics
- testing window and time zone
- a contact who can be reached if something breaks
- how findings will be delivered
What a good web test covers
- authentication: login, MFA, sessions and password reset
- access control: IDOR and broken access control
- injection: SQL injection, XSS, command injection, SSRF
- file uploads and directory traversal
- business logic: prices, discounts, quotas — see business logic vulnerabilities
- configuration: security headers, TLS, exposed files, CORS
- email domain: SPF, DKIM and DMARC
- APIs — see API security testing
The OWASP Top 10 is a useful minimum reference.
After the test
- Read the summary first — see how to read a penetration test report.
- Triage — critical and high within days, medium within weeks, low as part of routine work.
- Assign each fix to a named person with a date — see how to brief your developer.
- Retest to confirm fixes work.
- Keep the report and fix log as evidence for clients, insurers and the ICO.
- Schedule the next test — see how often to pentest.
Make it simple
Yrzo AI handles scoping, verification and testing automatically and delivers a prioritised report the same business day, with a retest included on Professional. See plans.
Related reading: Website Security Checklist Before Launch · Black Box, Grey Box and White Box Penetration Testing Explained · How to Brief Your Developer on Security Fixes (With a Template)