A Vault with a Heap-View: The Uncomfortable Space Between AgentCore Harness and Identity
Researchers found that default settings in a cloud agent platform let attackers use prompt injection to steal credentials from its identity vault.
Overview
Researchers from Unit 42 found a security gap in the AWS AgentCore HarnessA small wrapper program written to feed test inputs into a software library and watch for crashes that allows attackers to steal credentialsThe login details, such as a username and password or key, that prove who an account belongs to. The issue occurs when the system's default settings let a built-in shellThe command-line interpreter program that accepts text commands and runs them on an operating system tool access the same memory space where encrypted secrets are turned into readable text. This happens because the harness uses a recommended identity vault to store keysThe secret value that locks or opens a message for connecting to other services. An attacker can use a technique called prompt injectionHiding instructions inside text or data so an AI model ignores its rules and obeys the attacker to trick the AI agent into using that shell tool. The researchers then used the tool to copy the readable credentials before they were sent to the next service. AWS reviewed the report and closed it as informative, stating that customers must use specific settings to prevent this access.
Terms in this story
- Harness
- A small wrapper program written to feed test inputs into a software library and watch for crashes. Security researchers write a test harness around a file parser or network library so a fuzzing tool can feed it millions of mutated inputs per hour.
- 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
- shell
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- key
- 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)
- prompt injection
- Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
- 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.
- 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.
- exfiltrate
- The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 lists the term
- plaintext
- The readable message before it is protected. Breach reports note when a company stores passwords or customer records in plaintext, meaning anyone who breaks into the database can read them immediately without a key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- Model Context Protocol
- An open standard for connecting AI assistants to external data sources, files, and software tools. Software teams use the Model Context Protocol so an AI coding tool or chatbot can query databases and run local commands, which makes securing those tool connections a major concern.
- server
- 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.
- encryption
- Scrambling readable data with a mathematical key so only someone with the right key can read it. Online services use encryption to protect credit card numbers in transit, while ransomware gangs use the same math to lock a company's files until a ransom is paid. Security+ objective 1.4 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.
- Kind of story: Research and reports
"Unit 42 researchers have identified an issue..." Found by reading the article; these exact words are in it - Who is affected: "AWS AgentCore Identity..."
Copied word for word from the article - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......The Uncomfortable Space Between AgentCore Harness and Identity..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"......default configurations in AWS AgentCore Harness allow prompt injection to exfiltrate credentials, and key steps to..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Identify and leverage the enterprise-wide security services while designing and developing secure applications (e.g., Enterprise PKI, Federated Identity server, Enterprise AV solution) when appropriate.
"AWS AgentCore Identity provides encryption at rest..." 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