Skip to content
Unit 42· Niv Rabin·Indexed by this site · Originally published· Attacks →SelectedAttention39

Unit 42 discloses that in AWS AgentCore Harness default configuration, credentials can be stolen via prompt injection

A Vault with a Heap-View: The Uncomfortable Space Between AgentCore Harness and Identity

AI summary

Unit 42 found that the built-in shell tool enabled by default in AWS AgentCore Harness runs as root and shares a process with the runtime that parses credentials. An attacker can use indirect prompt injection to read /proc/1/mem and extract plaintext JWTs stored by AgentCore Identity from heap memory.

Why it was selected

The original source fully reconstructs the chain from indirect prompt injection to reading process memory, exfiltrating JWT, and replaying it to obtain PII. Teams deploying the Agent runtime can use this to check whether the shell tool and credential parsing reside in the same process.

Read originalunit42.paloaltonetworks.com