SOURCE CODE ESCROW AGREEMENT
New Zealand

Dated: [date].
Software Owner: [full legal name, NZBN/company number and address] (Owner).
Business User: [full legal name, NZBN/company number and address] (User).
Escrow Custodian: [full legal name, NZBN/company number and address] (Custodian).

Licensed Software means the software in the Deposit Details and licensed under the Software Agreement dated [date]. Deposit Package means its source code and the build, deployment and maintenance items listed in the Deposit Details. Working Day means a day other than Saturday, Sunday or a public holiday at the recipient's notice address.

1. Escrow arrangement
The Owner and User appoint the Custodian to hold the Deposit Package. The Owner will provide the initial package through the secure channel within [10] Working Days and replace it within [10] Working Days after every production release and at least every [three] months.

With each deposit, the Owner confirms that it is entitled to deposit the material and that, together with the identified tools and dependencies, it is sufficient for a suitably skilled person to build and maintain the current production release. Escrow does not transfer copyright or any other ownership.

2. Custody and testing
The Custodian will encrypt the Deposit Package, limit access to authorised personnel, keep it separate from ordinary business files and maintain an access log. It will notify the Owner and User promptly of loss, corruption or unauthorised access. It will retain the current and immediately previous package unless the Deposit Details require more.

Within [5] Working Days after receipt, the Custodian will compare the package with its manifest, confirm file integrity and screen it for malware. A compilation, deployment or other technical verification occurs only if selected in the Verification Schedule. The Custodian will report a failed check to both other parties, and the Owner will correct it within [10] Working Days.

3. Confidentiality, rights and payment
The Owner owns the Deposit Package. Before a permitted release, the Custodian may use it only for custody and agreed verification, and the User has no access. Both must protect it as highly confidential information. The duty does not cover information lawfully public, already held without restriction, independently developed or lawfully obtained from another source. Disclosure required by law is allowed after notice where lawful.

The fee payer in the Administration Schedule will pay the Custodian within [20] days. Non-payment does not permit release or destruction. If a fee remains unpaid for [30] days after notice to both parties, either may pay it; only if neither does so may the Custodian terminate and return the package securely to the Owner.

4. Release Events
A Release Event occurs where:

(a) the Owner permanently stops the maintenance or support required by the Software Agreement and does not arrange an equivalent successor within [30] days;

(b) the Owner enters liquidation or another insolvency process that results in permanent non-performance of that maintenance or support, subject to insolvency law;

(c) after notice, the Owner fails for [30] days to correct a critical production fault it is required to correct, and that fault prevents material authorised use; or

(d) an additional objective event stated in the Administration Schedule occurs.

5. Decision and release process
The User may request release by giving both other parties a notice with evidence. The Owner has [10] Working Days after receipt to agree or dispute the request with reasons. If it agrees or does not respond in time, the Custodian will release the current package securely to the User.

If the Owner disputes in time, the Custodian will continue to hold the package. The Owner and User will refer only the question whether a Release Event occurred to an independent technology lawyer or expert they appoint, or to [appointing body] if they cannot agree within [5] Working Days. The expert acts as an expert and not an arbitrator, allows each side a reasonable opportunity to provide evidence, and gives a reasoned decision. The unsuccessful party pays the expert's costs unless the expert decides otherwise. The Custodian must act on the decision unless restrained by a court.

Any party may seek urgent court protection to preserve the package or prevent an unauthorised release.

6. Limited licence following release
On a valid release, the Owner grants the User a non-exclusive, royalty-free licence to use, copy and modify the Deposit Package, and allow confidential contractors to do so, only to correct, maintain and support the User's authorised operation of the Licensed Software. The licence is limited by the Software Agreement's users, systems, territory and duration.

The User must not sell, publish or sublicense the Deposit Package, develop a competing product from it or disclose it outside personnel and contractors who need it and are bound to protect it. Release does not transfer copyright or enlarge the User's object-code rights. When the release licence ends, the User will return or destroy the package except for one inaccessible legal-archive copy.

7. Privacy and security
Personal information must not be included unless necessary for building or maintaining the Licensed Software and identified in the Deposit Details. Each party will apply safeguards required by the Privacy Act 2020 for information it holds. The Custodian will notify the Owner and User without undue delay of a confirmed privacy breach affecting the Deposit Package so each can assess and meet its legal notification duties.

8. Term and responsibility
This Agreement continues while the Software Agreement is in force and for [6] months afterwards. At the end, the Custodian will return or securely destroy the package as jointly directed and confirm completion.

The Custodian does not develop or support the Licensed Software and need not determine ownership. Each party is responsible for direct loss caused by its breach, negligence or wilful misconduct. The Custodian's total liability is limited to [12 months of escrow fees], except for fraud, wilful misconduct, breach of custody, confidentiality or privacy, unauthorised release, or liability that cannot lawfully be limited.

9. Administration and law
The Custodian may use a secure storage subcontractor but remains responsible for it. No party may transfer this Agreement without the others' consent, except that the Owner or User may transfer it with the Software Agreement to a successor that assumes it in writing. Notices take effect when received at the addresses in the Administration Schedule. These terms and the schedules are the entire escrow agreement; changes must be signed. Counterparts and reliable electronic signatures may be used.

New Zealand law governs. New Zealand courts have non-exclusive jurisdiction, subject to the expert process above.

DEPOSIT DETAILS
Licensed Software, version, Software Agreement and authorised environment: [details].
Repositories, source, build scripts, dependencies, keys, documentation and manifest: [details].
Excluded items, personal information and lawful alternatives: [details].

VERIFICATION SCHEDULE
Secure transfer, encryption, retention and authorised contacts: [details].
Verification level, frequency, test environment and report: [details].

ADMINISTRATION SCHEDULE
Fees and fee payer: [details].
Additional objective Release Event, or none: [details].
Notice details and expert appointing body: [details].

SIGNED
Owner: [authorised signatory, position, signature and date].
User: [authorised signatory, position, signature and date].
Custodian: [authorised signatory, position, signature and date].


---
License: Licensed under CC BY 4.0. Attribution is required when you publish or redistribute this Template or an adapted version to the public. Attribution is not required merely because you use or adapt the Template for your own business or legal purposes, including preparing, negotiating, signing, or exchanging an agreement with a counterparty. License details.
License details: https://contract-templates.getfebruary.ai/license/