You find a service that looks almost identical to the AI app your team built. Does that mean someone copied your code? As I looked into it, I learned that two apps looking alike and a program being copied without permission are two different things.

At an AI hackathon, we might build an app in just a few hours or days.

A team turns an idea into something real, gets the interface working, and demonstrates it at the end. If development continues afterward, the project might eventually become a web service anyone can access.

As I've started building apps and web services with AI, I've had more opportunities to work with GitHub and source code.

And that raised another question for me.

If someone copied our program without permission, how would we even find out?

With product photos or written content, you can sometimes search the internet for an identical image or passage. Software is different: the code sits behind the interface, and some parts are visible while others are not.

So I looked into GitHub search, ways to compare code, the difference between frontend and backend code, and what to record if something suspicious turns up.

A similar-looking app isn't necessarily copied code

Imagine two apps that display inventory in a list.

Both show product names, quantities, and prices, along with a search button and a graph.

If their interfaces and behavior look similar, you might wonder, "Did someone copy our app?"

But two apps performing the same functions don't necessarily use the same source code.

Apps solving similar problems may naturally have similar layouts and behaviors. Popular libraries and templates can even lead to some code being identical.

Under Japanese copyright law, original expression in a computer program may be protected, but the programming language, rules, and algorithms used in a program are not themselves protected by the program's copyright.

So matching features or similar algorithms alone are not enough to conclude that copyright infringement occurred.

On the other hand, a substantial match in distinctive, creatively expressed code could give you a reason to investigate further.

Can I start by searching public code on GitHub?

GitHub offers GitHub Code Search, which lets people search code in public repositories.

You can search for a word or phrase in code and files. GitHub's official documentation describes exact-phrase searches using quotation marks, filters for programming languages and file paths, and regular-expression searches.

For example, imagine that your own code contains an unusual error message. This is a fictional example, but you could try searching for:

"Inventory recovery check completed: review required"

To narrow the search to a specific programming language, you might try:

"Inventory recovery check completed" language:typescript

The choice of search text matters.

Searching for a short and common snippet like return true would probably return lots of results. An unusual function name or a longer, distinctive phrase is more useful as a starting point.

But don't paste private source code, API keys, or confidential information into a public search just to investigate a possible copy. Start with material you're comfortable exposing.

If I can't find it on GitHub, does that mean nobody copied it?

Unfortunately, no.

GitHub Code Search only covers code that is searchable and accessible to you, such as public repositories or repositories you have permission to view.

You can't freely search someone else's private repository.

GitHub's documentation also explains that Code Search generally searches a repository's default branch. Code that exists only on another branch may not appear in your results.

The code could be hosted somewhere else, kept private, or modified enough that your search doesn't match it.

Finding a match is a clue. Finding no match is not proof that unauthorized copying never happened.

That's one way software searches differ from searching the internet for an identical product photo.

What should I compare when I find similar code?

Suppose you find a public repository whose code resembles your team's project. The next step is to compare it carefully.

GitHub lets you inspect file histories and differences between commits. You can also compare two sets of code with a text diff tool.

Some potentially useful clues include:

  • How closely distinctive blocks of logic and function structures match
  • Whether unusual comments, error messages, or variable names are shared
  • Whether unlikely typos or quirky implementation choices appear in both
  • Whether the matching portions come from standard templates or third-party libraries
  • What each project's published history, licenses, and development context show

Even a matching unusual name or comment doesn't, by itself, establish that the copy was unauthorized.

Both developers might have used the same sample code or AI-generated output. Or the reuse might have been permitted under a valid license.

Finding similarities and deciding whether those similarities amount to legal infringement are separate tasks.

Does an earlier Git commit prove I created the code first?

Git history is useful for organizing a development timeline.

It makes it easier to see who changed what and how a feature evolved over time.

But commit dates and author metadata can sometimes be changed. A Git history alone does not automatically establish who first created a work or who owns its copyright.

When comparing timelines, it may be more useful to consider multiple records: Git history, saved design documents, screenshots from development, collaboration notes, and publication dates.

GitHub also lets you link to a permalink for a file at a specific commit, so you can refer to a particular version rather than a page that changes later.

Because online material can be updated during an investigation, I'd want to record both the URL and the contents I saw at the time.

How much frontend code can you see in a web app?

Now for a slightly more technical question.

A web app generally has a frontend, which runs in a user's browser, and a backend, which runs on a server.

HTML, JavaScript, CSS, images, and other resources delivered to the browser may be visible using developer tools.

Chrome DevTools has a Sources feature for inspecting JavaScript files and other resources loaded by a page. The experience varies depending on whether JavaScript has been minified or obfuscated and whether source maps are available.

So even if a GitHub repository is private, that doesn't mean all code actually sent to a user's browser stays secret.

However, code visible in the browser isn't necessarily identical to the developer's original source. The build process may change names, file structures, and other details.

And looking at what's displayed in a browser won't reveal every part of the program.

Can you examine backend code from outside?

This is the part I found most difficult.

Imagine an app where a user clicks a button and the server queries a database, calls an AI model, or calculates a fee.

From the browser, you can see the interaction and the response.

But the response normally doesn't reveal the actual source code running inside the server.

Two services can return the same result without sharing backend code.

Conversely, even if backend code was copied, you may not be able to verify it from outside when that code isn't public.

Ordinary interactions with public websites and publicly accessible material have limits. Don't try to access private admin panels or servers without authorization, or retrieve data you don't have permission to obtain, just to investigate a suspicion.

Sometimes the right conclusion is simply that the hidden code cannot be examined from the outside.

A copied-looking interface might raise other rights issues

Even without access to the source code, you may notice what looks like unauthorized use of illustrations, text, logos, or images in an interface.

Those questions may involve copyright in images or written expression, trademark rights in service names or logos, or other legal issues—not necessarily copying of the underlying program.

But an interface layout or feature resembling another app doesn't automatically mean copyright infringement either.

It's more useful to separate a possible copy of the code from a possible reuse of the visible creative content.

That distinction connects to what I've previously explored about copyright and trademarks on Hackoo.

What should I save if I discover something suspicious?

Before concluding, "Someone copied our app!", I'd want to organize the facts I can actually verify.

What to record Details worth preserving
Where you found it Repository or webpage URLs, and publicly displayed operator information
What you observed Date and time, screenshots, and relevant excerpts of public code
Code version Commit ID, permalinks to relevant files, and diffs if useful
Your own project records Development history, original files, specifications, publication dates
Similarities and differences Specific lines or expressions, shared libraries, and remaining uncertainties

You can preserve publicly available material within appropriate limits and, where useful, manage file hashes to check whether your saved copy has changed.

But taking screenshots or calculating a hash doesn't automatically guarantee admissibility as legal evidence or establish infringement.

It's also important not to collect or publish third parties' personal or confidential information unnecessarily.

By the way, I also wrote about how I kept evidence when my product images and descriptions were copied on online marketplaces in Japan, on a separate site, Syrenka Guardian Notes: Collecting Evidence of Copied Product Listings: A Practical Guide from Japan. That is my experience with marketplace listings in Japan, which is different from investigating copied program code as this article does. Please read it as one reference point rather than applying it directly to AI apps.

If AI says two codebases are "90% similar," should I believe it?

There are several ways to compare code: diff tools, similarity measurements, and AI-assisted analysis.

An AI model might help organize similarities and differences as a starting point.

But a high similarity score is not the same thing as a finding of copyright infringement.

A large amount of boilerplate or open-source library code might match. And an AI system could misinterpret what a shared code segment means.

Uploading private source code to an external AI service for comparison may also raise confidentiality and service-terms concerns.

Ultimately, a legal assessment may require examining which expression is protectable, who holds the rights, whether the use was authorized, which law applies, and other facts.

What if I find what looks like an unauthorized copy on GitHub?

GitHub has a DMCA procedure for reporting alleged copyright infringement.

But that doesn't mean you should file a complaint as soon as you see a similar repository.

GitHub's official policy asks complainants to investigate their ownership of the copyrighted material and why they believe the other party's use is unauthorized and infringing. The possibility of open-source licenses or other lawful uses matters too.

If the suspicious material appears on a web service outside GitHub, GitHub's complaint process won't automatically apply. The hosting provider, platform terms, applicable law, and available contact channels may all be relevant.

If a backend is private and the evidence is insufficient, rather than trying to bypass access restrictions, it may make sense to consult a qualified professional about lawful ways to investigate.

Can we do anything starting at the hackathon?

We may not be able to prevent every instance of copying, but we can make it easier to understand and document our own work later.

During a hackathon, we can keep a simple record of where code came from, who handled which tasks, and which external libraries were used.

If we continue developing, we can organize Git history, changes to designs and specifications, and agreements between collaborators.

Before publishing or commercializing, we can revisit public versus private repositories, licenses, code delivered to browsers, and confidential information that needs protection.

And if we discover a similar service, we can search, compare, and record what we find one step at a time.

The important thing is not to turn suspicion into a conclusion too quickly, but to build up facts that can actually be checked.

You can't judge code only by what you can see

With product photos or descriptions in e-commerce, it may be possible to find identical material through an internet search.

AI-app code is a little different.

You may be able to search code published on GitHub. You may also be able to inspect JavaScript delivered to a browser.

But private repositories and backend code often aren't visible from outside.

And even when the interface looks almost identical, that doesn't necessarily mean the same code was used.

"Can I find it?" and "Can I conclude it was copied without permission?" are two different questions.

I want to keep building apps with AI. That's why I also want to understand not just the rules for using other people's code, but how to check and document the things we create ourselves.


References

This article summarizes general information based on publicly available materials as of October 2026. It is not legal advice about any specific copyright infringement allegation or evidence-gathering activity. Before investigating or filing a complaint, check the relevant platform terms, applicable law, and the limits of your authorization.