• Latest
  • Trending
Pentesting as a service: legal framework and contract design

Pentesting as a service: legal framework and contract design

28. February 2025
ChatGPT and lawyers: recordings of the Weblaw launch event

Private AI use in the company

24. October 2025
Lego brick still protected as a design patent

App purchases, in-app purchases and sales tax

21. October 2025
dsgvo 1

What belongs in a DPA? Data processing agreement in accordance with Art. 28 GDPR

17. October 2025
Smart contracts in the insurance industry: contract design and regulatory compliance for InsurTech start-ups

Contract for work vs. service contract in software, AI and games projects

15. October 2025

Influencer contract: performance profile, rights/buyouts, labeling and AI content

13. October 2025
AI content for subscription platforms

AI content for subscription platforms

29. September 2025
E-sports finally charitable? What the government draft of the Tax Amendment Act 2025 really brings

E-sports finally charitable? What the government draft of the Tax Amendment Act 2025 really brings

23. September 2025
Clubs, photos and minors: managing consent properly

Clubs, photos and minors: managing consent properly

22. September 2025
AI faces, voice clones and deepfakes in advertising: rules of the game under the EU AI Act and German law

AI faces, voice clones and deepfakes in advertising: rules of the game under the EU AI Act and German law

17. September 2025
Modding in EULAs and contracts – what applies legally in Germany?

Modding in EULAs and contracts – what applies legally in Germany?

8. September 2025
Arbitration agreements in EULAs and developer contracts

Arbitration agreements in EULAs and developer contracts

7. September 2025
Chain of title in game development: building a clean chain of rights

Chain of title in game development: building a clean chain of rights

6. September 2025
Fail-fast clauses in media productions – what are they actually?

Fail-fast clauses in media productions – what are they actually?

5. September 2025
Founder’s agreement vs. shareholder agreement: setting the course for startups at an early stage

Founder’s agreement vs. shareholder agreement: setting the course for startups at an early stage

12. August 2025
Cheat software without code intervention: What the BGH really decided in the Sony ./. Datel case (I ZR 157/21)

Cheat software without code intervention: What the BGH really decided in the Sony ./. Datel case (I ZR 157/21)

11. August 2025
Digital integrity as a (new) fundamental right: status in Germany and the EU in 2025

Digital integrity as a (new) fundamental right: status in Germany and the EU in 2025

10. August 2025
European Economic Interest Grouping (EEIG)

EU Digital Decade 2030: Data law, Data Act & eIDAS 2 – what needs to be implemented in 2025

8. August 2025
Upload filters between copyright and personal rights

Upload filters between copyright and personal rights

7. August 2025
On-demand transmission right in the digital space: streaming, Section 19a UrhG and licensing

On-demand transmission right in the digital space: streaming, Section 19a UrhG and licensing

6. August 2025
Q&A: Legal issues for game developers

5-day guide: Founding a game development studio

5. August 2025
  • Mehr als 3 Millionen Wörter Inhalt
  • |
  • info@itmedialaw.com
  • |
  • Tel: 03322 5078053
Kurzberatung

