Skip to contentFree 30 minute call with Pali

Explainer

Who owns the source code when I outsource development?

By Pali (Wan Muhamad Fadzli), business automation, Penang.

Last updated

In Malaysia, when you outsource software development, you should own the custom source code and deliverables after agreed invoices are paid, if the contract says so. Keep repositories, hosting, domains and service accounts in your company's name from day one. Pali's RM 300 Discovery Sprint can document ownership and handover before development starts.

What should your company own?

Ownership is more than a copy of the source code. Separate each asset and record who controls it:

Asset What to agree Practical control
Custom source code When ownership transfers after payment Repository under your company account
Designs and documentation Which working files and instructions are included Files stored in your workspace
Hosting, domains and app accounts Who is the registered owner and billing contact Accounts in your company’s name
Data and database exports Export format, access and deletion after handover Tested export you can open
Open-source and third-party components Applicable licences and usage limits A current component and licence list

What should the contract say about code ownership?

The agreement should state:

  • Which source code, designs, documentation and other deliverables are included.
  • Who owns each deliverable before and after payment.
  • The exact payment or milestone that triggers transfer.
  • Which existing vendor tools, open-source components and third-party assets are excluded from the transfer.
  • What access, files and help are included in handover.
  • What happens to your data and the vendor’s access when the engagement ends.

These are commercial checks, not legal advice. Have a Malaysian lawyer review the agreement when the ownership terms carry material risk.

Why should the accounts be in your name from day one?

Code ownership is less useful if the vendor alone controls the repository, hosting, domain, app store or production services. Company-owned accounts let you manage access, see billing and continue operating if the relationship ends.

Give each developer only the access needed for their work. Keep live credentials in protected environment settings, not inside the source code or project messages, and remove access when responsibilities change.

What should a complete handover include?

Before the last milestone is accepted:

  1. Confirm the latest source code and full version history are in your repository.
  2. Collect editable design files, technical documentation and deployment instructions.
  3. Verify access to hosting, domains, databases, app accounts and connected services.
  4. Export the data and test that the export can be opened or restored.
  5. Record third-party services, renewals, licences and the person responsible for each one.
  6. Ask a different developer to follow the instructions and identify missing access or context.

Which warning signs should stop the project?

  • The vendor will discuss ownership only after the build starts.
  • The contract says little about source code, data or account control.
  • You cannot access the repository or see working software during delivery.
  • Hosting, domains or production services must remain in the vendor’s personal account.
  • Handover depends on an undocumented process only one person knows.
  • Open-source and third-party licences cannot be listed.

Read how to outsource software development in Malaysia for the wider payment and delivery checklist. If you need an independent technical lead to inspect ownership, delivery and handover, compare a fractional CTO, agency and freelancer.

How can Pali help you secure ownership?

Pali’s fractional CTO service can review the repository, accounts, contract deliverables and handover plan from the buyer’s side. Start with the calculator for an early scope, or use the Discovery Sprint to turn an unclear project into written requirements, architecture and a handover plan. Pali’s own engagement terms state when ownership transfers.

Frequently asked questions

Do not assume it does. Your agreement should identify the deliverables, who owns them and when ownership transfers. Ask a Malaysian lawyer to review the wording if ownership is important to the deal.

Your company should control the repository and give the developer the access needed for the work. This keeps the full history available and makes a future handover simpler.

You can own the custom work while open-source components remain under their own licences. Ask for a list of those components and their licences at handover.

Collect the current source code, designs, documentation, deployment instructions, database exports, account access and a list of third-party services. Test that another developer can use the handover.

Pali is not the right fit if you need the vendor to retain ownership of a proprietary platform or if your procurement terms prevent repositories and technical accounts from being held in your company's name.

Price your own project

Get an RM price in two minutes with the calculator, or book a free 30 minute call.

Want advice on your own case?

Tell Pali what you are trying to fix. You get a straight answer and, if it helps, a fixed price.

  • Free, no account needed
  • Reply by email or WhatsApp

Or contact us

Keep reading