The Lawxy Times
Delhi High Court Rules on AI-Generated Code in FOSS Governance, Shifts Focus to Fair-Dealing Exceptions
The Delhi High Court's recent ruling in ANI Media Pvt. Ltd. v. OpenAI clarifies the application of fair-dealing exceptions in Section 52(1)(a) of the Copyright Act, 1957, to AI-generated code. This decision affects Indian technology and services firms, with significant practical consequences for their software development and licensing practices.
Full News Breakdown
Case Name: ANI Media Pvt. Ltd. v. OpenAI
Court: Delhi High Court
Date: July 2026
Statutes Cited: Copyright Act, 1957
Key Provisions: Section 52(1)(a) - fair-dealing exception
Primary Legal Issue: Governance of AI-generated code in FOSS
Petitioner Arguments: Alleged infringement of copyrighted material
Respondent Arguments: Fair-dealing exception applies to AI-generated code
Court Reasoning: Interim view on model training, fair-dealing exception
Ratio Decidendi: Application of fair-dealing exception to AI-generated code
Operative Order: Refusal of interim injunction
Practical Outcome: Shift in focus to AI-aware governance for Indian technology and services firms
How Does This Affect You?
The Delhi High Court has clarified the application of fair-dealing exceptions to AI-generated code, resolving some of the uncertainty surrounding the governance of AI-generated code in FOSS. This shift creates a compliance obligation for enterprises to adapt their FOSS compliance frameworks to accommodate AI-generated code, review their software composition analysis tooling and DevSecOps pipelines, and manage IP risks.
For Lawyers & Advocates
Lawyers may find it useful to advise clients on adapting their FOSS compliance frameworks to accommodate AI-generated code, taking into account the application of fair-dealing exceptions in Section 52(1)(a) of the Copyright Act, 1957. The ruling highlights the importance of capturing prompt and tool-usage history, flagging code that came from a model, and scanning generated output for licence conflicts. Lawyers may want to review their clients' software composition analysis tooling and DevSecOps pipelines to ensure they are equipped to handle AI-generated code.
For Law Students
The decision provides an opportunity to examine the fair-dealing exception in copyright law, specifically Section 52(1)(a) of the Copyright Act, 1957. The case ANI Media Pvt. Ltd. v. OpenAI demonstrates the application of fair-dealing exceptions to AI-generated code. The constitutional or statutory interpretation question is how the fair-dealing exception in Section 52(1)(a) applies to AI-generated code.
For Businesses
The ruling may influence the governance of FOSS in the context of AI-generated code. Businesses may consider the implications of AI-generated code on their software development and licensing practices, including the need for clear documentation and tracking of code provenance. Companies may want to review their software composition analysis tooling and DevSecOps pipelines to ensure they are equipped to handle AI-generated code and manage IP risks.
Key Takeaways
The legal principle established: The fair-dealing exception in Section 52(1)(a) of the Copyright Act, 1957, applies to AI-generated code.
The practice consequence: Enterprises may wish to adapt their FOSS compliance frameworks to accommodate AI-generated code, review their software composition analysis tooling and DevSecOps pipelines, and manage IP risks.
The enforcement consequence: Regulators and courts may enforce fair-dealing exceptions in cases involving AI-generated code, emphasizing the potential implications for companies.
What to watch next: The development of new software composition analysis tooling and DevSecOps pipelines that can handle AI-generated code and manage IP risks.
A named audience and a named action: Indian technology and services firms may want to consider reviewing their FOSS compliance frameworks and adapting them to accommodate AI-generated code.
Source: Expert Take: Software that writes software: a blind spot in the open-source rulebook

