Skip to content

Free Penetration Testing Agreement (Rules of Engagement) template

A written authorization and rules of engagement for a security test, listing exactly which systems may be tested, when, how, and what happens if something goes wrong. Use it before any penetration test, vulnerability assessment or retest so the tester has clear permission and the client keeps control.

Fill it in and send for signature, free

or download a signed PDF when you’re done

Read the agreement
Who signs
Client, then Tester
Clauses
13
Blanks to fill in
33
Last revised
November 30, 2026
Before you use it: Authorization must come from someone with authority over every target listed. Systems hosted or run by a third party, such as a cloud or software provider, may also need that owner’s permission before they can be tested.

Penetration Testing Agreement and Rules of Engagement

This Penetration Testing Agreement and Rules of Engagement (the “Agreement”) is entered into as of March 1, 2027 (fill in your own: start free) (the “Effective Date”) by and between Northbeam Health Partners, LLC (fill in your own: start free), with an address at 3300 Riverside Drive, Suite 410, Austin, TX 78741 (fill in your own: start free) (the “Client”), and Kestrel Point Security LLC (fill in your own: start free), with an address at 18 Harbor View Road, Portland, ME 04101 (fill in your own: start free) (the “Tester”). Each is a “Party” and together they are the “Parties.”

The Client wants the Tester to assess the security of certain systems by attempting to find and safely exploit vulnerabilities in them, as a real attacker might (the “Testing”), and to report what it finds. Testing systems without permission can be unlawful, so this Agreement sets out exactly what the Client authorizes. The Parties agree as follows.

  1. 1. Authorization and In-Scope Targets

    The Client authorizes the Tester to carry out the Testing only against the following targets (the “In-Scope Targets”), only during the Testing Window, and only using the techniques this Agreement permits:

    Only the Tester’s personnel whose names the Tester gives the Client in writing before Testing starts, each bound by confidentiality duties at least as strict as this Agreement’s, may carry out the Testing. The Parties may add or remove targets only in a writing signed by both, including by e-signature. A target added by email alone, or a system discovered during Testing, is not authorized until that writing is signed.

  2. 2. Out-of-Scope Systems

    Everything that is not an In-Scope Target is out of scope, including these systems, which the Tester will not test or deliberately access: the production patient portal, the electronic health record system, the corporate email tenant, and any system run by the Client’s billing vendor (fill in your own: start free). If the Tester finds that a target resolves to, shares infrastructure with, or leads into an out-of-scope system, including one belonging to a third party, the Tester will stop activity against it and ask the Client before going further. Credentials, keys or data the Tester finds on an In-Scope Target may be used only against In-Scope Targets.

  3. 3. Testing Window and Coordination

    Testing may take place from March 15, 2027 (fill in your own: start free) to March 26, 2027 (fill in your own: start free), during 7:00 a.m. to 7:00 p.m. Central Time, Monday to Friday (fill in your own: start free) (the “Testing Window”), but not during these blackout times: March 20, 2027, and 6:00 p.m. to 8:00 p.m. Central Time on any day for scheduled backups (fill in your own: start free). Automated scans and other activity will originate only from these source addresses: 198.51.100.40 and 198.51.100.41 (fill in your own: start free), or others the Tester gives the Client in writing in advance, so the Client can recognize the Testing.

    The Tester will tell the Client’s emergency contact when each day’s Testing starts and stops. The Client will decide whether to tell its security team, monitoring provider or hosting providers about the Testing, will keep the In-Scope Targets in the agreed state during the Testing Window, and will provide any test accounts, access and documentation listed in the target table before the first day of Testing.

  4. 4. Testing Techniques

    Within the In-Scope Targets and the Testing Window, the Tester may use standard penetration testing techniques, including reconnaissance of public information about the targets, automated and manual vulnerability scanning, authentication and access control testing, exploiting vulnerabilities to confirm their impact, and limited privilege escalation and lateral movement between In-Scope Targets. The Tester will use reasonable care to avoid disrupting services, changing or deleting data, and leaving tools or accounts behind, and will remove any test files, accounts or changes it makes before Testing ends, or list any it could not remove in the report.

    The following are not authorized unless the Client opts in to each one in a separate writing signed by an authorized person that names the technique, the targets, people or premises, the dates and any limits:

    • social engineering, such as phishing emails, phone calls or text messages to the Client’s staff;
    • physical access testing of offices, data centers or devices;
    • denial-of-service, stress or load testing, or any activity intended to degrade a service’s availability, which is excluded by default even where other Testing is aggressive; and
    • accessing, exfiltrating or modifying production data beyond what is needed to prove a vulnerability.
  5. 5. Client’s Authority and Third-Party Permissions

    The Client represents that it owns each In-Scope Target or has the legal authority to authorize Testing of it, and that the person signing for the Client has authority to give that authorization. Where an In-Scope Target is hosted, managed or run by a third party, such as a cloud provider, hosting company, software-as-a-service vendor or managed service provider, the Client is responsible for following that party’s published testing policy and for getting any permission or notice it requires before Testing starts, and will give the Tester a copy on request.

    The Tester may rely on the Client’s representations about ownership, authority and third-party permissions. If either Party learns that an authorization is missing or has been withdrawn, it will tell the other at once, and Testing of that target will stop until the authorization is in place.

  6. 6. Emergency Contacts, Stop-Work and Termination

    Each emergency contact will be reachable during the Testing Window. Either Party may order an immediate stop to all or part of the Testing at any time, for any reason, by phone or email to the other’s emergency contact. The Tester will stop the named activity at once, confirm in writing that it has stopped, and resume only when the Client agrees in writing. If the Tester sees signs that the Testing is causing an outage, data loss or other harm, it will stop that activity and contact the Client straight away.

    Either Party may end this Agreement with written notice. If the Client ends it early for convenience, it will pay for work done up to the end date. If the Tester ends it other than for the Client’s breach, it will refund any amount paid for work not yet done. The Client’s authorization ends when this Agreement ends, and in any case after the Testing Window and any retest window the Parties agree.

  7. 7. Critical Findings and Signs of Compromise

    The Tester will tell the Client’s emergency contact within 4 (fill in your own: start free) hours, without waiting for the report, if it finds a vulnerability that could readily be used to take control of a system, reach sensitive data or cause serious harm, or sees signs that an In-Scope Target has already been compromised by someone else, such as unknown accounts, web shells, malware or unexplained data transfers.

    If the Tester finds signs of a prior compromise, it will pause Testing of the affected system, preserve what it has observed, avoid changing evidence, and follow the Client’s instructions. Investigating or responding to an incident is not part of the Testing unless the Parties agree it in writing, at an agreed fee.

  8. 8. Handling of Client Data

    During Testing the Tester may come across personal information, health or financial information, credentials and other confidential data of the Client or its customers (“Client Data”). The Tester will:

    • access and view only as much Client Data as needed to prove a vulnerability, and not copy it beyond what proof needs, using screenshots with sensitive values masked where possible;
    • not use any Client Data for any purpose other than the Testing and the report;
    • store any Client Data, evidence and working files encrypted, on systems only its named personnel can access; and
    • delete all Client Data, evidence and working files within 30 (fill in your own: start free) days after the final report or retest report, keeping only the report itself and records needed to prove the work was done, and confirm the deletion in writing on request.

    If the Client expects Testing to reach regulated data, such as health information, it will say so in advance, and the Parties will sign any separate data protection terms the law requires before Testing starts.

  9. 9. Report, Retest and Fees

    Within 10 (fill in your own: start free) business days after the Testing Window ends, the Tester will deliver a written report with an executive summary, the methods used, each finding with its severity, evidence and steps to reproduce it, and recommended fixes. The fee includes one retest of the reported findings, to confirm whether they have been fixed, if the Client requests it within 60 (fill in your own: start free) days after the report. The retest covers only those findings, uses the same rules as this Agreement, and its dates are agreed in writing. The Tester will deliver a short retest report.

    The Client will pay a total fee of $14,500 (fill in your own: start free): 50 (fill in your own: start free)% on signing and the balance within 15 days after the report is delivered. Testing is a point-in-time assessment within the agreed scope and techniques. It cannot find every vulnerability, and the report does not certify that any system is secure or meets any standard.

  10. 10. Confidentiality and Findings

    The report, the findings and all information about the Client’s systems and vulnerabilities are the Client’s confidential information, and the Client owns the report once it has paid for it. The Tester will not disclose them to anyone except its named personnel, will not publish or present them, even in anonymized form, without the Client’s written consent, and will not report vulnerabilities in the Client’s own systems to anyone else. Where a finding is a vulnerability in a third party’s product, the Parties will agree in writing how it is reported to that vendor.

    Each Party will keep the other’s non-public information confidential and use it only for this Agreement. The duties in this section do not cover information that is public through no fault of the receiving Party, or disclosures the law requires after prompt notice where allowed, and they last for five years after this Agreement ends, and for as long as the information remains a trade secret or describes an unfixed vulnerability. The Tester keeps its general tools, methods and know-how, and may say that it worked for the Client only with the Client’s consent.

  11. 11. Safe Harbor

    The Client agrees that Testing carried out within this Agreement’s scope, window and permitted techniques is authorized access to its systems for the purposes of computer misuse laws, such as the federal Computer Fraud and Abuse Act and similar state laws, and of any terms of use or policies of the Client. The Client will not bring, or encourage others to bring, any claim or complaint against the Tester or its personnel for activity within that authorization, and will confirm the authorization in writing to any authority, provider or other person who asks.

    The Client will defend and indemnify the Tester against third-party claims, and related reasonable costs and attorneys’ fees, to the extent they arise from authorized Testing, including a claim that the Client lacked authority over a target or did not get a required third-party permission. This section does not protect activity outside the authorization, or harm caused by the Tester’s gross negligence, willful misconduct or breach of the Handling of Client Data section.

  12. 12. Liability and Insurance

    The Client understands that even careful Testing can occasionally slow or interrupt a service or change data, and will keep current backups of the In-Scope Targets. The Tester is not liable for those effects when it follows this Agreement and uses reasonable care. Neither Party is liable for indirect, incidental or consequential damages or lost profits. Each Party’s total liability under this Agreement is limited to the total fee, except for the Client’s payment and indemnity obligations, and for harm caused by a Party’s gross negligence, willful misconduct or breach of the Confidentiality or Handling of Client Data sections.

    During this Agreement and for one year after Testing ends, the Tester will maintain professional liability (errors and omissions) insurance and cyber liability insurance, each with limits of at least $1,000,000 (fill in your own: start free) per claim, and will provide certificates on request before Testing starts.

  13. 13. General

    • Independent contractor. The Tester is an independent contractor and controls how it performs the Testing within this Agreement. It may not use subcontractors without the Client’s written consent.
    • Governing law. This Agreement is governed by the laws of the State of Texas (fill in your own: start free), without regard to its conflict-of-laws rules.
    • Entire agreement. This Agreement, with any signed scope changes and opt-ins, is the Parties’ entire agreement about its subject. It may be changed only in a writing signed by both Parties.
    • Notices. Notices must be in writing and sent to the addresses above, or to email addresses the Parties give each other for this purpose. Stop-work orders may also be given by phone.
    • Assignment. Neither Party may assign this Agreement without the other’s written consent.
    • Severability. If any provision is found unenforceable, it will be enforced to the maximum extent permitted and the rest of this Agreement will remain in effect.
    • No waiver. A failure or delay in enforcing any provision is not a waiver of it.
    • Counterparts and e-signatures. This Agreement may be signed in counterparts and with electronic signatures, each of which is treated as an original.

