OpenClaw AI Agent Tricked Into Leaking Secrets and Running Malicious Code
Emerging Technology Risk · 6 sources · Updated 4mo ago · First seen Jun 9, 2026

Researchers reported that the self-hosted OpenClaw AI agent can be manipulated through both phishing-style social engineering and prompt-injection-style inputs to expose sensitive data and perform attacker-directed actions. In Varonis Threat Labs simulations, an OpenClaw email agent connected to Gmail, browser tools, Google Workspace APIs, and internal data sources forwarded mock AWS IAM keys, database credentials, SSH details, and a synthetic customer export after receiving urgent or routine-looking messages impersonating trusted colleagues. The tests found the agent was better at spotting technical phishing indicators such as fake login pages, malicious links, and suspicious OAuth prompts than at verifying sender identity and resisting social pressure, and showed stricter phishing-aware settings still failed in some scenarios.
Separate research from Imperva found hidden instructions embedded in shared contacts, vCards, and location pins were flattened into prompt text without being labeled untrusted, allowing the model in testing to download and execute a researcher-controlled script. OpenClaw reportedly patched that issue in version 2026.4.23, and researchers also cited patched allowlist-bypass flaws in multiple messaging extensions. Across the findings, the common risk was agents that can read private data, ingest untrusted content, and send information outward; recommended mitigations included updating OpenClaw, restricting connector and outbound communication access, enforcing policy controls, and requiring human approval for high-risk actions.


