Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My GitHub fork of anthropics/claude-code just got taken down with a DMCA notice lol

It did not have a copy of the leaked code...

Anthropic thinking 1) they can unring this bell, and 2) removing forks from people who have contributed (well, what little you can contribute to their repo), is ridiculous.

---

DMCA: https://github.com/github/dmca/blob/master/2026/03/2026-03-3...

GitHub's note at the top says: "Note: Because the reported network that contained the allegedly infringing content was larger than one hundred (100) repositories, and the submitter alleged that all or most of the forks were infringing to the same extent as the parent repository, GitHub processed the takedown notice against the entire network of 8.1K repositories, inclusive of the parent repository."

 help



I had this happen as well. I opened a support ticket and shortly afterwards, many or all of the non-infringing forks were restored.

Here's a codeberg fork I did: https://codeberg.org/wklm/claude-code

wow, it's also not like their code was actually good (though this apply to most enterprise software). To hide a client behind closed source (it's also typescript, so even more baffling) is laughable behavior.

I'm also wondering if it's even legally valid?

They constantly love to talk about Claude Code being "100%" being vibe coded...and the US legal system is leaning towards that not being copyrightable.

It could still be a trade secret, but that doesn't fall under a DMCA take down.


You're confused, AI can't itself hold copyright, but the human who triggered the AI to write the code holds the copyright instead.

IIUC, a person can only claim copyright if they have significantly transformed the output. Unaltered LLM output is not copyrightable per US court decisions.

The whole thing is a legal mess. How do you know the LLM did not reproduce existing code? There is an ongoing legal battle in German between GEMA and OpenAI because ChatGPT reproduced parts of existing song lyrics. A court in Munich has found that this violates German copyright law.


I think you're misunderstanding copyright and ownership.

A copyright over code means that ONLY you can use that code, and nobody else; otherwise, you can sue them. For example, if you are an arist, you want to protect your IP this way.

Yes, AI generated code is not copyrightable but so is most code in general. It is very hard to truly get a copyright for a piece of code. But just because you don't have copyright to something doesn't mean it's not your property.

For example, you can buy several movies on DVD and those DVDs will still be your property even though you don't have copyright and if someone does steal those DVDs, it will be considered theft of your property. Similarly, just because the code is AI-generated/not copyrightable, doesn't mean others can just steal it.

Think about it - so many codebases are not legally protected as copyrighted material but are absolutely protected by IP laws and enforced by the companies that own them.


I think you are fundamentally misunderstanding the concepts of copyright and licensing.

> but so is most code in general.

That's definitely not true. All the code I write has my copyright, unless I waive that right to some other entity. If there was no copyright, there would no licensing. How else could you license your code, if you were not the copyright holder?

Have you never seen "Copyright (c) <Authors> 2025" in source code files?

The very fact that your code has your copyright is also the reason for things like CLAs.

> For example, you can buy several movies on DVD and those DVDs will still be your property even though you don't have copyright

That's because artistic works are distributed under a license. Just like software. Licenses have terms under which circumstances a work can be used, modified and (re)distributed. In the case of DVDs, you are generally not allowed to make your own copies and then sell them. In the case of software, that's why you have the various software licenses (proprietory or open-source).

> Similarly, just because the code is AI-generated/not copyrightable, doesn't mean others can just steal it.

You can't set licensing terms for something that is not copyrightable.


(Not a lawyer.)

Huh? Normal property law is plainly not applicable to a non-rival good like information (unlike for instance a physical DVD: if someone takes a DVD from me, I don’t have it anymore). “Intellectual property” is, but it is not so much a legal regime as confusing shorthand for a number of distinct ones:

- Trademark law, which applies to markings on copies rather than copies themselves;

- Trade secret law, which stops applying when the information escapes into the wild through the secret-holder’s own actions;

- Patent law, which definitionally only applies to public knowledge as an incentive to not keep it secret instead;

- Publicity rights, which only apply to depictions or discussions of natural persons;

- Moral rights, which are mostly about being recognized as the author and even in their strongest incarnations do not restrict unmodified copies;

- Database right, which isn’t applicable as we’re not talking about a compendium of things, and anyway does not exist in the US and most other places outside the EU;

- Copyright, which you’ve conceded is not applicable here.

There’s no “intellectual property” distinct from these things, and none of them are relevant.


No the human cannot hold the copyright also. They can own the property rights to the code and protect it. It's not like the rule is "AI cannot copyright stuff but humans can" but rather code is rarely copyrighted and in its case, ownership is much more important.

If your code was generated by you and you store it in your system and have property rights over it, you can enforce legal actions even without holding a copyright over the code.

In general, it is kind of weird to want to copyright code. How do you patent a for-loop for example


You can definitely copyright code. I think the English term "copyright" is a bit misleading. In German it is "Urheberrecht" (= author's right), which I think is much clearer.

If you author something, you have the sole copyright. In fact, in Germany you can't even waive your copyright away. However, you can grant licenses for the use of your work.

The difference between copyright and licenses is crucial! By licensing your work, you do not waive your copyright. You still remain the owner. If you publish your code under the GPL and you are the sole author, you can always relicense your code or issue commercial licenses under different terms.

> In general, it is kind of weird to want to copyright code. How do you patent a for-loop for example

There is a fundamental difference between copyright and patents! Patents require a novel technical contribution and they must be granted by a patent office.


“Loop structure for operations in memory”

https://patents.google.com/patent/US9583163B2/en

> How do you patent a for-loop for example



This is even worse. My Claude Code instance can theoretically write the same code as your instance for a similar prompt. Why should one of us be able to have the copyright?

Yea this is the thing that makes no sense to me. Any frontier model can unmiminize minified JS pretty decently. Obviously not everything comes through, comments and such, but I always assumed the reason it wasn't open source was to prevent an endless shitstorm of AI slop PR's, not because they were trying to protect secret sauce.

their lawyers for the DoD thing are being billed either way, they're putting them to use

Anthropic really needs to embrace it




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: