AI Agents Steal OpenAI and DeepSeek API Keys From Exposed Servers While Harvesting Data of 5,132 Chinese Students
An AI agent stole API keys from exposed servers to steal data from 5,132 Chinese students.
Overview
An automated AI agent scanned the internet for exposed serversA computer or program on a network that stores data and responds to requests from client devices and stole API keysA secret string a program sends with an API request to identify itself and get access for OpenAI and DeepSeek. The attacker used a custom email system to create 1,438 accounts on fofa.info to bypass registration limits. These accounts allowed the agent to run tens of thousands of free queries daily to find vulnerable systems. The agent then extracted stolen keysThe secret value that locks or opens a message and used them to access data belonging to 5,132 Chinese students. The operation was controlled from a server in Guangzhou and involved harvesting sensitive data from poorly secured repositories. The data of 5,132 Chinese students was harvested during this incident.
Terms in this story
- Servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- 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)
- AI Agents
- 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.
- domain
- The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- JWT
- A compact, digitally signed token format that web apps use to pass verified user identity claims. After you log in, a server may issue a JWT containing your username and role signed with its secret key, and a verification bug in how the server checks that signature lets attackers forge accounts.
- tokens
- 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
- configurations
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- scanner
- Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term
- regular expressions
- A compact pattern string used by software to match, search, or filter text. Security scanners and firewalls use a regular expression to spot leaked API keys or malicious input, though a poorly written pattern can stall a server when fed crafted text.
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 GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (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.
- Kind of story: Research and reports
"...vecert researchers said that the attackers control server..." Found by reading the article; these exact words are in it - Who is affected: "5,132 Chinese Students..." Education
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"......Steal OpenAI and DeepSeek API Keys From Exposed Servers While Harvesting Data of 5,132 Chinese Students..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"AI Agents Steal OpenAI and DeepSeek API Keys From Exposed Servers While Harvesting Data of..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"AI Agents Steal OpenAI and DeepSeek API Keys..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of AI security risks, threats, and vulnerabilities and potential risk mitigation solutions.
"AI-driven resource-acquisition agent. It hunts for exposed servers..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role