Skip to content
Benderson Media
Markets
AAPL $241.52 -0.38%
BTC $97,412 +3.21%
MSFT $478.90 +0.67%
ETH $4,128 +1.89%
GOOGL $182.34 -0.52%
TSLA $312.67 +4.23%
META $621.45 +1.05%
S&P 500 $6,142.80 +0.31%
NASDAQ $20,847.50 +0.78%
NVDA $183.06 +2.14%
Ai

Claude Tokens Are Being Stolen and Sold Online

Claude Tokens Are Being Stolen and Sold Online
Image: TechCrunch | Source

Hackers are targeting Anthropic Claude subscribers right now. They steal your API tokens, sell them on dark web forums for as little as $5, and stick you with the bill. According to GitGuardian, over 12 million API keys were leaked on public GitHub repositories in 2024 alone. Claude tokens are the newest prize.

What Is Actually Happening

A Claude API token is the key to your Anthropic account. Every API call you make draws down credits you paid for. When someone steals your token, they run their own AI queries on your dime. You get the invoice. They get the inference.

This is not hypothetical. Security researchers at CloudSEK documented active dark web marketplaces in 2025 selling stolen AI API credentials across Anthropic, OpenAI, and Google accounts. According to CloudSEK, stolen AI API credentials sell for $2 to $50 per token depending on the credit balance attached to the account.

The attack methods are not sophisticated. Hackers scan public GitHub repositories for exposed environment files. They deploy malware that crawls developer machines looking for credential folders. They send phishing emails disguised as Anthropic billing alerts. Some use malicious browser extensions that pull session cookies directly from your browser while you use the Claude web interface.

According to Cybersecurity Ventures, AI-related credential theft grew 300% between 2024 and 2025. That number is still climbing. Every new Claude subscriber is a fresh target.

Why Most People Are Reading This Wrong

Here is what I keep seeing. People hear the word “hackers” and they assume it means someone else. Big enterprises. Fortune 500 companies. Not them.

That is exactly the thinking that gets you cleaned out.

Small developers and individual subscribers are the easiest marks. They rarely rotate API keys. They store credentials in plain text inside project folders. They push.env files to GitHub by accident. I did it myself years ago before I knew better.

The mindset gap shows up clearly here. The average person scrolls past this headline. The sharp operator reads it and immediately asks one question: where are my credentials stored right now, and what is my exposure if one gets lifted?

According to Truffle Security, 35% of developers have accidentally exposed at least one secret in a public repository. That is not a minority problem. That is roughly one in three people reading this article.

The financial exposure is real. A stolen Claude API token attached to a high-usage account can drain hundreds of dollars in compute credits before you notice anything wrong. Anthropic does not guarantee automatic refunds for stolen credential abuse. You are on the hook.

If you are building content or media workflows stacking multiple AI tools, including platforms like InVideo AI for video production, your credential hygiene directly affects your operating costs. Each integrated tool is another exposure point if you are not managing secrets properly.

What I Would Do Right Now

No theory. Here is the exact list.

Go to your Anthropic console and rotate your API key today. Not this week. Today. Takes two minutes. Your old key becomes worthless the moment you regenerate it.

Set up spending alerts and usage caps inside your Anthropic dashboard. If a stolen key starts running up charges, you want to know within the hour, not at the end of the billing cycle when the damage is done.

Search your public GitHub repositories right now. Use the search bar to look for “.env” in your commit history. GitGuardian offers a free scanner that crawls your repos and flags exposed secrets. If you find a live key in an old commit, rotate it immediately and scrub it from your history.

Stop storing API keys in plain text inside project folders. Use environment variables managed at the OS level or a dedicated secrets manager. Doppler and HashiCorp Vault both have free tiers for small teams.

Create a separate API key for each project. If one gets compromised, your blast radius is contained to that one project instead of your entire Anthropic account balance.

If you are managing multiple developer tools and trying to cut subscription costs, AppSumo runs lifetime deals on security and developer tools that can replace several monthly SaaS bills in one shot. Worth checking before you pay another annual renewal.

Finally, review your Anthropic usage logs monthly. Unexplained spikes in token consumption are the clearest early warning sign. An attacker using a freshly stolen key will often run it hard within the first 24 to 48 hours before the victim notices.

The Bottom Line

AI API credentials are now a commodity on dark web markets. Your Claude token has a dollar value to someone who wants inference without paying for it. Most developers are one accidental commit away from handing it over for free. Rotate your key today. Set your alerts. This is not a complicated problem, but it is an urgent one. The people who skip this step will spend real money subsidizing someone else’s AI usage.

Frequently Asked Questions

How do hackers steal Claude API tokens?

The most common methods are scanning public GitHub repositories for accidentally committed environment files, deploying malware that searches developer machines for credential storage, and phishing emails that mimic Anthropic billing notices. Browser extension hijacking is also a growing method for accounts accessed through the Claude web interface.

What happens when a Claude token is stolen?

The attacker uses your token to make API calls billed to your Anthropic account. Depending on how aggressively they run it, this can drain significant credits before you notice anything. Anthropic may or may not issue refunds depending on your account type and the specifics of the situation, so prevention is your best protection.

How can I tell if my Claude API token has been stolen?

Check your Anthropic console for unusual usage spikes, especially during hours when you are not actively working. According to security researchers, stolen AI tokens are typically used hard within 24 to 48 hours of theft before the victim catches on. Setting up spending alerts in your Anthropic dashboard gives you the fastest possible notification.

Should I use a different API key for each project?

Yes, and this is one of the most practical steps you can take. A single compromise exposes everything when you use one key everywhere. Separate keys limit the damage to one project. Anthropic allows multiple API keys under one account, and rotating one key does not affect your others.

Is Claude specifically targeted or is this an industry-wide problem?

It affects every AI API that uses token authentication, including OpenAI, Google Gemini, and Anthropic Claude. According to Truffle Security, AI provider API keys were among the fastest-growing categories of leaked credentials found in public code repositories as of 2025. Claude tokens are targeted because Anthropic’s subscriber base has grown significantly and many users are developers who store credentials in code.