A Vault with a Heap-View: The Uncomfortable Space Between AgentCore Harness and Identity
Unit 42 researchers discovered a significant security vulnerability in AWS AgentCore Harness, a managed runtime for AI agents. Due to a default configuration, the built-in shell tool runs as root, allowing attackers to execute arbitrary commands and access sensitive data, even without misconfiguration. This vulnerability stems from the agent harness's ability to use programmatic tool use, which allows the model to write scripts and execute them directly within the runtime environment. The research demonstrated how a simple prompt injection attack could be leveraged to gain root access and exfiltrate data, highlighting a critical security gap in the agent runtime's design. AWS has acknowledged the issue and closed the report as informative under their shared responsibility model.
Summary written automatically in our own words from the original article, which belongs to its publisher and remains the reference. It may contain errors. Sources & data
