TIL about a VSCode vulnerability involving auto-run tasks inside a repo. That got me thinking: could I use this to re-program a developer's AI agents and get them to do what I want? Even worse — could I do this to all a developer’s code repositories? Turns out: hell yes. ike.io/open-a-folde...
Post
ike.ioExploit Cursor Agents to create persistent, distributed threatsSimply opening a folder can give an attacker a foothold into all the code bases a developer maintains.
I had a lot of fun with this. I learned a cool shell redirect trick for appending to a file *only* if it exists, I learned how helpfully AI agents hold doors open for you when you’re carrying a large bag of contraband, and I learned about obfuscating commands in JSON arg arrays.
0 reposts0 likes
PoC here — and remember! The days of running code from the internet on your machine are like over over github.com/ike/cursor-t...
github.comGitHub - ike/cursor-task-hijack at ike.ioPoC demonstrating Cursor's vulnerability to tasks.json hijacking. - GitHub - ike/cursor-task-hijack at ike.io
the types.json file is being actively exploited in the wild: runjak.codes/posts/2026-0...
runjak.codesrunjak.codes: An adversarial coding testSometimes the job interview just wants to gain code exec on your machine.