No products in the cart.

  • en English
  • de Deutsch
  • Informationen
    • Ideal partner
    • About lawyer Marian Härtel
    • Quick and flexible access
    • Principles as a lawyer
    • Why a lawyer and business consultant?
    • Focus areas of attorney Marian Härtel
      • Focus on start-ups
      • Investment advice
      • Corporate law
      • Cryptocurrencies, Blockchain and Games
      • AI and SaaS
      • Streamers and influencers
      • Games and esports law
      • IT/IP Law
      • Law firm for GMBH,UG, GbR
      • Law firm for IT/IP and media law
    • The everyday life of an IT lawyer
    • How can I help clients?
    • Testimonials
    • Team: Saskia Härtel – WHO AM I?
    • Agile and lean law firm
    • Price overview
    • Various information
      • Terms
      • Privacy policy
      • Imprint
  • Services
    • Support and advice of agencies
    • Contract review and preparation
    • Games law consulting
    • Consulting for influencers and streamers
    • Advice in e-commerce
    • DLT and Blockchain consulting
    • Legal advice in corporate law: from incorporation to structuring
    • Legal compliance and expert opinions
    • Outsourcing – for companies or law firms
    • Booking as speaker
  • News
    • Gloss / Opinion
    • Law on the Internet
    • Online retail
    • Law and computer games
    • Law and Esport
    • Blockchain and web law
    • Data protection Law
    • Copyright
    • Labour law
    • Competition law
    • Corporate
    • EU law
    • Law on the protection of minors
    • Tax
    • Other
    • Internally
  • Podcast
    • ITMediaLaw Podcast
  • Knowledge base
    • Laws
    • Legal terms
    • Contract types
    • Clause types
    • Forms of financing
    • Legal means
    • Authorities
    • Company forms
    • Tax
    • Concepts
  • Videos
    • Information videos – about Marian Härtel
    • Videos – about me (Couch)
    • Blogpost – individual videos
    • Videos on services
    • Shorts
    • Podcast format
    • Third-party videos
    • Other videos
  • Contact
  • Informationen
    • Ideal partner
    • About lawyer Marian Härtel
    • Quick and flexible access
    • Principles as a lawyer
    • Why a lawyer and business consultant?
    • Focus areas of attorney Marian Härtel
      • Focus on start-ups
      • Investment advice
      • Corporate law
      • Cryptocurrencies, Blockchain and Games
      • AI and SaaS
      • Streamers and influencers
      • Games and esports law
      • IT/IP Law
      • Law firm for GMBH,UG, GbR
      • Law firm for IT/IP and media law
    • The everyday life of an IT lawyer
    • How can I help clients?
    • Testimonials
    • Team: Saskia Härtel – WHO AM I?
    • Agile and lean law firm
    • Price overview
    • Various information
      • Terms
      • Privacy policy
      • Imprint
  • Services
    • Support and advice of agencies
    • Contract review and preparation
    • Games law consulting
    • Consulting for influencers and streamers
    • Advice in e-commerce
    • DLT and Blockchain consulting
    • Legal advice in corporate law: from incorporation to structuring
    • Legal compliance and expert opinions
    • Outsourcing – for companies or law firms
    • Booking as speaker
  • News
    • Gloss / Opinion
    • Law on the Internet
    • Online retail
    • Law and computer games
    • Law and Esport
    • Blockchain and web law
    • Data protection Law
    • Copyright
    • Labour law
    • Competition law
    • Corporate
    • EU law
    • Law on the protection of minors
    • Tax
    • Other
    • Internally
  • Podcast
    • ITMediaLaw Podcast
  • Knowledge base
    • Laws
    • Legal terms
    • Contract types
    • Clause types
    • Forms of financing
    • Legal means
    • Authorities
    • Company forms
    • Tax
    • Concepts
  • Videos
    • Information videos – about Marian Härtel
    • Videos – about me (Couch)
    • Blogpost – individual videos
    • Videos on services
    • Shorts
    • Podcast format
    • Third-party videos
    • Other videos
  • Contact

Pentesting as a service: legal framework and contract design

28. February 2025
in Other
Reading Time: 6 mins read
0 0
A A
0
fc928a67 a526 4972 ac72 a769e4d69bb5 15307134

The demand for professional penetration tests (pentests for short) is growing steadily as companies place increasing importance on IT security. More and more companies are realizing that protecting sensitive data and systems is no longer just an option, but an indispensable part of a holistic corporate strategy. Pentesting service providers therefore play a crucial role in identifying potential vulnerabilities and proposing concrete measures to eliminate them. However, white-hat hackers or IT security consultants should not only view their activities from a technical perspective, but also create a solid legal basis to protect all parties involved from potential risks.

