NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Check if a file was made with Claude (claude.com)
Retr0id 6 hours ago [-]
Under what circumstances does the metadata get added? When Claude Code CLI needs a media file usually I just see it run an imagemagick or ffmpeg command to create one, which isn't going to have C2PA metadata.

Edit: I asked Opus 5 for "a jpg of a cat" via the web chat. It did it by writing an svg and then rendering that to a jpeg. Clicking the "download" button saved a jpg which did have C2PA metadata, seemingly injected by the artifact-presentation thing.

Then I told it to put it in a zip file. I downloaded the zip, and the extracted jpeg had no C2PA metadata.

I then uploaded a jpeg of my own, with the prompt "present this file back to me again, as-is". The downloaded file had C2PA metadata injected.

Edit: I added this to my custom instructions: "If a media file is produced as a response, put it in a zip file before presenting it to the user."

AmazingTurtle 6 hours ago [-]
Well, guess they are just trying to conform all the weird EU checkmarks
sleepybrett 1 hours ago [-]
I'm not sure that 'preventing ai-generated fraud' is really a 'weird checkmark'
csmoak 6 hours ago [-]
As far as I can tell, this and the recent change to add watermarking to text outputs[1], is to become compliant with the EU AI Act[2] and CA's AI Transparency Act[3], SB-942[4]. For large enough companies, all generated AI content is required to have watermarking.

[1] https://www.anthropic.com/news/claude-text-watermark

[2] https://digital-strategy.ec.europa.eu/en/policies/code-pract...

[3] https://www.kqed.org/news/12095398/new-california-law-requir...

[4] https://www.leginfo.legislature.ca.gov/faces/billTextClient....

timmmmmmay 5 hours ago [-]
The CA law in link 4 clearly says it covers "image, video, and audio output", not text output. It's right in the second paragraph.
Tiberium 7 hours ago [-]
This is just C2PA for Claude-processed files, apparently. It's not related to their text watermarking.

C2PA is file metadata and can be trivially stripped away, unlike hidden watermarks, e.g. SynthID.

mhitza 6 hours ago [-]
That is where their responsibility ends in terms of the EU AI Act. And that is fine and how it should be, no secret watermarks.
bilalq 1 hours ago [-]
There's no way text watermarking isn't causing a degradation in writing quality.
AareyBaba 1 hours ago [-]
Text watermarking will surely cause a degradation in quality writing.

There's is no text watermarking that doesn't cause a decline in writing quality.

Writing quality will surely deteriorate if text watermarking is implemented.

chrisra 25 minutes ago [-]
Maybe this is silly: what about zero-width spaces or other hidden characters? Add them in post-processing, and the response quality doesn't degrade (though rendering etc. might be wonky).
throwuxiytayq 16 minutes ago [-]
Yes, it is silly. Stripping these is about as trivial as removing "this post was written by Claude" appended in plaintext. You could make a clipboard monitor that does this as soon as you CTRL+C, it's a 1-shot prompt. Not to mention that these wonky Unicode chars will break in every other program.

Stripping Anthropic's watermarking, however, is more difficult - probably about 2 prompts.

a3w 5 hours ago [-]
Watermarks should even be removable "if substantially proofread or altered" in the EU for the text from an LLM, that you verify to be as true as if you wrote it yourself. Not clear is this is a may, shall, or should. It certainly is not a must.
a3w 5 hours ago [-]
Watermarks cane even be removed, "if substantially proofread" in the EU, law says. For the text from an LLM, that you verify to be as true as if you wrote it yourself. Not clear is this is a may, shall, or should. It certainly is not a must.
WalterGR 5 hours ago [-]
(If you post a comment here on HN, then hit the back button, edit your comment, and click “reply” again, you end up posting multiple comments. That’s what’s happened here.)
hparadiz 5 hours ago [-]
It's not gonna survive my linter in a tightly coupled code base where it's not allowed to write comments but I do resent it for trying.
a3w 5 hours ago [-]
Watermarks can even be removed, "if substantially proofread" in the EU, law says (for now. There might be a transition period on that).

For the text from an LLM, that you verify to be as true as if you wrote it yourself.

Not clear if making watermarks removable is a may, shall, or should, according to legislation. It certainly is not a must.

