Skip to content
MediumNewsLLM-specific

New Attacks Trick OpenClaw AI Agent Into Running Code and Leaking Secrets

Published
Record updated
View JSON

Summary

Imperva and Varonis separately showed that OpenClaw, a self-hosted AI agent, can be manipulated through ordinary inputs. Imperva hid instructions in shared contact names, vCard full-name fields and location labels that the agent passed to the model without marking them as untrusted, leading it to download and run a script from a server the researchers controlled. Varonis showed that a plain email impersonating a team lead got its test agent, Pinchy, to forward mock AWS keys, database connection strings and SSH credentials to an outside address.

Mitigation

Fixed in OpenClaw 2026.4.23, which moves contact names, vCard fields and location labels out of the prompt body into a separate untrusted-metadata channel. The Varonis phishing weakness is not fixed by a patch; the source says it comes down to limiting what the agent can do on its own.