Disclosure Of Source Code In Litigation
Disclosure of source code in litigation
Introduction
Disclosure of source code in litigation refers to the production or examination of computer program instructions during legal proceedings when the functioning of software is relevant to a dispute. Source code is the human-readable form of a computer program that contains instructions written in programming languages. It may reveal how software operates, processes information, generates results or controls digital systems.
Source code disclosure may become necessary in disputes involving software copyright, patent infringement, cybersecurity incidents, algorithmic discrimination, contractual performance, financial technology and digital evidence. However, source code often contains valuable intellectual property, confidential business information and security-sensitive details. Courts must therefore balance the requirements of justice and fair trial against confidentiality and legitimate commercial interests.
Legal framework in India
1. Code of Civil Procedure, 1908
The Code of Civil Procedure provides mechanisms for discovery, inspection and production of documents. Under Order XI, parties may seek relevant documents or electronic records from opposing parties, subject to procedural requirements and judicial control. Source code may be treated as an electronic record or relevant document where it is material to the issues in dispute.
The court may restrict disclosure to relevant portions, impose confidentiality conditions or permit inspection by independent experts to prevent unnecessary exposure of proprietary information.
2. Information Technology Act, 2000
The Information Technology Act, 2000 recognises electronic records and establishes legal rules concerning electronic transactions and cybersecurity. Section 43 addresses specified unauthorised acts involving computer systems, while Section 66 provides criminal consequences for certain acts committed dishonestly or fraudulently.
In litigation involving unauthorised access, software manipulation or cyber incidents, source code may become relevant evidence for establishing the technical method, responsibility or extent of interference.
3. Copyright Act, 1957
Section 2(o) of the Copyright Act includes computer programmes within the definition of literary works. Sections 13 and 14 protect qualifying computer programmes and provide exclusive rights to copyright owners. Section 51 addresses copyright infringement.
Consequently, source code may be central to determining whether a defendant copied, reproduced, modified or distributed protected software. Disclosure must nevertheless be proportionate and should not automatically expose unrelated proprietary code.
4. Indian Evidence Act and Bharatiya Sakshya Adhiniyam
The Bharatiya Sakshya Adhiniyam, 2023, effective from 1 July 2024, governs the admissibility of electronic and digital records. Source code, system logs, software documentation and related technical records may be relevant depending on the dispute. Their authenticity, integrity and evidentiary foundation must be established according to applicable evidentiary requirements.
Important case laws
1. Microsoft Corporation v. Yogesh Papat (2005) 30 PTC 245 (Del)
The Delhi High Court dealt with software copyright infringement involving unauthorised use of Microsoft software. The decision illustrates the importance of software licensing, copyright protection and technical evidence in intellectual property disputes. It is relevant to source code litigation because examination of software and related technical material may assist courts in determining infringement. However, it does not establish an unrestricted right to compel source code disclosure.
2. Autodesk Inc. v. A.V.T. Shankardass (2008) 37 PTC 36 (Del)
This dispute concerned alleged unauthorised use of computer software and copyright protection. The case demonstrates the legal importance of software ownership, licensing arrangements and evidence of unauthorised use. In similar disputes, source code comparison may help establish whether protected program elements have been copied.
3. Anvar P.V. v. P.K. Basheer (2014) 10 SCC 473
The Supreme Court clarified the requirements for admitting electronic records under Section 65B of the former Indian Evidence Act, 1872. Although the decision concerned electronic evidence rather than source code disclosure specifically, it is relevant where software-generated records, digital files or computer outputs are relied upon in litigation. Its principles must now be read alongside the Bharatiya Sakshya Adhiniyam, 2023.
4. Arjun Panditrao Khotkar v. Kailash Kushanrao Gorantyal (2020) 7 SCC 1
The Supreme Court reaffirmed the importance of statutory certification for certain electronic records under the former Section 65B framework. The judgment is relevant to the authentication of digital material produced during source code disputes. It does not determine whether source code must be disclosed, but helps establish the evidentiary requirements for electronic material.
Judicial considerations in ordering disclosure
Courts should not order complete source code disclosure merely because one party requests it. The applicant should demonstrate that the code is relevant, necessary and proportionate to resolving a specific issue.
Relevant considerations include:
Relevance: Whether the source code is directly connected with the disputed transaction, infringement or alleged technical misconduct.
Necessity: Whether the issue can be resolved through less intrusive evidence, such as technical reports, logs or expert examination.
Confidentiality: Whether disclosure would expose trade secrets or commercially sensitive information.
Security: Whether access could create cybersecurity risks or enable misuse.
Proportionality: Whether the evidentiary value justifies the burden and commercial harm associated with disclosure.
Courts may adopt protective measures such as restricted inspection, confidentiality undertakings, secure examination rooms, redaction of unrelated code and appointment of independent technical experts.
Conclusion
Disclosure of source code in litigation is an important evidentiary mechanism in disputes involving software ownership, copyright infringement, cybersecurity and automated systems. Indian procedural and intellectual property laws provide a foundation for seeking relevant electronic material, but they do not create an automatic right to inspect an opponent's entire source code. Courts must balance evidentiary necessity, fair trial rights, intellectual property protection and cybersecurity. A proportionate disclosure framework, supported by expert examination and confidentiality safeguards, can promote justice without unnecessarily damaging legitimate commercial interests.

comments