The Threshold Report
October 7, 2026 · story 15 of 17
AgentsSecuritySept. 18

Unit 42 shows AgentCore's default shell can expose credentials

Image: unit42.paloaltonetworks.com

Unit 42 demonstrated that a support ticket containing malicious instructions could make AWS AgentCore Harness run its default shell with full system privileges. The shell read unencrypted credentials for connected services from the memory of the software running the agent, despite their storage in an encrypted vault. Unit 42 disclosed the finding before publication; AWS reviewed it and closed it as informative, citing customers' responsibility for tool restrictions and outbound-traffic filtering. Operators can reduce exposure by disabling unnecessary tools, limiting service-account permissions, and controlling traffic leaving the system.

PositiveUnit 42 disclosed a prompt-injection test that exposed AgentCore credentials, showing defenders why its default shell needs tighter restrictions.

Every agents story →