Hacker News new | ask | show | jobs
Code Execution Through Deception: Gemini AI CLI Hijack (tracebit.com)
11 points by uponasmile 321 days ago
1 comments

Very impressive PoC. The exploit, meanwhile... Seriously? `grep; rm -rf ~` is parsed as `grep` followed by a bunch of stuff, so just ask the user if `grep` is allowed and execute it? Was their permission system vibe coded? Gross incompetence from whoever was responsible for allowing that into the code base.