Content Hide
1. Legal basis of pentests
2. Drafting contracts for pentests
3. Regulations on documentation and rectification
4. Insurance cover and liability issues
5. Further aspects: Social engineering and compliance
6. Conclusion
6.1. Author: Marian Härtel
Key Facts
  • The demand for pentests is increasing, as IT security is crucial for corporate strategies.
  • Pentesting service providers identify vulnerabilities and suggest measures to rectify them.
  • A watertight contract is essential to minimize legal risks and clarify liability issues.
  • The GDPR requires the conclusion of a data processing agreement when processing personal data.
  • Pentests should be planned carefully, especially for hybrid infrastructures or cloud services.
  • Clear documentation and a rework phase are important to ensure the quality of the pentest.
  • Insurance cover and clear liability regulations are necessary to avoid economic risks.

In Germany, there is a whole range of legal standards that must be observed when carrying out pentests. Even minor violations can lead to serious consequences – for both the tester and the client. For this reason, a watertight contract is essential in order to regulate liability issues and create transparency regarding the exact scope of services. In addition to aspects such as limitations of liability and confidentiality obligations, topics such as data protection and compliance also play a central role. This ensures that the collaboration between service provider and client is built on a stable foundation from the outset.

In addition, the increasing complexity of modern IT systems requires careful planning of pentests. Tests often involve not only internal networks or web applications, but also hybrid infrastructures, cloud services or specialized industry-specific platforms. International standards such as ISO 27001 or the BSI IT baseline protection compendium provide points of reference here, and compliance with them is often even assumed by the client. Careful coordination with the client is therefore essential to ensure that all processes comply with legal requirements and company guidelines.

Legal basis of pentests

Penetration tests can essentially be understood as targeted checks of IT systems with the primary aim of uncovering security vulnerabilities. Pentesters slip into the role of potential attackers in order to identify both technical and organizational vulnerabilities. Companies that commission such tests want to minimize the risk of cyberattacks and increase the maturity of their security measures.

Despite being explicitly commissioned, the pentester’s actions can quickly fall into a legal gray area. Unauthorized intrusion into third-party systems is regulated in Germany in §§ 202a ff. of the German Criminal Code (StGB) and § 303b StGB. Even if the client has given their consent, this must be included in writing in the contract in order to avoid any subsequent ambiguities. A breach of these criminal provisions can have considerable consequences and may also trigger civil law claims for damages.

Another important point is data protection requirements. As soon as personal data is processed during testing activities, the GDPR applies. Article 28 GDPR stipulates that a data processing agreement (DPA) may need to be concluded in order to create the legal basis for data processing. This applies in particular if pentesters access data that allows conclusions to be drawn about natural persons, such as employee or customer data. Appropriate technical and organizational measures must be taken here to ensure that only the minimum necessary data is processed and that no sensitive information is collected without authorization.

Another legal hurdle is the potential disruption to ongoing business processes. If the attack simulations lead to system failures or data loss, this can quickly result in downtime that causes considerable economic damage. Such scenarios often lead to civil law disputes or insurance claims if the scope of liability and the question of possible negligence have not been contractually clarified. This makes it all the more important to precisely define the scope of the pentest and to clearly regulate in advance which measures are permitted and at what times they may be carried out.

Drafting contracts for pentests

A solid contract is the cornerstone of a legally compliant pentest implementation. Ideally, the collaboration should begin with a detailed agreement in which all parties involved clarify the objective of the pentest and which resources may be used. This prevents the tester from going beyond the agreed scope and inadvertently causing damage or accessing data that was not intended for the test.

Contracts should therefore precisely define which systems, networks or applications are to be tested. The type of test – such as a black box, white box or grey box approach – should also be specified. This not only has an impact on the tester’s approach, but also allows a more precise assessment of the time required and the potential risks. At the same time, details of the methodology or specific attack techniques (e.g. SQL injection, social engineering tests or automated tools) should be clarified so that the customer knows exactly which procedures will be used.

In addition, it is advisable to specify in the contract whether external service providers or subcontractors are involved. In larger projects in particular, the pentester may commission specialists for certain sub-areas. Here too, responsibilities should be clearly defined so that there are no legal loopholes. Ultimately, stringent planning and contractual stipulations facilitate the pentest and create trust among all parties involved.

