Penetration test procurement specification – template
A vendor-neutral technical specification template for buying a penetration test: scope, methodology, tester qualifications, rules of engagement, deliverables, re-test, confidentiality and evaluation criteria.
OffSeq
4 min read
How to use this template
The template is for public bodies and private companies buying a penetration test. It favours no supplier and can be used by any buyer or bidder. Fill in or choose the […] placeholders and delete requirements you do not need – each one raises prices and narrows competition.
Latvian public buyers: Article 20 of the Public Procurement Law asks a service specification to state the purpose, methods and resources where needed, and the end result; this template follows that structure. Add "or equivalent" to every standard you reference. For class A systems under MK Regulation No. 397 point 131, the qualification and independence rules of point 132 are built into section 3. Sections 1, 2 and 4–6 belong in the technical specification, section 3 in the qualification requirements (Article 46) and section 7 in the award criteria. NKDL entities also need the contract elements of MK 397 point 87 (incident notification, subcontractor disclosure, confidentiality, data return or deletion), and the cybersecurity manager approves the contract before signing (point 92). The Latvian version is the fuller one.
1. Subject and scope
1.1. Purpose. Independently assess the security of [system], identify exploitable vulnerabilities and misconfigurations, demonstrate their impact and give prioritised remediation advice.
1.2. Targets. For each target state the type (web application, API, external infrastructure, internal network or Active Directory, mobile app), its size (roles and functions, endpoints, IP addresses, users and hosts), the environment (test or production) and the approach (black, grey or white box).
1.3. Out of scope. [Third-party services without their consent, denial-of-service, social engineering, physical security – unless added separately.]
1.4. Buyer provides test accounts for each role, access to the test environment, documentation and a contact person. 1.5. Timing: testing within [N] working days of signing the rules of engagement, report within [N] working days after testing ends.
2. Methodology
Testing is primarily manual; automated tools may support it, but scan output alone does not meet this specification. Testing follows a recognised methodology suited to the target, or equivalent: OWASP WSTG with OWASP Top 10 and API Security Top 10 coverage and ASVS level [1/2/3] for applications and APIs, OWASP MASTG for mobile, and PTES, OSSTMM or NIST SP 800-115 for infrastructure. Bidders describe how they apply it to each target and give person-days per target. Severity uses CVSS [3.1/4.0] with the vector; each finding carries a CWE.
3. Bidder and tester requirements
- At least
[2]testers, one of them the lead. - Each tester holds either an internationally recognised penetration-testing certificate (for example CEH, OSCP, PECB Lead Pen Test Professional, GPEN, CREST CRT, eCPPT) or equivalent, or at least two years of penetration-testing experience in the last five years.
- The lead has
[3]comparable engagements in the last[3]years, with references or anonymised descriptions. - No involvement in developing or maintaining the system in the last three years, and no other conflict of interest.
[For ICT critical infrastructure: an opinion from the Constitution Protection Bureau on the tester.]- An anonymised sample report.
4. Rules of engagement
Signed before testing starts: scope, time windows, tester source IPs, contacts on both sides. Testing starts only with the buyer's written authorisation, and where the target is hosted by a third party, the buyer makes sure testing complies with its terms. Critical findings or signs of an earlier compromise are reported within [24] hours. Testing stops if it affects availability or integrity. Personal data is collected only as far as needed to prove a finding; all test artefacts are removed afterwards; tester actions are logged with timestamps.
5. Deliverables
A report in [language] with an executive summary; scope, dates and methodology; each finding with affected target, severity and CVSS vector, CWE, evidence, reproduction steps, business impact and specific remediation; a list of areas tested and found secure; and a prioritised remediation plan. A presentation of results, and [on request] a machine-readable findings export.
6. Re-test and confidentiality
The re-test is [included in the contract price / priced separately]. On request within [N] months of the report, the supplier verifies the fixes and issues a re-test report with the status of each finding. An NDA is signed before sensitive information is exchanged. Test data is stored encrypted within the EU, EEA or NATO, deleted within [N] days of completion with written confirmation, and covered by a GDPR Article 28 data processing agreement where personal data is involved. Subcontractors only with written consent and under the same requirements.
7. Evaluation
Quality varies widely between penetration tests, so award on price and quality rather than price alone. Article 51(2)(3) of the Public Procurement Law allows the qualification and experience of the staff to be scored where they materially affect quality. A typical split: price [40–60] %, methodology and person-days per target [20–30] %, sample report quality [10–20] %, experience beyond the minimum [0–10] %. Treat offers with clearly too few person-days for the scope as potentially abnormally low (Article 53).
To have the scope reviewed by a tester before you tender, call +371 2256 5353 or use the scope tool. For what a test covers compared with scanning, see penetration test or vulnerability scan.
Common questions
Sources
- Publisko iepirkumu likums (Public Procurement Law), Articles 20, 51, 53 (opens in a new tab) (https://likumi.lv/ta/id/287760-publisko-iepirkumu-likums)
- MK noteikumi Nr. 397, points 131–134 (opens in a new tab) (https://likumi.lv/ta/id/361481)
- OWASP Web Security Testing Guide (opens in a new tab) (https://owasp.org/www-project-web-security-testing-guide/)
- OWASP Application Security Verification Standard (opens in a new tab) (https://owasp.org/www-project-application-security-verification-standard/)
- NIST SP 800-115 (opens in a new tab) (https://csrc.nist.gov/pubs/sp/800/115/final)
- PTES – Penetration Testing Execution Standard (opens in a new tab) (https://web.archive.org/web/2024/http://www.pentest-standard.org/index.php/Main_Page)
- OSSTMM (opens in a new tab) (https://www.isecom.org/OSSTMM.3.pdf)
Related services
Penetration Testing
Manual, attacker-led testing of applications, networks, identity and endpoints.
API Security Testing
Test API authorisation, authentication and business logic manually.
Security Audits
Identify exploitable weaknesses and prioritise remediation.
Vulnerability Scanning
External and authenticated internal scanning, validated by testers.
Related guides
When a penetration test is legally required in Latvia
What the National Cybersecurity Law, Cabinet Regulation No. 397, DORA and PCI DSS actually require – with the article and point for each obligation, and where a "yearly check" is not the same as a penetration test.
Penetration test or vulnerability scan – which one you need
A vulnerability scan lists known weaknesses automatically; a penetration test proves which of them an attacker can actually use. What each one finds, what each one misses and how to combine them.
Preparing for a cybersecurity audit – evidence, MK 397 requirements and common gaps
What a cybersecurity audit in Latvia actually is, which MK Regulation No. 397 requirements an auditor checks, the evidence to collect for each, and the gaps that come up most often.
Microsoft 365 security audit – what is checked in Entra ID, Exchange and SharePoint
What a Microsoft 365 and Entra ID security audit covers – identities, Conditional Access, Exchange Online, SharePoint and OneDrive sharing, Defender and logging – and how to prepare your tenant for one.