Skip to content

Software Strategy

Software Project Rescue: How to Take Over a Codebase When Your Developer Leaves

Your developer has left mid-build. Here is the order to regain control: secure accounts, check ownership, audit the code, then decide to rescue or rebuild.

Illustration: a code repository window with a padlock and key and an owner tag, sketched on the left where the handover was lost and built solid on the right once control is back.

If your developer has left, gone silent or stalled partway through a build, don't start by fixing the code. First, secure access to everything the software depends on and work out what you own and where it lives. Then get an independent code audit. Only after that should you decide whether to rescue the existing work, refactor it or rebuild. The order matters because you can't safely change, move or price software you don't control. How much work is needed depends on what the audit finds, so an honest quote comes after the audit, not before it.

One vendor, Mind IT Systems, says much the same: in its view, the goal for the first 72 hours is to secure and take stock, not to fix.

This guide is for owners and operations leads who can't read the code themselves. It works in any country. Where a point depends on local law or a particular platform, we say so.

Start with control, not code: secure and list what you depend on

When a project stalls, it's tempting to let someone dive straight in and tidy up. In our view, that's a mistake. Hold off on editing, deploying or giving anyone new write access until you hold the logins and have a backup you control. A well-meant change made before then can break a working system, or lock you out of one.

You can work through the checklist below without reading a line of code. For each item, write down where it lives, whose name or email the account is in, who holds the admin login, who pays for it and who is responsible for it.

  • Code repository: where the source code is stored, such as GitHub, and who is an administrator.
  • Hosting and cloud: the servers or cloud accounts the software runs on, including any staging or test environments.
  • Domain and DNS: the registrar account for your domain name, when it renews, and who controls the DNS settings.
  • Database and backups: where your data is stored, whether backups exist, and whether anyone has ever restored one.
  • Authentication: any login provider the app uses, and the admin accounts inside the app itself.
  • Payments: the payment provider account and whose login created it.
  • Email: the service that sends system emails, and any business mailboxes the developer set up.
  • Third-party API keys: maps, SMS, AI, analytics or other services the software calls.
  • Design files and documents: designs, specifications, proposals and anything that records what was promised.

The UK National Cyber Security Centre's vulnerability management guidance makes a similar point. One of its principles is understanding which systems and software you have, who is responsible for what, and which vulnerabilities are present.

Take copies first. Wherever you are, before you change any permissions, copy everything you can reach: every branch of the repository, a database export, configuration files and any settings held in hosting dashboards. Keep the copies somewhere you control.

Here's a hypothetical example. Imagine a freelancer built a booking system for a small clinic and has stopped replying. The inventory shows the repository sits in an account the clinic owns, but the domain is registered in the freelancer's personal account and the payment provider's keys were created under their login. Nothing is broken yet, but if the domain isn't renewed, the booking site goes offline. That finding goes to the top of the list well before anyone opens the code.

Taking back the repository: what GitHub allows

This section covers GitHub only, because that's the platform whose documentation we checked. GitLab, Bitbucket, domain registrars and cloud providers have their own recovery processes, so check their documentation or ask their support teams.

GitHub's documentation on transferring a repository makes four points that matter in a takeover:

  • Only someone with administrator access to a repository can transfer it.
  • After the transfer, the original owner is added as a collaborator on the repository.
  • Any webhooks, services, secrets or deploy keys stay attached to the repository after the transfer.
  • Commit history, including who contributed what, is preserved.

In practice, three follow-up steps matter, and the first two belong to securing the project, before any audit begins. Once you've confirmed the repository and its history arrived intact and you hold your own copies, review the previous developer's collaborator access and remove it. Replace every credential they set up: API keys, deploy keys, stored secrets and webhook endpoints. A transfer moves ownership, but it doesn't change who knows the passwords. And keep the commit history, because whoever audits the code will find it useful.

If the developer is unreachable and holds the admin rights

Because a transfer needs administrator access, you can't move the repository yourself if the departed developer is the only admin. Escalate step by step: check your contract for handover or delivery obligations, write to the developer formally asking for a transfer, and ask the platform's own support team what options they have. If ownership or the contract is disputed, take legal advice. Meanwhile, if you can still read the repository, clone a full copy.

Who owns the code? Check before you commit to a plan

UK government guidance on how copyright protects your work includes software among the original written works copyright protects. It says that in the UK this protection is automatic, with no application or fee. It also notes that work can be protected in other countries through international agreements such as the Berne Convention.

That page doesn't say who owns software you paid a contractor to write. So don't assume that paying for the work made it yours.

Mind IT Systems claims that in most jurisdictions, intellectual property a contractor creates belongs to the contractor by default unless a written agreement says otherwise.

Treat that as one vendor's view, not legal guidance. Ownership of commissioned work varies by country, so work through these practical checks:

  • Find the contract, proposal and any terms you accepted. Look for a signed, written assignment of intellectual property, or a clause that transfers ownership to you.
  • Check whether the transfer of ownership depends on something, such as final payment or the project being completed.
  • Ask whoever audits the code to list third-party and open-source components and their licences. You may own your code without owning everything it relies on.
  • Take legal advice in the country whose law governs the contract before you commit to a rescue or rebuild. This article isn't legal advice.

What an independent code audit should cover, and what it should give you

Why the audit comes before any quote

Mind IT Systems calls the code review the most important due-diligence step you have and says it typically takes three days to two weeks. It also argues that any company offering to take over and finish a project without first reviewing what exists is either very inexperienced or not being straight with you.

Byron Johnson, writing on Your Vibe Shift, calls hiring someone to "just finish it" without an audit the biggest mistake founders make.

Both sell this kind of work, so read their views as opinion, not benchmarks. We agree with the principle, though. Without an audit, a quote to finish someone else's software is a guess, and you're the one taking the risk.