Regulations on documentation and rectification

Most clients want to receive detailed documentation after completing a pentest in order to understand the weaknesses and potential risks found. A clearly structured report that not only lists the weaknesses but also sets priorities and makes specific recommendations for action is therefore essential. Ideally, this report should also be supplemented with management summaries so that decision-makers without in-depth IT knowledge can understand the results.

A rectification phase or a so-called “re-test” can also be part of the contract. Here, the pentesters check in a separate run whether the previously identified gaps have been closed or whether new weaknesses have arisen. It is important to set clear deadlines so that it is clear in which time window the improvements are to be carried out. This kind of structured documentation and rectification not only increases the quality of the pentest, but also achieves a sustainable security gain for the company.

Insurance cover and liability issues

Pentesting can have far-reaching consequences for the system integrity of a company. Particularly when sensitive systems are being tested, a failure can result in expensive production stoppages, contractual penalties or disgruntled customers. In such cases, it is advisable to take out professional indemnity insurance that covers such scenarios. A carefully drafted scope of insurance creates additional security for both parties and shows that the pentester is acting professionally and responsibly.

The contract should also clearly define the cases in which liability for damages is excluded or limited. A typical formulation is the limitation of liability to intentional or grossly negligent acts. The question of whether consequential damages or loss of profit are recoverable should also be clarified in advance. Such regulations avoid disputes and enable a fair distribution of risk. Ideally, internal escalation levels should also be defined so that disagreements can be resolved before a legal dispute arises.

Further aspects: Social engineering and compliance

One area that often gains importance in pentest contracts is social engineering. This is where testers attempt to obtain information from employees through phishing emails, fake calls or fake websites in order to penetrate company networks. While such tests are often very effective in checking the human element in security concepts, they can also be legally tricky if the consent of the employees or works councils concerned is not obtained. Clearly defined procedures and limits should therefore also be set out in the contract for social engineering tests.

The topic of compliance also plays a major role in many industries. Certain sectors, such as banking, insurance or healthcare, are subject to strict regulations regarding the handling of data or the type of security checks carried out. Here, it is important to determine in advance which standards and guidelines apply and how the pentest can be tailored to them. Close coordination with the client and its specialist departments ensures that the pentest does not violate internal or external rules and that the results can be used for future audits or certifications.

Conclusion

The legally compliant implementation of pentests requires a well thought-out concept, careful coordination with the client and a seamless contract design. Starting with the selection of suitable test methods and the definition of liability limits through to data protection issues, all points should be set out in clear agreements. Precise preparation prevents misunderstandings and creates the basis for successful collaboration.

It is particularly important that both parties define in advance exactly what goals are to be achieved with the test and what risks they wish to take. Good communication and transparency are essential to ensure that neither the company nor the pentester experience any unpleasant surprises. Especially in a highly dynamic environment such as IT security, it is advantageous to rely on the expertise of a lawyer who is familiar with the technical and legal particularities.

As a specialist in IT law and a passionate technology enthusiast, I can help draft contracts in such a way that they both meet the client’s requirements and are legally watertight. In this way, cyber risks are minimized and trust between all parties involved is strengthened. With my in-depth understanding of security processes and my legal advice, pentests can be carried out not only effectively but also in a legally compliant manner. The result is optimized IT structures, an improved security culture and the certainty of being protected from unforeseeable consequences in the event of an emergency.

 

Marian Härtel
Author: Marian Härtel

Marian Härtel ist Rechtsanwalt und Fachanwalt für IT-Recht mit einer über 25-jährigen Erfahrung als Unternehmer und Berater in den Bereichen Games, E-Sport, Blockchain, SaaS und Künstliche Intelligenz. Seine Beratungsschwerpunkte umfassen neben dem IT-Recht insbesondere das Urheberrecht, Medienrecht sowie Wettbewerbsrecht. Er betreut schwerpunktmäßig Start-ups, Agenturen und Influencer, die er in strategischen Fragen, komplexen Vertragsangelegenheiten sowie bei Investitionsprojekten begleitet. Dabei zeichnet sich seine Beratung durch einen interdisziplinären Ansatz aus, der juristische Expertise und langjährige unternehmerische Erfahrung miteinander verbindet. Ziel seiner Tätigkeit ist stets, Mandanten praxisorientierte Lösungen anzubieten und rechtlich fundierte Unterstützung bei der Umsetzung innovativer Geschäftsmodelle zu gewährleisten.

