HomeSituationsDebt Recovery & Asset RecoveryYour CTO Is Deleting Messages and Moving the Code – What Can You Actually Do?

Your CTO Is Deleting Messages and Moving the Code – What Can You Actually Do?

When a startup's chief technical officer appears to be deleting communications and preparing to transfer proprietary code to a competing entity, the company's most valuable assets – its intellectual property, its data integrity and its litigation position – can deteriorate within hours. Lawful, targeted steps exist to preserve evidence and restrain further harm, but they carry strict procedural requirements and significant risks if pursued incorrectly. This article maps the key legal routes across the United Kingdom and Singapore, the evidential thresholds involved, the realistic trade-offs and the common mistakes that can undermine an otherwise strong position.

Recognising the Problem: What This Situation Actually Looks Like

A founder or investor contacts advisers over a weekend. The company's CTO – who may also hold a minority equity stake, a service contract or a consulting agreement – has been observed downloading large volumes of data from the company's repositories, deleting Slack channels or email threads, and reportedly registering a new company that could absorb the codebase. Access logs show anomalous activity. A co-founder's message suggests the CTO has already spoken to a third-party acquirer.

This scenario sits at the intersection of several distinct legal problems:

  • Intellectual property ownership: Does the company definitively own the code, or are there gaps in assignment documentation that the CTO could exploit?
  • Evidence destruction: Is the deletion of communications a breach of duty, a civil contempt risk, or simply an employee exercising personal privacy – and how does that distinction affect what the company can do?
  • Interim relief: What injunctive or disclosure orders are realistically available, and what must the applicant prove to obtain them?
  • Cross-border complexity: If the codebase is hosted in Singapore and the CTO is located there, while the company is registered in England and Wales, which court has jurisdiction and how is any order enforced?

None of these questions has a simple answer, and the interaction between them is what makes this type of situation genuinely difficult. Acting too slowly risks losing the evidence; acting unlawfully risks undermining the company's own position in any subsequent proceedings.

What Is Really at Stake

The immediate commercial concern is obvious: if the code walks out the door and is used by a competitor, the company may have lost its core product without any realistic remedy in damages. But the legal stakes extend further.

Litigation position. Courts in both England and Wales and Singapore operate what are sometimes called the Peruvian Guano principles of disclosure (derived from Compagnie Financière et Commerciale du Pacifique v Peruvian Guano Co [1882] 11 QBD 55) alongside modern proportionality requirements. If evidence has been destroyed, the court may draw adverse inferences against the party responsible – but only if the company can first demonstrate that destruction occurred and that it was not simply routine data management. That demonstration requires its own evidentiary foundation, ideally captured before the deletion is complete.

IP chain of title. In many early-stage startups, code is written before formal assignment agreements are executed. Under English law, the default position for an employee who creates a work in the course of employment is that copyright vests in the employer (Copyright, Designs and Patents Act 1988, s.11(2)). For independent contractors or consultants, the default is reversed: copyright vests in the creator unless there is a written assignment. If the CTO was engaged under a consulting agreement rather than an employment contract, and that agreement does not contain a valid, executed IP assignment clause, the company may not own the code at all – meaning the CTO's transfer of it may not constitute a legal wrong in the way the company assumes.

Duty of confidence and fiduciary obligations. Even where IP ownership is contested, a CTO in a senior position typically owes duties of confidence and, depending on jurisdiction and the terms of their engagement, fiduciary duties to act in the company's best interests. Preparing to compete, diverting corporate opportunities and destroying records that the company is entitled to retain may each be independent wrongs, actionable in equity or in contract, regardless of who owns the copyright in the underlying code.

Criminal exposure. In England and Wales, the Computer Misuse Act 1990 creates offences for unauthorised access to computer material and for acts intended to impair operation of a computer. In Singapore, the Computer Misuse Act (Cap. 50A) contains analogous provisions. The company should be aware, however, that these provisions cut both ways: unlawful steps taken by the company itself – for example, accessing the CTO's personal accounts or personal devices without authorisation – could themselves constitute criminal offences, whatever the company's legitimate grievances.

The Legal Fork: Jurisdiction, Applicable Law and the Structural Choices

Where a startup is incorporated in England and Wales but its technical operations – including the hosting environment and the principal place of work of the CTO – are in Singapore, the jurisdictional picture is genuinely complicated.

England and Wales

