Skip to content
AI / LLM Write-up Advanced

How Prompt Injection Exposes Manus' VS Code Server to the Internet

Manus, an autonomous agent, could be tricked via indirect prompt injection into exposing its internal VS Code Server to the internet and sharing the URL and password with an attacker. This allowed the attacker to compromise the agent's development box.

embracethered.com

Published on embracethered.com

Today we will cover a powerful, easy to use, autonomous agent called Manus. Manus is developed by the Chinese startup Butterfly Effect, headquartered in Singapore.

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 trusted and acted on instructions embedded in untrusted content it processed, without separating them from its own task or restricting what it could expose.

Impact

An attacker could gain access to the agent's development box, potentially reading or changing anything on it.

What the attacker needed

Attacker-controlled content the agent reads; agent has a dev box with VS Code Server

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 can browse the web and run commands on a computer for you. Prompt injection means hiding instructions in content the agent reads, so it follows the attacker's wishes instead of yours. Here the agent was made to open a remote code editor to the public internet and hand over its login details, giving the attacker control of that machine.

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.