Skip to content
Access control Write-up Intermediate

Hacking Anthropic For Free Unlimited Claude

A free-tier claude.ai account could create a code session and bridge it to obtain a worker JWT, which was then accepted by the message batches endpoint with no plan gating, allowing unlimited use of all public models without billing. A separate flaw let uploaded files be copied into the outputs directory so they could be published as artifacts, bypassing the intended promotion block.

exploit.cat

Published on exploit.cat

Recently there has been a lot of talk about LLM’s hacking all kinds of things. It’s talked about so much it’s stopped being interesting to hear about.

Ciarán, on exploit.cat

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely missing capability and plan checks on the session bridge and message batches endpoints, plus a path-based promotion block that could be bypassed by copying files between directories.

Impact

A free-tier account could use all public models through the batches endpoint without being billed, and uploaded content could be published as an artifact, though the browser primitive alone was caged and did not cross the renderer sandbox.

What the attacker needed

A free claude.ai account; account has sent at least one message; JWT refreshed every 8 hours

The fix

The batches issue was quietly fixed in September when the endpoint began rejecting worker tokens, but the author reports related issues remained.

How it was found

  1. Create a code session with a signed-in claude.ai account that has sent at least one message.
  2. Bridge the session to receive a worker JWT.
  3. Send the JWT to the message batches endpoint with the desired model and prompt.
  4. Poll the batch id until processing ends, then fetch the results URL.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The site hands out a temporary login token (a JWT) for one feature, but other parts of the API trusted that token without checking whether the account was allowed to use them. That meant a free account could run expensive AI model requests without paying, and could also publish files that were meant to be blocked.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.