Skip to content

Article

Who Owns Outsourced Source Code in Saudi Arabia?

Can your company keep running software built by an external vendor? A practical look at custom code ownership, component licences, repository handover and testing supplier exit.

A Saudi company is about to renew the support agreement for a platform that coordinates customer orders. In this hypothetical, a challenger offers cheaper support and promises to update the integrations within three months. The incumbent controls the source repository and build account and says the integration layer relies on its own library. The customer can sign in to the operating dashboard and holds copies of earlier deliveries, but nobody has shown that the live release can be rebuilt from those materials. Before giving notice, the board needs answers it can verify. What may it authorise the replacement supplier to do, and can that supplier do it with the materials and accounts the company will actually receive?

What should the company verify before assuming it owns the code?

Article 3(11) of the Saudi Copyright Law protects computer programs and applications. Article 9 addresses relevant economic rights, including reproduction and modification. Article 10 allows lawful disposition of some or all economic rights. The law, issued by Royal Decree M/169, was published on 13 February 2026 and took effect on 12 August 2026 under Article 61. Its Implementing Regulations took effect with the law under Article 60. For older projects, identify when components were created and contracted for, and when the relevant act occurred, before assessing the effect on existing rights. Start with the live version and ask whether migration will require copying, modifying, hosting in a different environment or instructing a service provider to work on that version.

How should the company deal with the different wording on commissioned work?

Subject to the employee-work rule, Article 18(2) of the Law leaves economic rights in works created for another person with the author unless otherwise agreed. Article 15(2) of the Regulations is framed differently. It allocates economic rights to the contracting person in the case of a work created under a specific contract with a person outside an employment relationship with the author, unless the contract expressly provides otherwise. The author retains moral rights. Read the Regulations within the limits of the Law. Identify the contracting parties and the author’s status, especially if a development company uses employees or freelancers. Reduce uncertainty through an express instrument specifying the economic rights and tracing them to the actual right holder. If an existing agreement is silent, review the facts and chain of rights before instructing a replacement supplier.

How should bespoke code be distinguished from the vendor’s own library?

Request a schedule mapped to modules or repository paths. Identify project code, pre-existing vendor tools, third-party components and hosted services on which the product relies. A customer may hold the front-end code while authentication depends on a library that can be withdrawn or reporting stops when a subscription expires. The parties can assign economic rights in bespoke modules and license retained components to the extent needed for operation and maintenance. Match each right to an identified asset and release, and address use by affiliates and replacement operators. If an essential component cannot be licensed, obtain an estimate of replacement cost, lead time and service impact before signing.

When is a licence enough to switch suppliers?

Article 12 of the Law and Article 29 of the Regulations address software use under licence. Specify the acts the customer needs, such as copying the program to test and production environments, changing integrations and letting another contractor maintain it on the customer’s behalf. Check duration, survival after the services agreement ends, any environment or user limits, and whether a business transfer or change of control requires further consent. A continuing licence may cost less where build tools are available and migration can be tested. A platform that earns revenue by distributing or licensing software needs permissions aligned with that business model. Third-party components remain subject to their own terms, regardless of how broadly the development supplier’s licence is drafted.

How should the team review open-source and other third-party components?

Request a software component inventory covering direct dependencies and those needed for build and operation. It should state versions, sources, licence terms and local changes, and should be reconciled to the deployed release. Assess how each licence applies to the intended use, who carries its fees or obligations, and what changes on distribution or network access under the applicable terms. If a service subscription is held in the supplier’s name, check whether it can continue under the customer’s account or will need a new subscription or integration. Make changes to the inventory and evidence of approvals part of accepting a new release. Replacing a library after launch can consume the retesting budget and postpone a release a major customer depends on.

What makes a source-code handover testable?

Define what an independent team must be able to use. Deliverables typically include the agreed repository version, build and deployment instructions, dependency definitions, tests and integration documentation. Transfer agreed administrative control to customer-controlled accounts where feasible and protect operational keys through a secure procedure. A useful acceptance test is to rebuild an agreed release, deploy it in a customer-controlled test environment and run a critical business workflow to verify that it works. Link the handover payment to remediation and retesting within a defined period. For continuing projects, rerun the test after significant dependency or deployment changes, so the delivery remains usable when it is needed.

When is independent source-code escrow worth the expense?

Escrow may help where the vendor retains an essential, hard-to-replace component and declines to deliver it directly. The deposit must match the live version and be refreshed at agreed milestones. Define release triggers, evidence of the trigger and how disputes will be decided. Specify the customer’s rights to copy, run and maintain the code after release, subject to the agreement and applicable licences. Test buildability before relying on the deposit. If the principal dependency is a hosted service that cannot be transferred, budget for data export, a workable substitute or a transition period after comparing the expected downtime and cost of each option.

How should the board decide whether to renew or migrate?

Ask legal and engineering to report together on established rights, outstanding permissions, build-test results and lead time for moving operations. Compare a short extension with specific, independently tested deliverables, a phased move starting with available components, and redevelopment of what cannot be licensed or transferred. Tie termination to a plan that preserves customer service and sets out staffing, costs and the days both environments must run in parallel. In the hypothetical, the challenger’s proposal becomes comparable only once it includes the cost of replacing the integration library and running both versions. If maintenance authority remains unclear or the build test fails, bring that exposure explicitly to the person approving renewal or termination.

For more information, contact us

More insights

Articles and legal updates.

Contact

Speak to AZ&P about the decisions that shape ownership, growth and risk.

Talk to us about your legal matter.

Message us on WhatsApp, call us or book a time. We reply with the next step and a fee quote.