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:
- Confirm the latest source code and full version history are in your repository.
- Collect editable design files, technical documentation and deployment instructions.
- Verify access to hosting, domains, databases, app accounts and connected services.
- Export the data and test that the export can be opened or restored.
- Record third-party services, renewals, licences and the person responsible for each one.
- 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.