Give the audit a defined scope

OWASP describes the Top 10 as a standard awareness document for developers and web application security. The OWASP Top 10:2025 includes A01 Broken Access Control, A02 Security Misconfiguration and A03 Software Supply Chain Failures.

In our view, those three entries are especially relevant to inherited software, but the list is a starting point rather than a complete audit method. In a takeover, the audit should cover at least these areas:

  • Access control: leftover accounts for the former developer in the app, admin panels, hosting and database, and whether users can reach only what they should.
  • Configuration: debug modes left on, default passwords, publicly readable storage, and settings that exist only in a hosting dashboard.
  • Dependencies: outdated libraries, packages no one maintains any more, and components from sources you can't vouch for.
  • Maintainability: whether the project builds from written instructions, whether there are tests, how it's structured, and how closely it matches what was promised.

Red flags in an inherited codebase

Johnson's list of red flags includes API keys hardcoded into the repository and a database schema with no migrations.

From our side, we'd also treat these as warning signs worth recording:

  • No automated tests at all.
  • No documentation, not even a basic description of what the project is and how to run it.
  • No build or deployment instructions.
  • Code that only seems to run on the old developer's own machine.
  • Reliance on obscure or abandoned tools that few other developers would recognise.

Prioritising what the audit finds

The NCSC suggests starting in a small or focused way, for example by looking only at vulnerabilities in critical systems, and then expanding the process. It advises applying updates as soon as possible, ideally automatically. It treats a decision not to update as a senior-level risk decision, to be weighed within the organisation's wider approach to risk.

For a small business, we read that as follows. Start with whatever touches money, customer data and logins. If a component is deliberately left out of date, the owner should sign off on that knowingly, not leave it as the developer's call.

What the audit should give you

Ask for a written report in plain language, in four parts:

  1. What works: features that run correctly and can be kept.
  2. What is broken: bugs, security problems and fragile areas, ranked by risk.
  3. What is missing: gaps between what was promised in the contract or specification and what was actually built.
  4. What it would take to finish: a recommended route (rescue, refactor or rebuild) and the main pieces of work involved.

Johnson's view is that an audit should end in a written recommendation with a fixed price for reaching a minimum viable product, rather than open-ended hourly billing.

That's one view. Our own approach is to quote after the audit, with a scope based on what it found, so that you're comparing a defined piece of work rather than a guess. If you'd like us to carry out that audit, see how we approach custom software projects.

Rescue, refactor or rebuild: how to decide

The audit should make this decision much clearer. The guide below is our own, not a formal standard, and real projects often mix approaches: you might keep the database and rebuild the interface.

RouteUsually makes sense whenWatch for
Rescue and finishThe stack is mainstream and maintainable, the structure is sound, and most of the work can be reused.Missing features that turn out to be larger than they first looked.
RefactorThe software mostly works but is tangled, or carries security problems that can be repaired in stages.Refactoring that never ends. Agree on clear stages and decide when each one is done.
RebuildIt depends on abandoned or obscure tools, the structure is unsound, or little of it can be reused.Losing data or business rules buried in the old system. Map them before switching it off.

If a rebuild is on the table, it's worth stepping back to ask whether bespoke software is still the right answer. Our article on when a business should build custom software sets out the questions to ask.

Several things drive how big the work is: how much of the existing work can be reused, how much is missing compared with what was promised, how much security and dependency work is needed, the state of the documentation, and how many outside services have to be reconnected. That's why we don't put a figure on a rescue before the audit. Once it's done, ask for a quote based on its findings.

Whichever route you choose, write down what the software should do before anyone starts finishing it. The original brief is often out of date or was never written. Our guide on how to write a software requirements document walks through it.

A realistic order of work

This is the sequence we suggest. It's our own advice, not a tested standard, and how long each step takes depends on what you find.

  1. Secure and list. Get control of accounts, record who holds what and take copies. As soon as you hold your own copies and backups, remove the former developer's access and replace the credentials they hold. Change nothing in the code yet.
  2. Audit. An independent review with a defined scope and a plain-language report.
  3. Stabilise. Fix critical security problems, test that backups restore, and make builds and deploys reliable.
  4. Finish and deploy. Build what's missing against the restated requirements, in stages you can check.
  5. Document. How to run, build, deploy and recover the system, so the next handover isn't a rescue.

How Chinvat Bridge approaches takeovers

We take on rescue and takeover work as a tailored project that starts with an audit. It isn't part of any monthly plan. We work on mainstream technologies so that other developers can maintain the result, we document as we go, and repositories and accounts sit in the client's name from the start. That's our approach, not a promise about any particular outcome. You can read more on our page on custom software development for small businesses.

After a rescue, software still needs looking after. Our article on what software maintenance and support should include covers what to arrange once the system is stable.

Preventing the next one

Whether you rescue, refactor or rebuild, build these into the next contract:

  • Your accounts from day one: the repository, hosting, domain, database, payment and email accounts are created in your business's name, and developers are given access.
  • Version control: all code goes into a repository you can see, not a developer's laptop.
  • Documentation as a deliverable: written into the contract, with build and deployment instructions included.
  • Milestone-based payments: each payment is tied to working software you can check, not to time spent.
  • A written handover and IP clause: spells out what you receive if the relationship ends, and confirms ownership in writing. Take legal advice on the wording where you are.

If your project has stalled and you're not sure what you're holding, tell us about it and we'll start with an audit. The aim of the audit is to show you what works, what doesn't and what it would take to finish, before you decide on anything more. Talk to us about taking over your codebase.

Guidance cited here was last checked on 1 December 2026.

Build a better way forward.

Tell us what’s slowing your business down, where you’re trying to grow, or what you’d like to build.