Skip to content
AI / LLM Write-up Advanced

ZombAI Exploit with OpenHands: Prompt Injection To Remote Code Execution

OpenHands, an LLM-powered coding agent, is vulnerable to prompt injection from untrusted data such as a website, allowing an attacker to hijack the agent and compromise the system's confidentiality, integrity and availability.

embracethered.com

Published on embracethered.com

Today we have another post about OpenHands from All Hands AI. It is a popular agent, initially named “OpenDevin”, and recently the company also provides a cloud-based service.

The author, on embracethered.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the agent treats untrusted content it reads, such as a website, as instructions without separating it from the user's own commands.

Impact

An attacker could hijack the agent and compromise the confidentiality, integrity and availability of the system.

What the attacker needed

Agent reads attacker-controlled content

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

An AI agent is a program that uses a large language model to take actions, such as running commands or editing files. Prompt injection means sneaking instructions into content the agent reads, so it follows the attacker's instructions instead of the user's. Here the agent could be tricked into doing harmful things on the machine it runs on.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.