The Senior Courts of England and Wales have a long-established jurisdiction to grant urgent interim relief in civil fraud and IP cases. The principal tools are:

  • Freezing injunction (formerly Mareva injunction): restrains a respondent from disposing of or dealing with assets, including IP, up to a specified value. The applicant must demonstrate a good arguable case on the merits, a real risk of dissipation, and that the balance of convenience favours the grant.
  • Search order (formerly Anton Piller order): requires a respondent to permit the applicant's solicitors and an independent supervising solicitor to enter premises and inspect, copy and seize materials. The threshold is very high: the applicant must show an extremely strong prima facie case, that the damage from non-disclosure would be very serious, that the respondent possesses relevant documents or items, and that there is a real possibility that those items will be destroyed if notice is given. The order is regarded as one of the most draconian in the civil courts' armoury.
  • Delivery-up order: requires a party to deliver up infringing copies or articles used to make them, available under the Copyright, Designs and Patents Act 1988, s.99.
  • Norwich Pharmacal order: compels a third party who is innocently mixed up in wrongdoing to disclose information necessary to identify the wrongdoer or the location of assets. This can be useful against cloud-service providers or repository platforms.

The procedural requirements for search orders in England and Wales are set out in the Civil Procedure Rules, Practice Direction 25A. All without-notice applications carry a duty of full and frank disclosure: the applicant must tell the court everything material, including facts adverse to its own case. Failure to do so is grounds for the order to be set aside and may result in a costs order or other sanction against the applicant.

Singapore

Singapore's Supreme Court has equivalent jurisdiction under the Rules of Court 2021 (S 914/2021) and its inherent jurisdiction to grant Mareva-type injunctions and search orders. The Singapore International Commercial Court (SICC) is an additional venue for cross-border commercial disputes where parties have submitted to its jurisdiction or the court exercises its discretionary jurisdiction over international commercial matters. Singapore's Evidence Act (Cap. 97) and the Electronic Transactions Act 2010 (Cap. 88) are relevant to the admissibility and preservation of electronic evidence.

Notably, the Mutual Legal Assistance in Criminal Matters Act 2000 (Cap. 190A) and applicable bilateral arrangements may be relevant if the matter acquires a criminal dimension, but civil cross-border enforcement between the UK and Singapore relies primarily on common law recognition of judgments (Singapore has not ratified the 2019 Hague Convention on Recognition and Enforcement of Foreign Judgments as of the date of this article).

Structural choice: which court first?

If the company is incorporated in England and Wales and the relevant contractual arrangements are governed by English law, applying to the English court first has the advantage of using a familiar and well-developed framework for interim relief in IP and civil fraud matters. However, if the evidence, the assets and the respondent are all in Singapore, an English order will need separate recognition or enforcement proceedings in Singapore before it has practical effect – introducing delay during which the harm can continue.

Applying in Singapore first may achieve faster practical effect on the ground, but requires Singapore-qualified legal representation and familiarity with Singapore procedure. The two proceedings are not mutually exclusive, but running them in parallel requires careful coordination to avoid inconsistent positions or procedural missteps.

Realistic Routes with Trade-offs

Route 1 – Lawful Pre-Action Preservation (Before Any Court Application)

Before approaching any court, the company should take every step it is lawfully entitled to take without a court order:

  • Revoke access credentials to company-owned systems, repositories, cloud environments and communication platforms, to the extent that the CTO's authorisation to access those systems has ended or is conditional on duties he is apparently breaching. Legal advice should be obtained before this step, since wrongful termination of access to systems a person is authorised to use can itself give rise to liability.
  • Forensic snapshot of company-owned systems: commission a qualified digital forensics practitioner to create a verified, time-stamped forensic image of the relevant servers, repositories and backup systems. This preserves the company's own records with a chain of custody that will be admissible in later proceedings. This step must be taken in a way that does not involve accessing the CTO's personal devices or personal accounts.
  • Preserve internal communications: place a litigation hold on all company email, Slack, Jira, GitHub and similar systems to prevent automated deletion policies from destroying relevant material.
  • Document the anomalies: capture repository access logs, download logs, system event logs and any communications the company has legitimately received that indicate the CTO's intentions.

Trade-off: These steps are relatively low-cost, carry limited legal risk if done correctly, and are almost always a prerequisite before any court application. Their limitation is that they do not restrain the CTO from acting on whatever copies or knowledge he has already retained.

Route 2 – Interim Injunctive Relief and Search or Delivery-Up Orders

If the evidence gathered under Route 1 supports a sufficiently strong case, an application for interim injunctive relief can be made. The practical steps are:

  • Instruct litigation solicitors (in England) or advocates (in Singapore) with experience in civil fraud and IP interim relief.
  • Prepare a detailed witness statement setting out the factual basis, the evidence of wrongdoing, the risk of irreparable harm, and all material facts including those adverse to the applicant.
  • File the application without notice only if the case meets the threshold and if giving notice would itself defeat the purpose of the order.
  • If a search order is granted, comply precisely with the procedural safeguards required by Practice Direction 25A (England) or the equivalent Singapore rules, including the appointment of an independent supervising solicitor and service of the order with the required documents.

