If an ex-employee did have his source code from your application, don't start by posting an indictment and deleting his accesses without keeping his records. You have to figure out what code exists, who created it, under what legal relationship, what copies came out and what damage or subsequent use can be shown.
Reserve repositories, branches, commits, accesses, tokens and distributed versions. A local copy can be an authorized development and does not prove illicit appropriation. The sequence should distinguish creation, allowed access, copies, subsequent use and title and confidentiality contracts.
When a former employee keeps a copy of the repository, the first question is not just whether they took files, but what history and rights that code has. Commits and accesses allow us to reconstruct technical authorship and dates, while contracts, orders and licenses determine which rights correspond to each party. The similar appearance of another application does not in itself demonstrate copying of the source code.
The comparison should consider structure, fragments, dependencies, and open components that both applications can legitimately share. You must also review which credentials or secrets were exposed and rotate them without deleting the history that proves the development. You do not enter personal accounts to search for the repository.
Reserve repositories, searches, contracts and deliverables before revoking accesses at dispute. The lawyer delimits intellectual property and measures. The expert document document seniority, accesses and technical differences. Duriva can help to figure out what asset exists and what use can be checked, without claiming that every copy was prohibited and that every visual similarity proves appropriation. Protecting rights starts with an explanation of the code's origin with precision.
Having a repository does not automatically respond to intellectual property or the authority of each component. Technical and legal analysis should move forward together.
Reserve Repository and its History
Maintains a full copy of repositories, branches, tags, change history, comments, integration requests, and access logs. Includes hosting provider information and available exports, not just a folder with the latest version.
Calculates integrity traces of the preserved files and documents date, person responsible and origin. Keep originals separate from analysis copies. Don't rewrite the repository's history to clean up names or commits: that history can be central to proving age and authorship.
It also preserves build servers, task boards, contracts, invoices, communications, and published versions. The code does not live in isolation; its context explains who commissioned, developed, reviewed and delivered each part.
Determine what access you had and what happened
Check high and low users, tokens, display keys, downloads, clones, invitations and permission changes. If there are still records, identify dates, connection addresses and associated devices with their limitations.
Don't equate a download with a theft without context. A developer may need local copies to work; The point is to analyze authorization, purpose, moment and subsequent use. A personal account linked to the repository may continue to receive access if it is not properly removed.
Contain risk by revoking access that no longer applies, rotating exposed secrets, and protecting productive environments. Document the actions before and after. Do not delete records when closing the door.
Intellectual property and third party components
Gather employment and service contracts, confidentiality clauses, assignments, orders, payoffs and deliverables. Your legal advisor should evaluate title as appropriate and with jurisdiction. The payment of bills is important but does not replace complete contractual analysis.
It distinguishes own code, open source libraries, commercial components and contributions from third parties. Review licenses and attributions. Not everything in the repository belongs exclusively to the company, nor does every subsequent similarity imply illegal copying.
If a competitive application appears, it retains versions, dates, distributed archives and public evidence. A survey can compare structure, fragments, names, comments, history and other elements to explain coincidences and differences without promising a default conclusion.
Avoid errors that weaken the claim
Do not access the former employee's personal accounts or request other people's passwords. Do not install tools to monitor it outside of the systems you legally manage. Do not withhold gas on personal equipment without a clear legal basis.
Avoid asking the current team to fabricate a creation date or modify metadata to reinforce seniority. Evidence must demonstrate facts, not suit the convenience of litigation.
Consult specialists soon if there is a risk of diffusion or competition. Urgent measures may depend on preserving evidence before notifying the counterparty.
Future prevention
Maintain institutional repositories, individual users, least privileges, strong authentication, and independent history backup. Review access when the employment relationship changes and document deliverables and licenses.
Control is not about preventing developers from working, but about knowing what assets exist, who has access, and how their evolution is recorded.
The repository provides history; ownership requires legal context
Extracting source code or using repository by former employee needs to preserve commitments, branches, accesses, tokens and published versions. A local copy can be a part of the work and doesn't itself prove illicit appropriation. The company needs to revoke secrets and preserve searches and the lawyer needs contracts, assignments, licenses and open components. The expert can compare versions and seniority without entering personal accounts or claiming that visual similarity equals code copies.
FAQ
former employee took the source code from my app: What's first preserved and what's this guide for?
Full repository reserve, history, accesses, tokens, contracts, deliverables and distributed versions. He then analyzes what copies came out, if authorized and what subsequent use can be shown.
What elements are rights and seniority reviewed with?
With commits, platform dates, labor and service contracts, assignments, invoices, task boards and third-party licenses. File footprints help with comparison, they do not decide ownership on their own.
Do commits with my email prove that I own them?
They help document activity and seniority, but ownership depends on contracts, employment relationship, creation and applicable regulations.
Can I sue just because she held up a copy?
Viability depends on authorization, obligations, use and damage. A lawyer must assess the facts; technically it is convenient to preserve accesses and versions.
What do I do if she posted my code online?
Keep addresses, dates, files, and public content unaltered. Use reporting and legal advice mechanisms, and protect secrets or exposed credentials.
How do I compare his app with mine?
They preserve versions and analyse relevant technical elements. The visual similarity itself doesn't prove copies of the source code.
Do you drink your repository user?
Contain unauthorized access, but first preserve logs and relevant configuration. Document the revocation so as not to confuse security with destruction of evidence.
To close
Pay for history, contracts and accesses before charging. The source code is protected with a demonstrable sequence of creation, title and control, but with generic statements about a folder.
At Duriva we can help you document repositories, analyze access and compare versions with an expert method and confidentiality.
Jocsan Laguna
Director of Duriva and president of the ACCCF