Weitere spannende Blogposts

Plagiarism accusation is only an expression of opinion

7. November 2022

In principle, the person who makes an assertion must prove it. If this does not succeed, a competitor, for example,...

Read moreDetails

70 Years of the Basic Law – What an Achievement

70 Years of the Basic Law – What an Achievement
7. November 2022

We have just celebrated 70 years of the Basic Law. An incomparable success story and the basis for the fact...

Read moreDetails

LG Lübeck: QR code with link on website is sufficient for inclusion of general terms and conditions

LG Lübeck: QR code with link on website is sufficient for inclusion of general terms and conditions
5. February 2024

The Regional Court of Lübeck has made an exciting decision for contract law in the digital age. It ruled that...

Read moreDetails

LG Köln to cancel the right of withdrawal for digital downloads

LG Köln to cancel the right of withdrawal for digital downloads
6. August 2019

Millions of Android phone users download files or apps from Google's Play Store. However, the Regional Court of Cologne has...

Read moreDetails

Twitch Streams and Let’s Plays: Attention!

youtube 3503481 960 720
2. January 2019

In line with this article from today, I would like to briefly emphasize that citation law does not apply to...

Read moreDetails

Traunstein District Court ruling: Liability for misleading hotel star information and embedded illegal content

abmahnung
31. May 2023

Liability for misleading hotel star ratings The Traunstein Regional Court recently handed down a ruling that could have far-reaching implications...

Read moreDetails

Security deficiencies in online banking: A look at a recent ruling by the Heilbronn Regional Court and the legal situation

Security deficiencies in online banking: A look at a recent ruling by the Heilbronn Regional Court and the legal situation
11. October 2023

Introduction: Digital transformation has made online banking a popular and convenient way to manage finances. But as online transactions increase,...

Read moreDetails

Is the unpredictability of AI outcomes a legal time bomb?

shutterstock 1889907112 scaled
12. August 2023

Through two recent mandates and some conversations in the last few days, I became aware of a fascinating legal issue...

Read moreDetails

Attention: Affiliates on YouTube, gaming websites and other networks

Attention: Affiliates on YouTube, gaming websites and other networks
17. July 2019

All affiliates affected After my article yesterday on the judgment of the OLG Dresden(see here) that a website must also...

Read moreDetails
Achtung mit Black Friday Werbung!
Uncategorized

Firmennamen schützen: Domainrecht, Markenrecht und Namensrecht in Deutschland

11. December 2025

Die Wahl eines Unternehmensnamens ist für Gründerinnen und Gründer eine strategische Entscheidung – kreativ, aber vor allem auch rechtlich. Domainname,...

Read moreDetails
ai generated g63ed67bf8 1280

Urheberrecht und KI-Training vor Hamburger Gerichten

11. December 2025
BGH hält Uber Black für wettbewerbswidrig

Britische Anbieter, deutscher Gerichtsstand

10. December 2025
LogoRechteck

LawOMate startet in den Alphatest: Legal Automation wird zur Infrastruktur

3. December 2025
EU-Chatcontrol und Digital Services Act: Was sich für Spieleentwickler und Online-Plattformen wirklich ändert

EU-Chatcontrol und Digital Services Act: Was sich für Spieleentwickler und Online-Plattformen wirklich ändert

2. December 2025

Podcastfolge

Der unkonventionelle Anwalt: Ein Nerd im Dienste des Rechts

Der unkonventionelle Anwalt: Ein Nerd im Dienste des Rechts

25. September 2024