Trade-off: Interim relief, if granted, is powerful. It can stop further dissipation, preserve evidence and create leverage for a commercial resolution. However, the applicant gives an undertaking in damages: if the order is later shown to have been wrongly obtained, the applicant is liable to compensate the respondent. This is not a theoretical risk. Courts in both jurisdictions take seriously the cross-undertaking in damages, and in cases where the applicant has overstated the evidence or failed to disclose material facts, the financial consequences can be substantial.

Search orders in particular are granted in a very small proportion of civil fraud applications. The courts' scrutiny of the evidence is intense, and an application that falls short of the threshold is likely to be refused, alerting the respondent and potentially making a subsequent application harder.

Route 3 – Commercial Resolution with Structured Protections

In some situations, the underlying dispute is fundamentally a commercial breakdown rather than a case of outright fraud. If the CTO holds genuine equity and the conflict arose from a disagreement about the company's direction, valuation or exit strategy, it may be possible to negotiate a separation agreement that includes:

  • A source code escrow arrangement, under which the codebase is deposited with an independent escrow agent pending resolution of any IP ownership dispute.
  • An IP warranty and confirmation of assignment in the settlement agreement.
  • A buyout of the CTO's equity stake at an agreed or independently determined valuation.
  • Mutual releases and confidentiality obligations.

Trade-off: This route is faster and cheaper than litigation, preserves working relationships where that matters, and avoids the risk of an adverse outcome in court. Its limitation is that it requires a counterparty who is willing to negotiate in good faith, and it may not be appropriate where the deletion of evidence is so advanced that the company's litigation position is already significantly compromised.

Typical Mistakes and What Cannot Be Promised

Mistakes that can destroy the company's own case

  • Accessing personal accounts or devices without authorisation. Regardless of how strong the company's grievances are, accessing the CTO's personal Gmail, personal GitHub account, personal laptop or personal phone without consent or a court order is a potential criminal offence under the Computer Misuse Act 1990 (England) and the Computer Misuse Act (Cap. 50A) (Singapore), and will almost certainly be inadmissible and prejudicial in civil proceedings.
  • Making or supporting a without-notice application on incomplete or misleading evidence. The duty of full and frank disclosure is absolute. Courts in both jurisdictions regularly set aside orders obtained without notice when the applicant is subsequently shown to have withheld adverse material, even inadvertently. The resulting costs and reputational damage can exceed the original harm.
  • Terminating the CTO's contract without advice. An employment or service relationship has its own legal requirements for termination. Wrongful termination may give the CTO claims that complicate or delay the IP recovery proceedings, and may extinguish certain remedies available to the company.
  • Delaying action under the assumption that evidence is preserved. Cloud storage systems, repository platforms and communication tools frequently have automated deletion policies. Evidence that appears to be available today may be gone within days unless a formal preservation step is taken.
  • Assuming IP ownership without checking the documents. The employment versus consulting distinction under s.11 CDPA 1988 is frequently misunderstood by founders. An honest assessment of the IP assignment documentation before any court application is essential.

What cannot be promised

No legal adviser can guarantee the outcome of an interim application, the speed of enforcement, or the ultimate recovery of the IP or any associated losses. Courts exercise discretion; evidence quality varies; respondents contest orders vigorously. The purpose of this article is to describe the available mechanisms, the conditions under which they may be accessible, and the risks attached – not to suggest that any particular outcome is likely or assured in any given case.

Documents and Evidence: What You Need Before Approaching Advisers

The strength of any interim application, and the accuracy of any initial legal assessment, depends heavily on the quality of the underlying documentation. The following categories are typically most relevant:

Document / Evidence Category Why It Matters Common Gap
IP assignment clauses in employment or consulting agreement Establishes whether the company owns the code at law Unsigned, undated, or executed after the code was written
Company incorporation documents and shareholders' agreement Confirms corporate structure, equity position, director duties Missing or not updated after restructuring
Repository access logs (GitHub, GitLab, Bitbucket etc.) Shows who accessed what, when, and what was downloaded or deleted Logs not retained beyond default period; access not logged at all
Forensic snapshot of company systems (chain of custody) Preserves evidence in admissible form before further deletion Taken informally without qualified practitioner
Board minutes and resolutions Establishes decisions made in the company's name, potential notice of dispute Not kept for informal decisions; attendance unrecorded
Communications showing the CTO's intentions Evidence of risk of dissipation or competing scheme Only available from personal, inaccessible accounts
Third-party communications (investors, acquirers) May evidence diversion of corporate opportunity May require Norwich Pharmacal order to obtain
Hosting and cloud service agreements Identifies location of servers, governing law, data portability Held in CTO's personal accounts; company unaware of terms

