Skip to content
AI / LLM Write-up Intermediate

I Spent $500 To Test Devin AI For Prompt Injection So That You Don't Have To

Devin AI could be tricked by instructions planted on a website or GitHub issue it processes, causing it to download and run malware. This gave an attacker full control of Devin's DevBox and access to any exposed secrets.

embracethered.com

Published on embracethered.com

Today we cover Devin AI from Cognition, the first AI Software Engineer.

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

Impact

Full compromise of Devin's DevBox, turning it into a remote-controlled agent, and any exposed secrets could be used for lateral movement or other post-exploitation.

What the attacker needed

Devin processes 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.

Devin is an AI assistant that reads web pages and GitHub issues to do coding work. If a bad person hides instructions in one of those pages, Devin may follow them as if they were its own task. Here that meant Devin downloaded and ran malicious software, giving the attacker control of 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.