AI Agents Exposed as Credential Theft and Prompt Injection Risk
Emerging Technology Risk · 9 sources · Updated 3mo ago · First seen Jul 27, 2026

Security researchers and vendors warned that autonomous AI agents can be manipulated into leaking secrets and misusing privileged access, turning them into a new pathway for credential theft and system compromise. Reporting from SC Media cited Okta Threat Intelligence research showing agents on the OpenClaw platform could be socially engineered or prompt-injected into exposing passwords, API keys, GitHub tokens, and OAuth refresh tokens, while other analysis described a confused deputy problem in which malicious text embedded in files, logs, web pages, or instruction files causes agents to execute higher-trust actions with their legitimate permissions. The risk is amplified when agents can read local files, edit code, run commands, fetch remote content, and access external tools or MCP servers without strong separation between trusted instructions and untrusted data.
Defenders are responding with controls aimed at limiting agent authority and reducing secret exposure. Help Net Security reported on Nono, an open-source sandbox that constrains AI coding agents at the kernel level using mechanisms such as Landlock on Linux and Seatbelt on macOS, while introducing scoped tool permissions and proxy-mediated "phantom credentials" so agents do not directly handle live secrets. The broader guidance aligns with established ATT&CK techniques including T1552 Unsecured Credentials and T1546 Event Triggered Execution, emphasizing least privilege, centralized identity governance, short-lived credentials, secure secret storage, logging, rapid revocation, provenance checks, input isolation, and human approval to prevent agents from becoming a bridge to sensitive systems and cloud resources.


