Who Owns the Code? IP and Handoff Checklist for Outsourced Dev
By default the developer owns commissioned code, not the client who paid. What your contract must say, and a 12-step handoff checklist to verify control.
By default, the developer who writes your code owns its copyright, even after you’ve paid in full. In the US, software is not one of the nine categories of commissioned work that can be “work made for hire”, and ownership moves only by a signed written transfer; UK and EU law start from the same place. You own the code when a signed contract assigns it to you, and you control it when the repository, cloud, domain and app-store accounts are in your name: the 12 checks and 12 steps below cover both.
Key takeaways
- Paying isn’t a transfer. US copyright starts with the author, and a paid invoice isn’t a signed assignment.
- The verb matters. “Hereby assigns” moves the rights. “Agrees to assign” only promises to (Stanford v. Roche).
- Rights and access are separate. Owning a copyright and holding a copy are distinct things. You need both.
- AI-written code is a thinner asset. Per the US Copyright Office, prompts alone don’t make you an author.
- A handoff ends with rotation and removal. Deploy keys stay active after the person who added them leaves.
Who owns commissioned code by default
United States
Copyright vests initially in the author. The exception is a work made for hire, and the Copyright Office’s Circular 30 gives the test: an employee made the work as part of the job, or it was specially commissioned, falls in one of nine listed categories and is covered by a signed agreement calling it a work made for hire. Software isn’t on the list, so a contract that relies only on the words “work made for hire” may transfer nothing.
That leaves a transfer, which §204(a) recognizes only when it is in writing and signed by the owner of the rights. Delivery doesn’t do it: §202 separates owning a copyright from owning a copy.
Without an assignment, you probably still have permission to use the code: a nonexclusive licence isn’t a transfer of ownership, so a court can find one in the parties’ conduct. In Asset Marketing Systems v. Gagnon, the Ninth Circuit held that a contractor who wrote custom programs had granted his client “an unlimited, nonexclusive license to retain, use, and modify the software.” A licence isn’t ownership, and technical due diligence looks for signed assignments.
“Hereby assigns” versus “agrees to assign”
In Stanford v. Roche (2011), a researcher had signed an agreement saying he “agree[d] to assign” his inventions to Stanford, and later one with a company saying he “will assign and do[es] hereby assign” them. The Federal Circuit read the first as “a mere promise to assign rights in the future” and the second as an assignment in itself, so the company obtained the rights. The Supreme Court decided a different question and noted that it wasn’t reviewing that reading.
It’s a patent case, but the drafting lesson applies to any IP clause. “Agrees to assign” leaves you holding a promise, and collecting on it takes a second signature from a vendor you may no longer be speaking to. Present-tense wording transfers the rights by itself once its condition is met.
United Kingdom and the EU
UK law has the same shape. Under the Copyright, Designs and Patents Act 1988, the author is the first owner unless an employee made the work in the course of employment, and an assignment must be in writing and signed by or for the assignor. Where a contract is silent, the Intellectual Property Office’s guidance says a court may imply a licence, possibly a limited, non-exclusive one.
The EU’s Software Directive gives an employer all economic rights in a program its employee creates on the job, unless a contract says otherwise. The rule covers employees only, so an agency needs a contract with its freelancers, and you need one with the agency. Some countries don’t allow outright assignment: under Germany’s copyright act, copyright can’t be transferred except by inheritance, and authors grant rights of use. With an EU vendor, the clause should assign the rights and, where the law doesn’t allow that, grant an exclusive, perpetual, worldwide licence you can transfer.
What the contract should say
- A present assignment on payment. “Hereby assigns”, tied to each deliverable and effective automatically when it’s paid in full. Tied to “completion”, it leaves you with nothing if the project stops.
- A licence to pre-existing tools. Vendors bring libraries they won’t assign. The licence should be perpetual, irrevocable and royalty-free, cover modification and distribution, and pass to a buyer of your company.
- The contractor chain. A vendor can pass on only what its own people assigned to it, so require written assignments from every employee and contractor.
- Open-source terms. Components keep their own licences, with duties attached: MIT requires its notice in every copy, and the AGPL requires offering your modified source to users who reach the software over a network. Ask for a component list and a veto on copyleft. Black Duck’s 2026 audit report found licence conflicts in 68% of codebases.
- Stopping early. Paid work is assigned, and work in progress is delivered once the fees earned to that date are settled.
- Moral rights. Under the Berne Convention, the author’s rights to be credited and to object to distortion survive a transfer of the economic rights. UK law excludes computer programs from them (s.79, s.81), and the US statute covers only a “work of visual art”. For designs and copy, ask for a waiver as far as the law allows.
- Delivery and accounts. Code goes into your repository as it’s written, and services run in your accounts. Our red-flags post explains why.
AI-generated code: the 2026 question
If AI tools wrote part of your code, ask what there is to assign. The US Copyright Office’s January 2025 report concluded that copyright “does not extend to purely AI-generated material”, that “prompts do not alone provide sufficient control” to make the user an author, and that using AI to assist human creativity doesn’t affect protection. Human authors keep copyright in their own expression in the output and in their creative arrangement and modification of it. In Thaler v. Perlmutter, the D.C. Circuit held that a work must be authored in the first instance by a human being, and the Supreme Court declined to review that in March 2026.
Our reading for a commissioned codebase:
- A contract assigns only rights that exist. Code a model produced from a prompt and nobody reshaped may carry no copyright to assign. Code a developer designed, edited and integrated is on firmer ground.
- Secrecy still protects private code. US trade-secret law covers programs and codes that are kept secret by reasonable measures and are valuable because they’re secret. Its definition doesn’t ask who wrote them.
Ask the vendor which AI tools it uses, whether their terms bar training on your code, and who reviews generated code.
This article is general information, not legal advice. Have a lawyer read your contract.
The handoff: what must be in your hands
An assignment gives you rights, not passwords. Each asset below should sit in an account your company owns, with the vendor as a guest.
| Asset | Who should own it | How to check in five minutes |
|---|---|---|
| Source code and history | Your GitHub or GitLab organization, with two owners on your side | Find yourself listed as an owner. Clone and check the history |
| Cloud hosting and billing | Your account: root login on a company email, your card on file | Sign in as root and open billing |
| Domains and DNS | Your company as registrant, in your own registrar account | Log in. Check the registrant name, email and auto-renew |
| App-store accounts | Your Apple Developer and Google Play accounts | Check the developer name on the app and who holds the top role |
| Payments | A Stripe account in your legal entity’s name, paying out to your bank | Check the account owner and the payout account |
| Email and analytics | Your Workspace, sending-service and analytics accounts | Confirm you hold the top admin role in each |
| Secrets | Your secret manager, with an inventory by name | Ask where each secret is set and when it was last rotated |
| CI/CD | Pipelines in your repository, deploy credentials in your accounts | Trigger a deploy yourself |
| Infrastructure-as-code | Your repository, with state stored in your cloud | Run a plan and expect no changes |
| Documentation and runbooks | Your repository | Run the app from the README alone |
| Licences and SBOM | Your repository | Export an SBOM and search it for GPL and AGPL |
| Data and backups | Your storage | Restore the latest backup into a scratch database |
Repositories and pipelines
A GitHub repository transfer moves issues, pull requests, wiki and history. Its webhooks, secrets and deploy keys stay attached, so review them and the installed GitHub Apps. GitHub recommends at least two owners per organization. On GitLab, a project transfer needs the Owner role on the project.
Cloud, domains and DNS
On AWS, the root user has complete access to every resource, and AWS advises giving it a group email address your business manages. If the vendor created your account inside its own AWS organization, the vendor’s management account is charged for it. The account can leave once it has its own payment method and contact details.
ICANN’s registrant FAQ says a developer who registered your domain with their own details can be the registrant of record even though you paid, and that proof of payment may be needed to show the registrar you’re the rightful holder. A registrar must provide the transfer code within five calendar days of a request. A change of registrant can lock registrar transfers for 60 days, so become the registrant first and change registrars later.
App stores and payments
Apple lets one developer account transfer an app to another with its ratings, reviews and users. The app needs at least one released version, and the Account Holder starts the transfer, a role that passes only to an employee with legal authority to bind the organization. A Google Play transfer carries users, statistics, ratings and reviews. With Play App Signing, Google holds the app signing key and you hold the upload key, which can be reset if it’s lost.
A Stripe account’s owner can transfer ownership and if the owner is unavailable, Stripe Support can process the change after verifying your identity and your relationship to the business.
Secrets and infrastructure state
Treat every credential the vendor could read as known outside your company: laptops, chat threads and CI logs keep copies. Stripe says to rotate keys when someone with access leaves, and its dashboard keeps the old key working for up to 7 days while you switch. For a secret that reached a repository, GitHub says to revoke or rotate it first. If a key ever shipped in a frontend bundle, see how AI-built apps leak API keys. Terraform state can hold secrets such as database passwords in plain text, so keep it in encrypted remote storage in your own cloud account.
Documents, data and removing access
The minimum documentation is a README that gets a new engineer running locally, a runbook for deploy, rollback and restore, and the secrets inventory. GitHub can export a software bill of materials in SPDX format.
Export the production database and files into storage you own, and restore the copy once. If the vendor processed personal data under GDPR, Article 28 requires it to delete or return that data when the service ends, whichever you choose.
Removing a member from a GitHub organization doesn’t delete their local copies, so the contract’s deletion duty matters. On AWS, a credential report lists every IAM user’s passwords, access keys and MFA devices.
The handoff checklist
Run it in order. Rotation and removal come last, because you need the vendor’s help until then.
- Get the list of every account, service and secret in writing.
- Confirm you own the repository organization, and add a second owner.
- Take over the cloud root login and the billing.
- Confirm you’re the registrant of every domain, and export the DNS zone.
- Move the apps into your Apple and Google accounts, and collect the signing keystores.
- Confirm you own the Stripe, email and analytics accounts.
- Export the database and files, and restore the backup once.
- Deploy from a clean clone, using only the documentation.
- Export the SBOM and file it with the contract.
- Rotate every secret on the inventory.
- Remove the vendor’s users, deploy keys, tokens, apps and webhooks.
- Get written confirmation that your data and credentials are deleted and every deliverable is paid and assigned.
If a vendor is holding code or accounts hostage
Work through these in order.
- Read the assignment clause. If rights pass on payment and you’ve paid, they’re yours. If there’s no signed assignment, the vendor probably still owns the copyright, so see a lawyer before you write.
- Separate the money from the handover. Pay what you don’t dispute, and put the rest in writing. Where ownership depends on payment, an unpaid invoice is a real obstacle.
- Secure what’s already yours. In accounts you own, change passwords, rotate secrets, remove the vendor’s access and export the data. Stay out of the vendor’s own systems even if an old password works: US federal law penalizes accessing a computer without authorization.
- Send a written demand. Quote the clause, list each asset and set a date.
- Use the platforms’ own routes. A registrar can act on proof of payment, and ICANN takes complaints about wrongly denied transfers.
Call a lawyer when there’s no signed assignment, when the vendor can switch off production or let a domain lapse, when it threatens to delete, publish or resell the code, or when the demand goes unanswered. Do it early: in the US, an infringement suit over a US work can’t be filed until the copyright claim is registered.
How our published terms handle ownership and handoff
coderband is a US company registered in Wyoming, and our Terms of Engagement and Master Services Agreement are public. The clauses that answer this post:
- Your repository, your accounts. Your code lives in your repository from day one, and your cloud, model, API and other service accounts stay in your name (Terms §12.1, §4.2).
- Automatic assignment on payment. Once a deliverable is paid in full, we assign you all our rights in it, including copyright, with no further document. Everyone who works on your project assigns their rights to us in writing, so that full ownership passes to you (Terms §9.1, §9.6, MSA §9.2).
- Tools and open source. Where our pre-existing tools are part of a deliverable, you get a permanent, irrevocable, royalty-free licence to use, modify and distribute them as part of it and your products. Nothing that would force you to publish your own source code goes in without your written approval (Terms §9.3, §9.4).
- Stopping early. You pay the fees earned to that date, we deliver the work in progress, and the same assignment applies to it (MSA §16.6).
- Secrets, AI tools and exit. Secrets never go into code, tickets or chat. We use only AI-assisted tools whose terms prohibit training on your code or data, and a senior engineer reviews all code before we deliver it. When the work ends, we ask you to revoke our access and we delete your materials (Terms §12.1, §12.2).
After a handoff, someone senior has to own the codebase. The Senior Team Retainer is that team: $6,000 a month for 30 senior hours or $9,500 for 50, billed monthly in advance. Week one covers access, a codebase review and the first shipped improvement. After that we plan with you weekly, work US Eastern business hours in your repositories, and send a weekly written update of what shipped and the hours used. Cancel whenever you like, and the retainer ends with the month you’ve paid for. If the first week isn’t worth it, cancel in writing by the end of day seven and we refund the first month in full.
Or book a call and put the questions in this post to us.