claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Billing: API key compromise report ignored for 100+ days — support delay destroyed evidence, ticket closed unread

Open cogitoworks opened this issue 1 month ago • 0 comments

This is a report of a critical support failure involving an API key incident, filed here because Anthropic has no public-facing issue tracker. After 100 days, three support agents, and detailed technical evidence pointing to a known Anthropic billing bug, my ticket was closed unread.

Summary

My API key was used without my knowledge between July 1-17, 2026. Anthropic's own investigation revealed the requests came from claude-cli (Claude Code CLI) — a client I never used with this key. The key was reserved exclusively for my applications (T.A.L.K. and Scheherazade), which use the TypeScript SDK and hardcode claude-opus-4-6. The July requests used claude-fable-5, a model I never configured.

This matches a well-documented bug where Claude Code silently consumes API keys from the environment instead of the Max subscription (#58083, #44669, #62338, #86723) — particularly during the July 1-17 Fable 5 billing chaos.

Despite presenting this evidence, my support ticket was closed unread. A $24.94 refund was denied.

Complete Timeline

July 17, 2026 — Discovered unauthorized usage on my API key (ending in jQAA). Disabled the key immediately. Reported to Anthropic support and requested detailed logs (IP, User-Agent, request patterns). Data was within the 30-day retention window.

July 27, 2026 — Sent follow-up asking about 185 unexplained fable-5 requests (July 1-16) and their relationship to a billing-correction email.

August 2, 2026 — Received automated message: "Please do not start a new conversation as this may prolong the amount of time it takes to assist you." I complied.

September 1, 2026 (Day 45) — First substantive response from agent "Luo":

  • 30-day retention window expired due to queue delay; logs no longer available
  • Refund of $24.94 denied citing "current usage policies"
  • 185 fable-5 requests not addressed
  • Only generic "API Key Best Practices" advice provided

September 1, 2026 — I replied identifying three issues: data loss caused by Anthropic's delay, unexplained requests, unreasonable refund denial. Requested escalation.

September 2, 2026 — Luo: "I've escalated your request to our internal team."

September 16 - September 26 — No follow-up from escalation (3 weeks of silence). Opened new ticket (Conversation ID: 215475960611792). Also no response.

October 13, 2026 (Day 88) — New agent "Raul" responded via email with actual investigation results:

  • 480 requests on the key: 198 claude-fable-5, 282 claude-haiku-4-5
  • All from Japan, all from claude-cli client
  • 10 sessions, each 3-14 minutes, interleaved fable-5 and haiku-4-5
  • Preceding 30 days showed 325 opus-4-6 requests in the same interleaved pattern
  • Refund denied: "usage made with a valid key is billed as consumed under the Commercial Terms"

October 16, 2026 — I sent a detailed rebuttal with 7 points of evidence (see Evidence section below). Key request: compare the client field of the preceding Opus-4-6 requests against the July Fable-5 requests to prove they came from different sources.

October 25, 2026 (Day 100) — Ticket closed unread. My October 16 reply shows "unread, 1 week" and the ticket status shows "conversation ended." The rebuttal was never read. The client field comparison was never performed.

Evidence: Why the July Requests Were Not My Application Usage

1. Wrong client. My applications (T.A.L.K., Scheherazade) use the @anthropic-ai/sdk TypeScript SDK deployed on Cloudflare Workers, which reports as anthropic-typescript. The July requests show claude-cli. These are different clients.

2. Wrong model. T.A.L.K. hardcodes claude-opus-4-6 as its model. I never configured claude-fable-5 for any application. The model switch was not something I did.

3. Known bug: Claude Code consumes API keys instead of Max subscription. This is extensively documented:

  • #58083 — Claude Code picks up ANTHROPIC_API_KEY from .env ($52 consumed)
  • #44669 — Silent routing to API key despite active Max subscription ($13.99/day)
  • #62338 — Auth silently defaults to API; Claude Code falsely confirmed Max twice when asked
  • #86723 — $301.44 in July 1-17, 2026 — exact same period, same symptom, same model

4. Fable 5 billing was broken during this exact period.

  • July 1: Fable 5 restored after export control suspension — my disputed requests begin this exact day
  • July 7: Fable 5 removed from Max, moved to usage-credits-only
  • July 15-20: Multiple billing bug reports (#77819, #79337, #79412)
  • Anthropic displayed an official banner: "Fable 5 is still included with your Max plan. If you see a prompt to set up usage credits for it, restart Claude Code."

5. IP addresses — the decisive evidence — were destroyed by Anthropic's delay. I reported on July 17 (within retention). Anthropic took 45 days to respond while telling me not to open new tickets. The 30-day retention expired during the wait. IPs would have conclusively identified the source.

6. No motive. I have a Max subscription. Claude Code usage is included. I would not route it through a paid API key. I separately purchased API usage credits specifically for application use.

7. The preceding 30 days of logs would prove this — but Anthropic closed the ticket before checking. If the Opus-4-6 requests show anthropic-typescript (my SDK) while the July requests show claude-cli, the source difference is proven from Anthropic's own data. I requested this comparison on October 16. The ticket was closed unread before it was performed.

Support Failure Pattern

This case follows the pattern reported in #95639, #60923, #58402, and others:

  • AI agents deflect with templates
  • "Please do not start a new conversation" — compliance results in data loss
  • Escalation promises lead to weeks of silence
  • Substantive technical evidence is ignored
  • Tickets are closed unread without resolution
  • Customers are forced to file public GitHub issues

What I Need

  1. The preceding 30 days of logs (same CSV format) — specifically the client field for the Opus-4-6 requests
  2. Acknowledgment that the investigation data loss was caused by Anthropic's response delay
  3. Refund of $24.94
  4. An explanation of why my ticket was closed unread after I submitted detailed technical evidence

Support References

  • Original thread: agent "Luo"
  • Email thread: agent "Raul"
  • New ticket Conversation ID: 215475960611792
  • Organization ID: 140ea958-53d6-4824-b0ce-066d52d3cd78

Environment

  • Platform: Anthropic API + Claude Max subscription
  • Account: API consumer + Max plan (same account)
  • Region: Japan
  • Applications: T.A.L.K., Scheherazade (Cloudflare Workers, TypeScript SDK, hardcoded claude-opus-4-6)

What Should Happen

  1. Security incident reports should preserve relevant log data when filed, regardless of support queue delays.
  2. When a customer provides detailed technical evidence contradicting a billing decision, the evidence should be reviewed — not the ticket closed unread.
  3. Known billing bugs (Claude Code consuming API keys instead of Max subscription) should be investigated as a possible cause before defaulting to "customer's responsibility."

cogitoworks avatar Oct 25 '26 10:10 cogitoworks