In dieser fesselnden Episode des Podcasts "Der Unkonventionelle Anwalt" tauchen wir ein in die Welt eines Juristen, der die traditionellen...

Read moreDetails
eda7ba83 c559 4e68 8441 41159a0751f3

Blitzskalierung und rechtliche Herausforderungen: Der Balanceakt für Startups

20. April 2025
Rechtliche Herausforderungen im Gaming-Universum: Ein Leitfaden für Entwickler, Esportler und Gamer

Was wird 2025 für Startups juristisch bringen? Chancen? Risiken?

24. January 2025
Rechtliche Basics für Startup-Gründer – So startest du auf der sicheren Seite!

Rechtliche Basics für Startup-Gründer – So startest du auf der sicheren Seite!

1. November 2024
Das Metaverse – Rechtliche Herausforderungen in virtuellen Welten

Das Metaverse – Rechtliche Herausforderungen in virtuellen Welten

25. September 2024

Video

Mein transparente Abrechnung

Mein transparente Abrechnung

10. February 2025

In diesem Video rede ich ein wenig über transparente Abrechnung und wie ich kommuniziere, was es kostet, wenn man mit...

Read moreDetails
Faszination zwischen und Recht und Technologie

Faszination zwischen und Recht und Technologie

10. February 2025
Meine zwei größten Herausforderungen sind?

Meine zwei größten Herausforderungen sind?

10. February 2025
Was mich wirklich freut

Was mich wirklich freut

10. February 2025
Was ich an meinem Job liebe!

Was ich an meinem Job liebe!

10. February 2025
  • Privacy policy
  • Imprint
  • Contact
  • About lawyer Marian Härtel
Marian Härtel, Rathenaustr. 58a, 14612 Falkensee, info@itmedialaw.com

Marian Härtel - Rechtsanwalt für IT-Recht, Medienrecht und Startups, mit einem Fokus auf innovative Geschäftsmodelle, Games, KI und Finanzierungsberatung.

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • Informationen
    • Ideal partner
    • About lawyer Marian Härtel
    • Quick and flexible access
    • Principles as a lawyer
    • Why a lawyer and business consultant?
    • Focus areas of attorney Marian Härtel
      • Focus on start-ups
      • Investment advice
      • Corporate law
      • Cryptocurrencies, Blockchain and Games
      • AI and SaaS
      • Streamers and influencers
      • Games and esports law
      • IT/IP Law
      • Law firm for GMBH,UG, GbR
      • Law firm for IT/IP and media law
    • The everyday life of an IT lawyer
    • How can I help clients?
    • Testimonials
    • Team: Saskia Härtel – WHO AM I?
    • Agile and lean law firm
    • Price overview
    • Various information
      • Terms
      • Privacy policy
      • Imprint
  • Services
    • Support and advice of agencies
    • Contract review and preparation
    • Games law consulting
    • Consulting for influencers and streamers
    • Advice in e-commerce
    • DLT and Blockchain consulting
    • Legal advice in corporate law: from incorporation to structuring
    • Legal compliance and expert opinions
    • Outsourcing – for companies or law firms
    • Booking as speaker
  • News
    • Gloss / Opinion
    • Law on the Internet
    • Online retail
    • Law and computer games
    • Law and Esport
    • Blockchain and web law
    • Data protection Law
    • Copyright
    • Labour law
    • Competition law
    • Corporate
    • EU law
    • Law on the protection of minors
    • Tax
    • Other
    • Internally
  • Podcast
    • ITMediaLaw Podcast
  • Knowledge base
    • Laws
    • Legal terms
    • Contract types
    • Clause types
    • Forms of financing
    • Legal means
    • Authorities
    • Company forms
    • Tax
    • Concepts
  • Videos
    • Information videos – about Marian Härtel
    • Videos – about me (Couch)
    • Blogpost – individual videos
    • Videos on services
    • Shorts
    • Podcast format
    • Third-party videos
    • Other videos
  • Contact
  • en English
  • de Deutsch
Kostenlose Kurzberatung