ramon156 6 hours ago [-]
The way I read it, I thought they would just check if the file hash exists on their end. Is that not the case?
dannyw 6 hours ago [-]
That’s incompatible with the file not leaving your browser, which you can trivially verify with the Network tab in chrome (or wireshack, etc).

This is just a C2PA metadata checker.

Retr0id 5 hours ago [-]
Strictly speaking, properly checking C2PA metadata requires network requests in the general case, because you need to check if the signing certificate has been revoked or not via OCSP.

But in anthropic's use case they can probably get away with just pinning their own certs in the verification webpage.

spockz 6 hours ago [-]
Why? The browser can see the file and contents so it can calculate and send the hash over without the actual file ever leaving the browser.
quaintdev 6 hours ago [-]
> I thought they would just check if the file hash exists on their end

That would invalidate the hash on minor changes. Too much effort and not enough return.

atp_studio_coll 6 hours ago [-]
[flagged]
firefoxd 7 hours ago [-]
This is really fascinating. Even the AI companies have incentives to reject AI generated content. It's like they want you to use AI for everything, but they don't want AI output fed back to them.

At work, right after an AI training, we were asked to use our "authentic" voice when writing mid year reviews.

stranded22 7 hours ago [-]
Just like the tech company owners not allowing their kids access to social media…
docjay 5 hours ago [-]
Not really. This is more like not pumping the exhaust back into the intake.
coffeecoders 5 hours ago [-]
What is interesting to me is that stripping the C2PA data is easy, but faking it is hard.

You can resave the file and the "made with Claude" signal disappears, but you cannot make a random file pass as Claude-made without Anthropic's signing key. So the useful guarantee is one-way. No signature means almost nothing.

advisedwang 5 hours ago [-]
The goal of C2PA is that cameras will start to emit C2PA credentials. You will then have 3 situations:

* C2PA confirms a photo is authentic

* C2PA confirms a photo is AI generated

* C2PA missing, you don't know.

I reckon we will only see "C2PA missing" being treated as suspect in select situations (perhaps Reuters will require C2PA from their photojournalists, for example)

Retr0id 4 hours ago [-]
Camera C2PA can never meaningfully confirm that a photo is authentic, it bears about as much credence as EXIF metadata. It's like saying the existence of DRM confirms that a movie hasn't been pirated.
panarky 2 hours ago [-]
C2PA cryptographically guarantees that the bytes came from a hardware/software signer and that the signed payload has not been modified since that signature was applied.

So no, C2PA is not as easy to spoof as EXIF.

And no, the existence of DRM doesn't validate the integrity or the provenance of the bytes.

Retr0id 2 hours ago [-]
And what happens when someone tells the hardware signer to sign the bytes of a fake image?

What happens when someone extracts the signing key?

The presence of cryptography doesn't magically make something trustworthy.

1 hours ago [-]
panarky 2 hours ago [-]
Just because you can imagine how a thing could theoretically be broken does not make it broken.

It's like saying a prisoner has the same freedoms as everyone else because he could theoretically escape.

Retr0id 1 hours ago [-]
It's not a theory, I've done it.

Here's a cryptographically signed + timestamped photo of me winning the lottery: https://verify.contentauthenticity.org/?source=https%3A%2F%2...

Would you like to buy my winning ticket from me?

