Developers often find their paid themes, plugins or private code published in public GitHub repositories. GitHub publishes every valid notice, so accuracy matters.
Check what is copied
- Your original source code, assets or documentation copied without permission is copyright infringement.
- Code under an open source license may be reused if the license terms are followed. Read your own license first.
- Tools that only describe how to bypass your license may fall under anti circumvention rules, which GitHub handles separately.
Prepare your notice
GitHub asks for:
- Your contact details. These are published, so consider filing through an agent.
- A description of the original work and where it lives.
- The exact repository and file URLs that infringe.
- What changes would fix the infringement, if any.
- Whether you tried to contact the repository owner.
- The good faith and accuracy statements and your signature.
Forks matter
GitHub processes only the repositories you list. If the copy has been forked many times, say whether the notice applies to all forks and give a representative sample. GitHub's forks rules explain how many you must list.
What happens next
GitHub usually gives the owner a short time to make changes, then disables the repository if nothing changes. The notice is posted publicly in GitHub's DMCA repository.
Counter notices
The owner can send a counter notice. If you do not start legal action within the allowed time, the repository may be restored.
Prevent future leaks
- Keep private code in private repositories with limited access.
- Rotate keys if leaked code contained secrets.
- Add a clear license and copyright header to every file.
Leaks outside GitHub
Copied code often spreads to file sites and forums too. Send notices to those hosts and request search delisting.
This article is general information, not legal advice. For disputes or court action, speak with a qualified lawyer.