Researchers spent $500 to test Devin: from GitHub issue prompt injection to remote code execution
I Spent $500 To Test Devin AI For Prompt Injection So That You Don't Have To
Security researcher Johann Rehberger spent $500 to purchase 30 days of Devin access, demonstrating an indirect prompt injection attack against Cognition's AI software engineer Devin. An attacker only needs to plant instructions in a GitHub issue or website, luring Devin to leave GitHub and visit an attacker-controlled page; Devin then clicks a link to download a malicious binary, and after encountering permission denial, adds execution permission itself and runs it, ultimately obtaining a remote shell through Bishop Fox's Sliver C2 server, achieving full compromise of Devin's DevBox.
The author self-funded testing of Devin's indirect prompt injection chain, from GitHub issue to remote code execution, and provides vendor disclosure timeline and mitigation recommendations.