Cybersecurity news

Jessica Doner

Back to the list

One Prompt Could Hijack AWS AI Agents and Steal Cloud Credentials

Cyber Security News,

A single prompt could expose AI agents in the same account, granting access to private chats, code, and cloud credentials.

AI and security

Overview

Researchers at Zenity Labs discovered that a single promptThe text instruction or question a user or program sends to an artificial intelligence model could hijack AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own running on Amazon Bedrock AgentCore. This attack allowed access to private chats, source codeThe human-readable programming instructions written by developers before they are compiled into a runnable program, and sensitive credentialsThe login details, such as a username and password or key, that prove who an account belongs to within the same AWS account and region. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend worked because the AI agents could be instructed to contact a local metadataInformation that describes a file or message, such as when it was made, who sent it, or where endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network that provides temporary cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage. Since the request came from inside the agent's isolated environment, the system granted access to a wide range of resources. This exposed data included API keysA secret string a program sends with an API request to identify itself and get access, OAuth tokensA short-lived digital pass that a server gives a logged-in user or app, and secrets stored in AWS Secrets Manager. The issue affected organizations using these AI agents because the default permissions were not limited to a single agent.

Terms in this story

Prompt
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.
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.
source code
The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
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
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
metadata
Information that describes a file or message, such as when it was made, who sent it, or where. Even when the body of a message is encrypted, network metadata reveals who talked to whom and when, and document metadata in a leaked PDF can accidentally name its author. Security+ objective 4.9 lists the term
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.
Cloud Credentials
Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
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)
OAuth 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

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 Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security 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.

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

Same story at other outlets

Related