Amazon Uncovers AI Agent Campaign Targeting LiteLLM, Dify, and Other Apps for API Keys
Amazon found AI agents stealing keys from exposed apps to run models that searched for more keys, though the team cannot verify the results.
Overview
Attackers used AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own to find weak spots in internet-exposedReachable directly from the public internet without first logging in to a private internal network AI apps like LiteLLM, One APIA structured interface that lets one software program request data or actions from another program, and Dify to steal AI provider keysThe secret value that locks or opens a message. Amazon's threat intelligenceCollected evidence about attacker groups, their tools, and the servers or domains they use team captured records from these agents using decoy serversA computer or program on a network that stores data and responds to requests from client devices that posed as popular LLM services. The agents used the stolen keys to run AI models that helped them search for more keys. The records show a playbookA step-by-step checklist a security team follows when handling a specific type of attack, such as ransomware of known entry points, including default administrator credentialsThe login details, such as a username and password or key, that prove who an account belongs to and unfinished installs. Amazon assessed with moderate confidence that the operators were separate China-linked groups based on Simplified Chinese promptsThe text instruction or question a user or program sends to an artificial intelligence model and time zone settings. In a separate case, Cloudflare saw ARTEX gain access to a compromised API tokenA short-lived digital pass that a server gives a logged-in user or app that had no IP restrictions or rate limiting.
Terms in this story
- 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.
- internet-exposed
- Reachable directly from the public internet without first logging in to a private internal network. Because automated scanners probe every public IP address within minutes, an unpatched flaw on an internet-facing VPN or web server is far riskier than one on an internal machine.
- 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)
- threat intelligence
- Collected evidence about attacker groups, their tools, and the servers or domains they use. Security teams share threat intelligence such as known malicious IP addresses and file hashes so other organizations can block the same attack before it hits them. Security+ objective 4.3 lists the term
- 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.
- playbook
- A step-by-step checklist a security team follows when handling a specific type of attack, such as ransomware. Keeping a tested playbook ready before a crisis hits ensures responders know who isolates affected servers, who preserves logs, and who notifies legal counsel. Security+ objective 4.7 lists the term
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- prompts
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- 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
- 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
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
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 The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (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
"...amazons threat intelligence team captured with decoy servers..." Found by reading the article; these exact words are in it - Who is affected: "...internet-exposed AI apps such as LiteLLM, One API, and Dify..."
Copied word for word from the article - Security+ 4.3 Explain various activities associated with vulnerability management.
"......agents' own records. The records, which Amazon's threat intelligence team captured with decoy servers, describe stolen..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......Targeting LiteLLM, Dify, and Other Apps for API Keys..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"Amazon Uncovers AI Agent Campaign Targeting LiteLLM, Dify, and Other..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Assess exploited systems’ potential to provide additional access, target development information, intelligence and/or covert infrastructure.
"...stolen keys being used to run the AI models..." 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