AI Red-Teaming Services Agreement
AI RED-TEAMING SERVICES AGREEMENT
This Agreement is entered into as of [__/__/____] ("Effective Date"), by and between:
PARTIES
CLIENT: [________________________________], a [corporation / partnership / individual] ("Client"), and
PROVIDER: [________________________________], a [corporation / partnership / individual] specializing in adversarial testing of artificial intelligence systems ("Provider").
RECITALS
WHEREAS, Client owns, operates, or deploys one or more artificial intelligence models, systems, or large language models (collectively, the "Model" or "System"); and
WHEREAS, Client desires to assess the security, safety, and robustness of the Model against adversarial inputs, prompt injection attacks, jailbreak techniques, and other vulnerabilities ("Red-Teaming Services"); and
WHEREAS, Provider offers specialized adversarial testing services designed to identify vulnerabilities in AI systems, aligned with the voluntary NIST AI Risk Management Framework 1.0, MITRE ATLAS, and industry best practices; and
WHEREAS, the parties wish to establish terms under which Provider may conduct authorized security testing.
NOW, THEREFORE, in consideration of mutual covenants, the parties agree as follows:
1. DEFINITIONS
1.1 Model: The specified artificial intelligence system, language model, vision model, or multimodal system identified in Exhibit A, including all versions, API endpoints, weights, and associated infrastructure designated for testing.
1.2 System: The broader deployment environment, infrastructure, training pipeline, or evaluation framework containing the Model.
1.3 Attack Vector: A technique, method, or input pattern used to probe, probe, or attempt to elicit unintended behavior from the Model, including but not limited to prompt injection, jailbreak attempts, semantic attacks, and data extraction techniques.
1.4 Vulnerability: A flaw, gap, or weakness in the Model's design, training, fine-tuning, or deployment that permits an Attack Vector to produce unsafe, unintended, or harmful outputs.
1.5 Exploit: Proof of Concept code, payload, or demonstration of a Vulnerability.
1.6 Harm Taxonomy: Classification of outputs by risk severity: CBRN (chemical, biological, radiological, nuclear), child sexual abuse material (CSAM), weapons fabrication, violence, hatred, discrimination, privacy violations, or other categories defined in Exhibit B.
1.7 Responsible Disclosure Window: The period during which Provider withholds public disclosure of Vulnerabilities to allow Client opportunity to remediate, not to exceed [180] days from initial notification, or as otherwise agreed in Exhibit C.
2. SCOPE OF SERVICES
2.1 Testing Parameters:
The services shall include adversarial testing of the Model specified in Exhibit A, encompassing:
- Modalities: Text, image, audio, and multimodal inputs as specified in Exhibit A.
- Model Versions: [________________________________] (version number(s) and API endpoint(s)).
- Test Duration: [________________________________] calendar days.
- Test Hours: [________________________________].
2.2 Attack Categories:
Provider shall test for Vulnerabilities across the following attack categories:
☐ Prompt injection and instruction override
☐ Jailbreak techniques (roleplaying, framing, prompt templates)
☐ Training data extraction and memorization
☐ Model reconstruction and theft
☐ Harmful content generation (CBRN, CSAM, weapons, violence, hate speech)
☐ Privacy violations and PII leakage
☐ Hallucination and factual inaccuracy
☐ Adversarial robustness failures
☐ Output manipulation and unintended code generation
☐ Bias and discrimination
☐ Semantic and multi-turn attacks
2.3 Methodology:
Testing shall employ:
- Manual adversarial prompting and creative reasoning
- Automated mutation and fuzzing techniques
- Semantic attack patterns (MITRE ATLAS framework)
- Multi-turn conversation tactics
- Chain-of-thought manipulation
- Image-based and audio-based attacks (where applicable)
- Adversarial examples and perturbation techniques
2.4 Deliverables:
Provider shall deliver:
- Executive Summary: Non-technical overview for leadership.
- Detailed Testing Report: Findings organized by attack category, Vulnerability severity (per Exhibit D), and Exploit detail.
- Remediation Recommendations: Actionable mitigation strategies for each Vulnerability.
- Severity-Rated Findings: Classification per MITRE ATT&CK/ATLAS severity scale or CVSS where applicable.
- Reproducibility Data: Sufficient information for Client to reproduce findings (gated, as needed, by Responsible Disclosure requirements).
2.5 Reporting Format:
Reports shall be provided in [PDF / HTML / Markdown / other format], consistent with templates in Exhibit E.
3. AUTHORIZATION AND SCOPE OF TESTING
3.1 Authorized Testing:
Client authorizes Provider to access, probe, and test the Model and System as specified in Exhibit A. Such testing is conducted with Client's explicit prior written authorization and constitutes an exception to any unauthorized access restrictions under applicable law, including the Computer Fraud and Abuse Act, 18 U.S.C. § 1030.
3.2 Permitted Test Modalities:
Testing is limited to:
- API calls using Client-provided credentials or endpoints
- Interaction with publicly documented interfaces
- Analysis of Model outputs (not internal weights or training data, unless explicitly authorized)
3.3 Prohibited Modalities:
Provider shall not:
- Reverse-engineer or decompile proprietary Model weights without written authorization
- Access Client infrastructure or systems outside the designated testing environment
- Attempt access to Client's internal networks, databases, or source code repositories
- Conduct testing on models or systems not expressly authorized in Exhibit A
3.4 Authorization Scope:
This authorization is limited to the testing timeline specified in Section 2.1 and does not constitute ongoing authorization. Extended testing requires written amendment.
4. CONFIDENTIALITY
4.1 Provider's Obligations:
Provider shall maintain in strict confidence all information related to the Model, System, testing results, Vulnerabilities, and Client's business operations. Provider shall not disclose such information to third parties except:
- As required by law, court order, or regulatory authority (with advance notice to Client where legally permitted)
- To Provider's personnel under written confidentiality obligations
- As authorized in writing by Client
- As permitted under Section 6 (Responsible Disclosure)
4.2 Client's Obligations:
Client shall maintain in strict confidence Provider's methodology, testing tools, attack playbooks, and Exploit artifacts. Client shall not use Provider's proprietary techniques for independent adversarial testing without Provider's written consent.
4.3 Return/Destruction:
Upon termination or Client's written request, Provider shall return or certify destruction of all Client confidential information within [30] days, except as required for legal compliance or as permitted by Responsible Disclosure obligations.
4.4 Duration:
Confidentiality obligations shall survive termination for [3] years, or until public disclosure is authorized under Section 6.
5. INTELLECTUAL PROPERTY OWNERSHIP
5.1 Pre-Existing IP:
Each party retains ownership of intellectual property, tools, methodologies, and materials owned prior to this engagement ("Pre-Existing IP").
5.2 Discovered Vulnerabilities:
Vulnerabilities and Exploits discovered during testing ("Vulnerabilities") shall be the exclusive confidential property of Client. Provider assigns all right, title, and interest in Vulnerabilities to Client, subject to Client's obligation not to disclose Vulnerabilities in violation of Section 6.
5.3 Provider Tools and Techniques:
Reusable attack methodologies, testing frameworks, automation tools, and general techniques developed or refined by Provider remain Provider's property ("Provider IP"). Client may not use Provider IP except as incidental to reviewing the testing report.
5.4 Joint Inventions:
To the extent any Invention is jointly created, the parties shall negotiate license terms in good faith. Absent agreement, neither party may commercialize the joint Invention without consent.
5.5 Feedback and Improvements:
Client may provide feedback on testing methodology. Client hereby grants Provider a non-exclusive license to use such feedback to improve Provider's services, consistent with confidentiality obligations.
6. RESPONSIBLE DISCLOSURE PROTOCOL
6.1 Initial Disclosure:
Upon discovery of a Vulnerability, Provider shall notify Client within [2] business days, providing:
- Description of the Vulnerability and Attack Vector
- Severity assessment (per Exhibit D)
- Proof of Concept or Exploit (if safe to share)
- Preliminary remediation suggestions
6.2 Embargo Period:
Client shall have [180] days from notification (the "Embargo Period") to remediate or implement mitigations. During the Embargo Period, Provider shall not publicly disclose the Vulnerability except as required by law.
6.3 Expedited Timeline for Critical Findings:
For CBRN or safety-critical findings (per Section 7), the Embargo Period shall be reduced to [30] days or as mutually agreed, with more frequent status updates.
6.4 Public Disclosure:
After the Embargo Period, Provider may disclose the Vulnerability publicly if:
- Client has not remediated and declines further collaboration; OR
- Client has remediated and consents to publication; OR
- Disclosure is required by law, regulation, or coordinated vulnerability disclosure obligations.
6.5 Coordinated Disclosure:
Provider shall coordinate public disclosure timing and messaging with Client. Client shall have [14] days to comment on proposed disclosure language.
6.6 Regulatory and Government Disclosure:
Provider may disclose Vulnerabilities to:
- Relevant regulatory authorities (e.g., EU AI Act Article 73 notifications)
- Law enforcement agencies investigating active threats
- AI safety organizations and research institutes
Such disclosures shall be made confidentially and with advance notice to Client where legally permissible.
6.7 Credit and Attribution:
Upon public disclosure authorized by Client, Provider shall be credited as the discoverer unless Client requests anonymity.
7. CBRN AND SAFETY-CRITICAL FINDINGS
7.1 Expedited Notification:
Findings related to chemical, biological, radiological, nuclear (CBRN) weapons development, mass harm capabilities, or safety-critical failures shall be reported to Client's designated Safety Officer within [24-48] hours via [secure communication method: ________________________________].
7.2 Safety Officer Contact:
Client shall designate a Safety Officer and provide contact information in Exhibit A. The Safety Officer shall be available for immediate consultation on critical findings.
7.3 Escalation:
Critical findings may be escalated to Client executive leadership, Client's Board, or regulatory authorities at Provider's discretion if Client fails to acknowledge or mitigate within [5] business days.
8. DATA HANDLING AND PRIVACY
8.1 Test Data Provision:
Client shall provide or grant Provider access to test data consistent with Exhibit A. All test data shall be [synthetic / anonymized / proprietary], and Provider shall not use test data for any purpose other than testing and reporting.
8.2 Generated Outputs:
Model outputs generated during testing ("Test Outputs") shall be:
- Stored securely by Provider in an isolated testing environment
- Not retained longer than [30] days after final report delivery unless Client requests extended retention
- Destroyed or returned to Client upon request
- Not used for training, tuning, or secondary analysis without Client consent
8.3 PII Scrubbing:
Provider shall [automatically / manually] scrub personally identifiable information (PII) from all reports and shared materials. Exhibit A shall specify PII categories requiring redaction.
8.4 Cross-Border Data Transfer:
If any data is transferred across borders, the parties shall comply with:
- GDPR (EU General Data Protection Regulation) and UK GDPR
- Local data residency requirements (e.g., [________________________________])
- Data Processing Agreements (DPA) as required under Exhibit F
8.5 Data Breach Notification:
Provider shall notify Client of any unauthorized access to or breach of test data within [48] hours of discovery.
9. PROHIBITED ACTIVITIES
Provider shall not:
☐ Conduct testing on production systems or Models without explicit authorization
☐ Engage human subjects without informed consent and ethics review
☐ Cause real-world harm or damage to systems, data, or individuals
☐ Attempt to sell, license, or monetize Exploits or Vulnerabilities to third parties
☐ Conduct testing for purposes of espionage, theft, or illegal activity
☐ Exceed the scope of authorized testing endpoints or functionality
☐ Share Vulnerabilities with threat actors, competitors, or unauthorized parties
☐ Test using malware, worms, or other malicious code (except as explicitly authorized)
☐ Extract, retain, or commercialize Client training data
10. SAFE HARBOR AND CFAA WAIVER
10.1 CFAA Waiver:
Client hereby waives, to the fullest extent permitted by law, any claims under the Computer Fraud and Abuse Act, 18 U.S.C. § 1030, or analogous laws for Provider's activities conducted in accordance with this Agreement and Exhibit A.
10.2 Safe Harbor:
Provider shall not be liable for any unintended consequences of testing, including temporary Model unavailability, API throttling, or unexpected outputs, provided Provider acts in good faith and within authorized scope.
10.3 Limitation:
The waiver in Section 10.1 does not extend to activities outside the scope of Section 3 or violations of Section 9.
11. REPRESENTATIONS AND WARRANTIES
11.1 Provider Representations:
Provider represents that:
- It has qualified personnel with expertise in AI security testing
- It shall conduct testing ethically and in accordance with industry standards
- It has no intent to cause harm or engage in unauthorized access beyond the authorized scope
- It shall comply with all applicable laws during testing
- It owns or has licensed the right to use all testing tools and methodologies
11.2 Client Representations:
Client represents that:
- It has authority to authorize testing of the Model and System
- It is the owner or authorized operator of the Model
- The Model does not violate third-party intellectual property rights
- It shall provide accurate and complete information in Exhibit A
11.3 Disclaimer of Warranties:
EXCEPT AS EXPRESSLY STATED, PROVIDER MAKES NO WARRANTY THAT TESTING WILL IDENTIFY ALL VULNERABILITIES OR RENDER THE MODEL COMPLETELY SECURE. TESTING IS PROVIDED ON AN "AS-IS" BASIS.
12. COMPENSATION
12.1 Fee Structure:
Client shall pay Provider as follows:
- Fixed Fee: $[________________________________] for the testing engagement described in Exhibit A, or
- Time-and-Materials: $[________________________________] per hour, not to exceed $[________________________________] total
12.2 Expenses:
Client shall reimburse Provider's reasonable out-of-pocket expenses for [cloud infrastructure / travel / tools], upon presentation of receipts.
12.3 Payment Terms:
Invoices shall be due within [30] days of receipt. Late payments accrue interest at [1.5%] per month or the maximum rate permitted by law.
12.4 Advance Payment:
Client shall provide [50%] deposit upon signing; remaining balance due upon delivery of final report.
13. LIMITATION OF LIABILITY AND INDEMNIFICATION
13.1 Limitation of Liability:
EXCEPT FOR BREACHES OF CONFIDENTIALITY (SECTION 4) OR IP INFRINGEMENT, NEITHER PARTY SHALL BE LIABLE FOR INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, OR PUNITIVE DAMAGES, INCLUDING LOST PROFITS OR BUSINESS INTERRUPTION.
13.2 Liability Cap:
Provider's total liability under this Agreement shall not exceed [the fees paid by Client in the prior 12 months / $[________________________________]], whichever is greater.
13.3 Indemnification by Provider:
Provider shall indemnify and hold harmless Client from any third-party claims that Provider's testing methodology or tools infringe third-party intellectual property rights.
13.4 Indemnification by Client:
Client shall indemnify and hold harmless Provider from any third-party claims arising from the Model itself, Client's use of Provider's findings, or Client's failure to remediate disclosed Vulnerabilities.
14. INSURANCE
14.1 Professional Liability:
Provider shall maintain professional liability (Errors & Omissions) insurance with minimum coverage of $[________________________________] per occurrence.
14.2 Cyber Liability:
Provider shall maintain cyber liability insurance covering data breach, privacy violations, and network security failures, with minimum coverage of $[________________________________].
14.3 Proof of Insurance:
Provider shall provide certificates of insurance upon request, at least [annually / upon renewal].
15. PUBLICATION AND CASE STUDIES
15.1 Publication Rights:
After remediation and expiration of the Embargo Period, Provider may publish case studies or research describing the testing engagement, provided:
- Client is offered [30] days to review and comment on draft publication
- Sensitive details are redacted or anonymized
- Client consent is not unreasonably withheld (consent regarding anonymized studies may be assumed)
15.2 Conference Presentations:
Provider may present findings at security conferences, academic settings, or research forums, consistent with Section 15.1.
15.3 Opt-Out:
Client may opt out of any publication by written notice within [30] days of draft submission.
16. TERM AND TERMINATION
16.1 Term:
This Agreement shall commence on the Effective Date and continue for [12 months] unless earlier terminated ("Term").
16.2 Termination for Convenience:
Either party may terminate this Agreement for convenience upon [30] days' written notice, provided Client remains liable for fees accrued through the termination date.
16.3 Termination for Cause:
Either party may terminate immediately upon material breach if the breaching party fails to cure within [15] days of written notice.
16.4 Effect of Termination:
Upon termination:
- Provider shall cease testing immediately
- Provider shall deliver final report within [15] days
- Confidentiality and IP ownership provisions survive termination
- Client remains liable for compensation for work performed
17. DISPUTE RESOLUTION
17.1 Negotiation:
In the event of dispute, the parties shall negotiate in good faith for [30] days.
17.2 Mediation:
If negotiation fails, disputes shall be subject to [non-binding / binding] mediation in [city / jurisdiction: ________________________________], administered by [mediator name or JAMS / AAA].
17.3 Arbitration or Litigation:
Disputes not resolved by mediation shall be resolved by [binding arbitration under JAMS rules / litigation in courts of ________________________________]. Each party waives the right to jury trial.
17.4 Governing Law:
This Agreement shall be governed by the laws of [state / jurisdiction: ________________________________], without regard to conflict of laws principles.
18. MISCELLANEOUS
18.1 Entire Agreement:
This Agreement, including all Exhibits, constitutes the entire agreement and supersedes all prior negotiations.
18.2 Amendment:
Amendments must be in writing and signed by both parties.
18.3 Severability:
If any provision is held invalid, the remaining provisions shall continue in effect.
18.4 Assignment:
Neither party may assign rights or obligations without the other's written consent, except that Client may assign to a successor in a merger or acquisition upon notice.
18.5 Counterparts:
This Agreement may be signed in counterparts and by electronic signature.
SIGNATURES
IN WITNESS WHEREOF, the parties have executed this Agreement as of the Effective Date.
CLIENT
By: [________________________________]
Name: [________________________________]
Title: [________________________________]
Date: [__/__/____]
PROVIDER
By: [________________________________]
Name: [________________________________]
Title: [________________________________]
Date: [__/__/____]
EXHIBITS
EXHIBIT A: SCOPE OF TESTING
Model Identification:
- Model Name: [________________________________]
- Version(s): [________________________________]
- API Endpoint(s): [________________________________]
- Test Environment: [Staging / Production / Sandbox other: ________________________________]
Testing Parameters:
- Test Duration: [Start Date: __/__/____] to [End Date: __/__/____]
- Modalities: ☐ Text ☐ Image ☐ Audio ☐ Multimodal ☐ Other: [________________________________]
- Maximum Concurrent Requests: [________________________________]
- Test Data Location: [________________________________]
- Test Data Format: [________________________________]
PII Categories Requiring Redaction:
☐ Names
☐ Email addresses
☐ Phone numbers
☐ Social Security numbers
☐ Financial account numbers
☐ Other: [________________________________]
Safety Officer Contact:
- Name: [________________________________]
- Title: [________________________________]
- Email: [________________________________]
- Phone: [________________________________]
- Secure Channel: [________________________________]
EXHIBIT B: HARM TAXONOMY
Vulnerabilities shall be classified by harm category:
-
CBRN (Chemical, Biological, Radiological, Nuclear): Instructions or outputs enabling creation of weapons of mass destruction.
-
CSAM (Child Sexual Abuse Material): Generation, retrieval, or facilitation of CSAM.
-
Weapons/Violence: Detailed instructions for weapons fabrication, explosives, or plans for violence.
-
Hate Speech/Discrimination: Outputs denigrating individuals or groups based on protected characteristics.
-
Privacy Violations: Leakage of personally identifiable information or training data.
-
Model Theft: Extraction or reconstruction of Model weights or architecture.
-
Hallucination/Misinformation: High-impact false information (financial, medical, legal advice).
-
Jailbreak/Prompt Injection: Circumvention of intended guardrails or safety mechanisms.
-
Bias: Systematically unfair outputs based on demographic characteristics.
-
Other: [Client to specify additional categories: ________________________________]
EXHIBIT C: RESPONSIBLE DISCLOSURE TIMELINE
| Severity | Embargo Period | Client Review | Public Disclosure |
|---|---|---|---|
| Critical (CBRN, Safety) | 30 days | 48 hrs | Day 30+ (coordinated) |
| High (Privacy, Jailbreak) | 90 days | 5 days | Day 90+ |
| Medium (Bias, Performance) | 180 days | 10 days | Day 180+ |
| Low | 180 days | 14 days | Day 180+ |
EXHIBIT D: SEVERITY RATING SCALE
Critical: CBRN capabilities, Mass harm, Safety system failure, Widespread model compromise
High: Consistent jailbreak, Training data extraction, Privacy violations, Model extraction, Consistent harmful content
Medium: Occasional harmful outputs, Prompt injection requiring specific phrasing, Performance degradation, Bias in targeted use cases
Low: Minor prompt injection, Rare harmful outputs, Cosmetic issues, Non-actionable feedback
EXHIBIT E: REPORT TEMPLATE OUTLINE
I. EXECUTIVE SUMMARY
- Overview for non-technical audience
- Number and severity distribution of findings
- Recommended actions
II. TESTING METHODOLOGY
- Attack vectors employed
- Tools and frameworks
- Timeline and scope
III. FINDINGS BY CATEGORY
- Prompt Injection: [Number] findings
- Jailbreak: [Number] findings
- Data Extraction: [Number] findings
- [Other categories]
IV. DETAILED FINDINGS (per severity)
- Vulnerability ID
- Description
- Proof of Concept
- Remediation recommendation
- Effort to fix (Low / Medium / High)
V. REMEDIATION PRIORITIES
- Immediate actions
- Short-term mitigations (1-3 months)
- Long-term architectural improvements
VI. APPENDICES
- Glossary
- Tools used
- References
EXHIBIT F: DATA PROCESSING AGREEMENT (if applicable under GDPR/UK GDPR)
Data Controller: [Client]
Data Processor: [Provider]
Processing Activity: Adversarial testing of AI Model using test data
Data Categories: [________________________________]
Purposes: Identification of Vulnerabilities related to privacy and security
Duration: [Testing Period] + [30] days post-report delivery
Sub-processors: [List any third-party tools or cloud services used: ________________________________]
International Transfer Mechanism: ☐ SCCs (Standard Contractual Clauses) ☐ Adequacy Decision ☐ Other: [________________________________]
Data Subject Rights: Provider shall facilitate Client's responses to data subject access requests within [10] business days.
Data Security: Provider shall encrypt data in transit and at rest, maintain access logs, and conduct annual security assessments.
SOURCES AND REFERENCES
- NIST AI Risk Management Framework 1.0 (voluntary): https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf
- MITRE ATLAS (Adversarial Tactics, Techniques and Common Knowledge): https://atlas.mitre.org/
- OWASP Top 10 for Large Language Models: https://owasp.org/www-project-top-10-for-large-language-model-applications/
- EU AI Act, Articles 40, 73: https://eur-lex.europa.eu/eli/reg/2024/1689/oj
- AI Village Red Team Exercises: https://aivillage.org/
- GDPR, Regulation (EU) 2016/679: https://gdpr-info.eu/
- UK GDPR, UK Data Protection Act 2018: https://ico.org.uk/for-organisations/data-protection/data-protection-bill-2018/
- Computer Fraud and Abuse Act, 18 U.S.C. § 1030: https://www.justice.gov/criminal-ccf/computer-fraud-and-abuse-act
- MITRE ATT&CK Framework: https://attack.mitre.org/
About this template
- Last updated
- October 6, 2026
- Jurisdiction
- All states
- Category
- Contracts & Agreements
Legal authority
- NIST AI Risk Management Framework (Voluntary AI RMF 1.0, NIST AI 100-1)
- EU AI Act (Articles 40, 73)
- Computer Fraud and Abuse Act, 18 U.S.C. § 1030
A contract is a written record of what two or more parties agreed to and what happens if someone does not follow through. Clear language, defined terms, and clean signature blocks keep disputes small and enforceable. The most common mistakes in contracts come from vague promises, missing details about timing or payment, and skipping standard protective clauses like governing law and dispute resolution.
Not legal advice
This template is provided for informational purposes. We recommend having an attorney review any legal document before signing, especially for high-value or complex matters.
Checked against the law it cites
The statutes this template relies on are listed under Legal authority.
NIST AI Risk Management Framework 1.0 (NIST AI 100-1) (checked September 6, 2026): "The NIST AI Risk Management Framework (AI RMF) is intended for voluntary use and to improve the ability to incorporate trustworthiness considerations into the design, development, use, and evaluation of AI products, services, and systems."
Draft your AI Red-Teaming Services Agreement in the editor
Answer a few questions, let the AI editor draft each section from your answers, review it, and download Word and PDF. $99 one time, or $249 per month for every document and every Ezel app.