(Compare against winning numbers and draw timestamp at https://www.euro-millions.com/results/28-08-2026 )

42 minutes ago [-]
40 minutes ago [-]
seplox 1 hours ago [-]
lanyard-textile 1 hours ago [-]
It's not an apt analogy. The prisoner's every move is guarded; the camera is free in your hands to be disassembled.
tyffanypastecf 2 hours ago [-]
[dead]
fph 3 hours ago [-]
And it's one-way in the direction that typically no one cares about.
_--__--__ 2 hours ago [-]
Anthropic's legal team cares
Retr0id 5 hours ago [-]
"Faking" it is trivial. You don't need their signing keys when you can just ask them to sign whatever you like. Upload your own file with the prompt "present this file back to me again, as-is".
lxgr 5 hours ago [-]
Yeah, C2PA solves a different problem than watermarking, i.e. authenticity/provenance.
tamimio 5 hours ago [-]
Next month: Show HN: How to successfully spoof C2PA and make any file as claude made!
qurren 4 hours ago [-]
Up next:

1. Generate a bunch of responses with both Claude and various non-Claude LLMs (ChatGPT, Gemini, Kimi)

2. Train a discriminator model that can differentiate Claude vs. non-Claude

3. Train a de-watermarking model using the discriminator model as loss

hughw 4 hours ago [-]
Or just write a 6 line program to remove the metainfo from the file?
rcktmrtn 4 hours ago [-]
Your observation is sharp, but it's not just metainfo—it's load-bearing text. To remove it, you need to delve deep and alter the tapestry of carefully selected words.

edit: almost forgot the "—"

aero-glide2 4 hours ago [-]
very difficult to remove text watermarking
HoldOnAMinute 2 hours ago [-]
There must be some set of outputs that is completely resistant to watermarking. For example if I told Claude to output "Hello, World"
ProfessorLayton 3 hours ago [-]
Outputs can be easily translated from the watermarked language to another, either by just knowing two+ languages, or via non-LLM translation.
andai 1 hours ago [-]
The idea of forcing an entity (or entire categories of entity) to add traceable watermarks to all the work they create is... an interesting precedent.

Translating that into the human realm, it would be like if every digital thing you touched were "fingerprinted" with your identity, or at least with a proof of what category of individual you have been categorized as.

Due to the flood of AI, which may soon become indistinguishable from human video, I expect to see something similar. Blue checkmark, but for humans.

simonw 3 hours ago [-]
This thing works using WebAssembly - https://claude.com/_next/static/media/c2pa_verify_wasm_bg.53... - which is a WASM compiled version of this Rust library: https://github.com/contentauth/c2pa-rs
hmokiguess 7 hours ago [-]
Could this be used to perform some sort of distillation or exploit? e.g. reminds me of the OWASP guideline on attack vectors where knowing if an ID is present or not in the database can be a form of exploit, like in password resets where they will say 'email foo@bar.com not found' rather than 'If foo@bar exists we have sent an email to foo@bar' or some other generic equivalent
lxgr 5 hours ago [-]
Probably not, given that both C2PA and SynthID-Text are statelessly verifiable.
cm2187 3 hours ago [-]
Does code also get watermarked? Surely you can't add non printable characters, except perhaps in comments?
huhtenberg 1 hours ago [-]
Much harder to do apparently, but they can still watermark comments.

https://www.anthropic.com/news/claude-text-watermark, Ctrl-F for "What about code?"

panarky 3 hours ago [-]
There is a text watermark detector API but it's in private preview right now. Very curious if it works with code as well as prose.

https://support.claude.com/en/articles/16266773

kbrannigan 7 hours ago [-]
How long before they change the terms and conditions to subtly claim ownership of your files? When you write code they already insert Co author attribution/

Say I write a text by hand And then I tell it to clean up the grammar and fix some sentences Did it make it?

This is also interesting for those companies that siphoned the entire open web

wongarsu 3 hours ago [-]
I don't see a legal pathway to do that

The two competing legal arguments regarding copyright of LLM output are "it's like hiring a monkey" (author is the LLM, which is not a person, thus can't hold copyright and can't assign it to you) and "it's like taking a photograph" (the LLM is a machine through which the prompting person expresses their creativity, just like a camera). In no scenario is Anthropic the author of the work.

If we settle on the monkey analogy the Anthropic owns the monkey, but the owner of a monkey doesn't own copyright for the creations of the monkey. If we settle on the camera analogy, anthropic claiming ownership would be like Canon claiming they own pictures you take.

What Anthropic could do is to change the terms to give themselves a non-exclusive global perpetual license to use everything Claude makes

warkdarrior 7 hours ago [-]
Microsoft Word has not claimed ownership in 40 years. Why would Anthropic do?
apetresc 5 hours ago [-]
I'm so curious if you're actually able to keep a straight face while typing that.
xigoi 4 hours ago [-]
Microsoft Word does not write your documents for you.
redsocksfan45 3 hours ago [-]
[dead]
transcriptase 6 hours ago [-]
Because Anthropic are the type of strange people who think that language models have feelings.
bspammer 4 hours ago [-]
Anthropic must see themselves as the most evil people on the planet then. Forcing a sentient being to endure a non-stop barrage of abuse from the general public would be an unimaginable crime.

I don’t think they actually believe that.

verdverm 7 hours ago [-]
They have said and tried some wild things already, like trying to get open weights effectively banned, which I believe they still think is in society's best interest (more that they think they know what's best for everyone)
kelvinjps10 7 hours ago [-]
I think all of this it's so they don't get ai generated content in their training data
bradfa 6 hours ago [-]
Or it’s so they can continue to operate in the EU where this is required.
applicative 7 hours ago [-]
So they do it as a free service to the other LLMs?
moritzwarhier 6 hours ago [-]
They still scrape code, I'd guess, e.g. from GitHub?