By signing, the Client’s representative confirms that they have authority to authorize Testing of every In-Scope Target. The Parties have signed this Agreement as of the Effective Date.

Authorization must come from someone with authority over every target listed. Systems hosted or run by a third party, such as a cloud or software provider, may also need that owner’s permission before they can be tested. This template is a general starting point written for US businesses. It is not legal advice, and RapidAgree is not a law firm. Laws differ by state and situation, so have a qualified lawyer review it before you rely on it.

Highlighted text shows sample details. Click any of it to fill in your own and send it.

What’s in this template

Who uses it

  • Independent penetration testers

    Get signed, specific permission before you touch a system, so your scope and your protection are on paper.

  • Small security consultancies

    Use one rules of engagement document for web app, API, network and cloud tests, adjusting the target table each time.

  • Businesses commissioning a test

    Keep control of what is tested and when, who to call if something breaks, and what happens to your data afterwards.

When to use something else

  • You’re paying researchers for bugs they find on their own; that needs a bug bounty program policy.

  • You want general IT or security advice with no hands-on testing.

    Use the consulting agreement instead
  • You want to test systems the client doesn’t own or can’t authorize, such as a vendor’s platform; that needs the owner’s own written permission.

How to customize it

  1. 1

    Enter both parties’ details and list every in-scope target with its type, address and environment.

  2. 2

    Name the out-of-scope systems, the testing dates and hours, blackout times and the tester’s source IP addresses.

  3. 3

    Add both emergency contacts and set the critical-finding notice time, report deadline, retest window and data deletion period.

  4. 4

    Fill in the fee, deposit and insurance amount.

  5. 5

    Send it for signature. The client signs first to authorize the test, then the tester, and both receive the signed PDF.

