Cybersecurity news

Jessica Doner

Back to the list

Token Jacking: Cybercriminals Could Be Stealing Your AI Resources

Unit 42,

Criminals are stealing AI resources by accessing API keys used by developers, causing significant financial losses.

AI and securityHacker groups and nation states

Overview

Cybercriminals are stealing API keysA secret string a program sends with an API request to identify itself and get access, known as tokensA short-lived digital pass that a server gives a logged-in user or app, that developers use to access popular AI platforms. This theft, called token jacking, allows attackers to use the stolen credentials to consume expensive AI processing power. The rapid adoption of AI and high costs for model access create a strong financial incentive for these criminals. Because AI services often allow unlimited scaling and complex billing, the resulting financial losses can be massive and occur quickly. The situation affects anyone who uses automated processes to interact with large language modelsAn AI system trained on huge amounts of text to generate, summarize, translate, or write code. Developers and organizations face direct financial risk when their access credentials are compromised.

Terms in this story

API keys
A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
Token
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
large language models
An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
AI Gateway
A central proxy service that manages, logs, and filters traffic between company apps and AI models. Organizations route employee chatbot and agent requests through an AI gateway to strip out customer secrets, enforce rate limits, and log prompts for security audits.
Agentic
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
Identity Security
The tools and policies that control who can sign in and which systems they may use. Cloud platforms rely on IAM rules to decide which employee or server account can read a storage bucket, spin up virtual machines, or view billing records.
Endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
XDR
A security platform that combines telemetry from laptops, cloud accounts, email, and networks to detect attacks across layers. While EDR watches only individual computers, XDR correlates an email phishing link, a laptop process launch, and a cloud login into one timeline for analysts. Security+ objective 4.5 lists the term
URL
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
Incident Response
The organized process a security team follows to contain, investigate, and recover from a cyberattack. When a company detects ransomware or a breach, its incident response team isolates affected servers, preserves forensic logs, removes the attacker's access, and restores clean backups. Security+ objective 4.8 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Unit 42 website. Cite the article, not this page.

Read the full article on Unit 42 (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related