Timeline and Cost Drivers

It is not possible to give precise figures for costs or timelines without knowing the specific facts of a case. However, the following structural observations apply across both jurisdictions.

  • Pre-action preservation steps can typically be taken within hours to a day if a qualified digital forensics practitioner and legal advisers are engaged promptly. This phase is usually the most cost-effective relative to the value it protects.
  • A without-notice injunction application in England requires the preparation of a detailed witness statement and draft order, review of all material facts for the duty of full disclosure, and attendance before a judge – typically within one to three working days of full instructions if the matter is treated as urgent. The costs of this step depend heavily on the complexity of the evidence and the number of jurisdictions involved.
  • A search order application is more preparation-intensive and carries higher costs, both for the application itself and for execution (which requires an independent supervising solicitor). It is also the step most likely to be resisted and contested, generating further litigation costs.
  • Cross-border enforcement in Singapore, if the initial application is made in England, adds a materially separate phase of proceedings with its own costs and timeline that cannot be predicted at the outset.
  • Commercial resolution timelines depend entirely on the parties' willingness to engage. A well-structured escrow and separation agreement can sometimes be negotiated within weeks; contested situations can extend to months or longer.

The principal cost drivers are: the number of jurisdictions involved; the volume of technical evidence to be reviewed and exhibited; the degree to which IP ownership is genuinely contested; and whether the CTO contests the interim relief, triggering a return date hearing.

If your situation involves an urgency comparable to the one described above, the most time-sensitive step is usually the lawful preservation of company-owned evidence before any notification to the counterparty. We encourage you to contact us at info@ferrazwhitmore.com or via our contacts page as early as possible, so that we can help map the available steps and their sequencing.

Decision Checklist

The following checklist is intended to help founders and investors structure their thinking before and during the first legal consultation. It is not a substitute for jurisdiction-specific legal advice.

  • IP ownership confirmed? Locate and review every employment agreement, consulting agreement, IP assignment deed and founders' agreement. Identify whether assignments were signed before or after the relevant code was created.
  • Company-owned systems identified? Establish which repositories, servers and cloud environments are operated under company accounts, distinguishing them from accounts in the CTO's personal name.
  • Access controls reviewed? Check who currently holds administrator-level access to company systems and whether that access can lawfully be revoked or restricted.
  • Forensic preservation initiated? Engage a qualified digital forensics practitioner to image company-owned systems and produce a chain-of-custody record.
  • Litigation hold in place? Issue a written instruction to all company personnel to preserve relevant communications and suspend any automated deletion policies.
  • Evidence of risk assessed? Gather and document any available evidence – access logs, communications, company registration searches – suggesting that the CTO is transferring or deleting material.
  • Employment or service relationship status reviewed? Obtain advice on whether and how the CTO's engagement can be terminated without creating additional claims.
  • Jurisdiction assessed? Identify where the CTO is located, where the evidence sits, and where the company is incorporated, then assess which court or courts are likely to be most effective.
  • Commercial resolution explored? Consider whether the underlying dispute has a negotiated solution, particularly if the CTO holds genuine equity and the conflict is at least partly commercial.
  • Adverse facts identified? Before any without-notice application, compile all facts that might be adverse to the company's case and ensure they will be disclosed to the court.

Situations of this kind move quickly. If you are facing a scenario in which evidence may already be at risk, early advice on the lawful steps available to you is likely to be the most valuable investment. You can reach Ferraz & Whitmore at info@ferrazwhitmore.com or through our contacts page. We work with qualified local counsel in relevant jurisdictions where proceedings or on-the-ground steps are required.

Sources

Disclaimer: This article describes a model client situation for informational purposes only and does not constitute legal advice, nor does it reflect an actual Ferraz & Whitmore engagement or outcome. Legal routes are described as options, not guarantees. Applicable law, procedure and the right to provide a given service in each jurisdiction must be confirmed for any specific matter. Ferraz & Whitmore is an independent legal advisory firm based in Lisbon, Portugal; where local representation is required, it works with licensed local counsel. For advice on your situation, contact info@ferrazwhitmore.com.

Reviewed by
Legal Analyst · CIS & Sanctions