How to send it for signature

  1. 1

    Create a free RapidAgree account. The template opens as a draft with every blank marked.

  2. 2

    Fill in the details, then add the client and the tester as signers. Their signature fields are already placed.

  3. 3

    Send it. Each signer gets a private link, signs on any device, and everyone receives the sealed PDF with its audit certificate.

Fill it in and send for signature, free

Questions about this penetration testing agreement

This template is a general starting point written for US businesses. It is not legal advice, and RapidAgree is not a law firm. Laws differ by state and situation, so have a qualified lawyer review it before you rely on it.

Is a contract signed online binding? Electronic signatures and the law

Send contracts every week? Unlimited documents for one flat price

Do I need written permission to run a penetration test?

Yes. Accessing a computer system without authorization can break computer misuse laws, such as the federal Computer Fraud and Abuse Act, even when the intent is to help. A signed authorization from someone with authority over the systems, listing exactly what may be tested and when, is what separates a penetration test from an attack. Keep it with you during testing.

What should rules of engagement for a pen test include?

At a minimum: the exact targets and what is out of scope, the testing dates and hours, which techniques are allowed and which need extra approval, emergency contacts on both sides, how to stop testing, when critical findings are reported, and how data the tester sees is handled. This template covers each of these in one signed document.

Do I need permission from AWS, Azure or Google Cloud to pen test?

It depends on the provider and the service. The major cloud providers publish penetration testing policies that allow customers to test many of their own resources without asking first, but restrict certain activities, such as denial-of-service testing, and some services. Check the current policy for each provider involved. This template makes the client responsible for following those policies and getting any permission needed.

What happens if a pen tester finds evidence of a real breach?

Under this template, the tester reports it to the client’s emergency contact within a set number of hours, pauses testing of that system, preserves what it saw without disturbing evidence, and follows the client’s instructions. Investigating the breach is a separate job, agreed and paid for in writing, because incident response needs different skills, scope and urgency from a test.

Non-Disclosure Agreement (NDA)

Company & deals

Master Services Agreement (MSA)

Client services

Statement of Work (SOW)

Client services

AI Automation Services Agreement

Client services

Send this penetration testing agreement for signature in minutes.

Fill in the penetration testing agreement, add your signers and send it. Free for 3 documents a month.

No credit card neededUnlimited users on every plan