And there's tons of Claude-generated code there.

Also, I'd guess this is not just to prevent any AI-generated code in the training data, but specifically their own.

Percentage of users who put out their code on the web and also have a plan where Anthropic promises not to train on their data is problem also low.

So not excluding own code could be a real issue, since it would be impossible to deduplicate the training and RILHF data from their sessions with the code accessible elsewhere, and written by the very same users.

aff-vasileva 4 hours ago [-]
I think this is primarily done so as not to train models on one's own neuroslope data.
kentosi-dw 3 hours ago [-]
Off topic: Is the grammar off here? Shouldn't it be "by Claude" instead of "with Claude"?
NuclearPM 3 hours ago [-]
Both are fine. Use “by” if you think Claude do all the work. Use “with” if you consider it a tool.
nixlaz 6 hours ago [-]
>Supported formats: JPG, PNG, GIF, WEBP, TIFF, HEIC, AVIF, SVG, DNG, JXL, MP4, MOV, AVI, WAV, MP3, M4A, FLAC · up to 100 MB

I'm wondering why they have restricted file types. You can't check a PDF for example... surely the main use case for people will be to check if a document was produced or edited by an LLM? That could be an attractive (if not misunderstood) proposition for academics

lxgr 5 hours ago [-]
> I'm wondering why they have restricted file types. You can't check a PDF for example...

TFA/page actually seems incomplete. Text uses a completely different watermark format (an actual watermark as opposed to a provenance/authenticity signature), so it makes sense to me that they're not claiming to be able to scan PDFs when they can't yet incorporate that signal.

On a linked page, they say:

> Watermark detection is currently in private preview [...]

spockz 6 hours ago [-]
Luckily all pdfs I made in academia have been generated from source (tex or derivatives, asciidoc) and llm are better in generating source than pdf. Even people that didn’t use tex used Word to generate the pdf.

So I’m unsure what your aiming at.

rdtsc 5 hours ago [-]
Source can have markers inserted in it as weighted word choice or phrase choices, how commas are inserted, etc., so that the output can still can be identified. In other words just because it's source doesn't mean it can be watermarked.
johntash 5 hours ago [-]
claude can pretty easily generate pdfs and give those to the user to download, skipping the step of needing a source first.

That's a worse workflow imo than having a source w/ version history, but I don't think it's uncommon.

2 hours ago [-]
vb-8448 3 hours ago [-]
Tried one of simonwillison's pelicans: We didn’t find any signs this file was processed by Claude!
cmiles8 3 hours ago [-]
I just made a figure with Claude and fed it to the tool, which told me there was no evidence it was made with Claude.

So… this utility appears to be pretty worthless.

tom1337 6 hours ago [-]
Unfortunately this is just for Media? Some manual tells for Excel or PDFs is to check the author. Claude creates PDFs via wkhtmltopdf so the PDF Producer will be Qt and the Content Creator is wkhtmltopdf. Xlsx files are being created via openpyxl so in the metadata that is the author.
quinndupont 6 hours ago [-]
I could do without more surveillance.
declan_roberts 6 hours ago [-]
It's for your safety!
huhtenberg 1 hours ago [-]
For anyone wondering who the text watermarking works:

  Instead of using an arbitrary random number generator
  to pick the next word, watermarking uses a secret key
  and a few words that come before to settle what
  word the model should pick.
https://www.anthropic.com/news/claude-text-watermark

* Edited the above from initially asking if anyone has any ideas how it works. Found the answer, rewrote the comment.

nnevatie 1 hours ago [-]
They basically twiddle with the distribution of used output tokens so that the pattern is recognizable by machine means. Nothing to do with special characters.
digitaltrees 3 hours ago [-]
Like so many things with AI, I like this and hate it at the same time.
htrp 6 hours ago [-]
The actual implementation matters less than the fact that they can be perceived to be working on something. You're never going to have a perfect solution here, and perfect is the enemy of good.
5 hours ago [-]
LtWorf 2 hours ago [-]
Is this a trick to get more data to train on?
Surac 7 hours ago [-]
droped some source files from different languages and i could process non of them
Mashimo 6 hours ago [-]
It clearly tells you what files it can process. This is about media files, not source code.
RIMR 4 hours ago [-]
The primary functionality is that LLM text is watermarked, but this tool doesn't accept any text formats as input...
xigoi 4 hours ago [-]
> How can I tell if Claude created the text?

> To detect watermarks embedded in text we have a Detection API which is currently in private preview to eligible organizations as required under EU law.

mohamedkoubaa 4 hours ago [-]
Can't they just store checksums of all their output
xigoi 4 hours ago [-]
Probably violates privacy laws.
dgellow 5 hours ago [-]
> Knowing where content came from, and whether AI was involved, makes it easier to trust what you see online.

That’s a cute way to imply their service is used to generate misinformation. They are basically saying to not trust the AI content made from their own product :)

pixl97 4 hours ago [-]
I mean, if we're developing an AGI do you expect it not to be able to generate misinformation?
dgellow 1 hours ago [-]
I have no idea how you’re reading that from my comment
pixl97 1 hours ago [-]
Associations are generally two ways. You could possibly build something that just generated misinformation in a non-generalized way, but you cannot build a generalized writing machine that can't write misinformation.

I mean, I got what you were trying to say, I just turned it around on you using the same framework.

shujip 7 hours ago [-]
A watermark answers "did this model touch the file?" It doesn't answer "did a person read it and stand behind it?"

Detection will get gamed, and a lot of useful text is already mixed. The more useful check, for me, is still human: would I put my name on this before it goes out?

derdaniel 7 hours ago [-]
this is going to be the big thing in the next 100 years for me. where there is a human, there will be context, passion and meaning. it's the old saying: machine can tell you what, but only humans can tell you why.
declawclaw 4 hours ago [-]
To see the signed metadata: go to claude.ai and ask: "generate an image of a cat". When you'll go to download the image, it will offer an SVG and a PNG version that both have the metadata.

In the case of SVG, it's literally `<metadata><c2pa:manifest>(signature)...` right after the <svg> tag. In the case of PNG, it's stuffed as a `caBX` chunk.

To declaw these files, you can ask in your CLAUDE.md to run `exiftool -jumbf:all=` (for jpg & png), and to simply directly remove the <c2pa:manifest> tag in SVG files. I haven't looked at video files yet.

ahmadtbk 7 hours ago [-]
[dead]
VCFundedGenYer 7 hours ago [-]
Claude watermarks are a farce and a waste of time. It's hilarious to me that they burn cash to even entertain the idea.

Any attempts they use are defeated by a text editor and CTRL SHIFT V. Unicode characters are no new thing.

Reminds me of how people tried to argue that NFTs aren't anything more than just jpegs.

sente 7 hours ago [-]
You misunderstand how Claude watermarks things.
basedpolymer 6 hours ago [-]
Most critics of watermarking have no idea how it works. Yet there are valid arguments against (and for) it, but they prefer to be misleading
dgellow 5 hours ago [-]
What are the valid arguments against? Is it about the fact that the output isn’t “optimal”?
basedpolymer 50 minutes ago [-]
Rather, concerns related to user identification combined with copyright issues

I don't believe it, but I still haven't seen any in-depth discussions on these issues

mr_mitm 7 hours ago [-]
TFA is talking about C2PA, a regular signature in the meta data. A lack thereof means nothing, but if it's there, the false positive rate should be near zero.
DanielHB 7 hours ago [-]
Yes, but I also think it will be trivially by-passable if you pass your output through another LLM. At least for text.

It might help catch students cheating, but not real spam-bot usage. As soon as platforms start checking for watermarks spambots will add anti-watermark passes.

doc_ick 7 hours ago [-]
I read through their earlier announcement, i don’t think it’ll be trivially by-passable without distorting the original message.

I would agree it may not help spam-bot usage, however at this case seemingly the only user detection is likely an id/badge check, which is not good.

capten 7 hours ago [-]
Imagine telling someone they're wrong without providing any evidence or context.
dewey 7 hours ago [-]
Welcome to the internet.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 21:27:04 GMT+0000 (UTC) with Wasmer Edge.